ikolesov / kslice

interactive medical image processing
1 stars 1 forks source link

input data type is not handled correctly #9

Open pkarasev3 opened 11 years ago

pkarasev3 commented 11 years ago

if the input is char/uchar, crash with read error

if it is wrong signed-ness short or float32, double64, weird obscure things happen with no warning.

ikolesov commented 11 years ago

solution is a switch , case statement listing possibilities