BIC-MNI / minc-tools

Basic minc-tools from former minc repository
Other
30 stars 25 forks source link

mincreshape can't do non-integer slice steps #48

Closed gdevenyi closed 8 years ago

gdevenyi commented 8 years ago

Slices steps for -dimsize are attempted to be parsed as integers, so you can never use non-integer slicing

https://github.com/BIC-MNI/minc-tools/blob/master/progs/mincreshape/mincreshape.c#L601-L609

vfonov commented 8 years ago

dimsize supposed to represent number of slices in the given dimension. How can you have non-integer number of slices?

gdevenyi commented 8 years ago

Oops, seems I completely misinterpreted the parameter. Sorry for the noise.