BIC-MNI / minc-tools

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

Mincreshape normalize and fill #50

Open gdevenyi opened 8 years ago

gdevenyi commented 8 years ago

From Alex z on list Hello all,

The -normalize option ("Normalize images to real minimum and maximum for the entire input file") appears to disregard the fill value (if provided). For example, if volume in.mnc has a range [5,100], this call:

mincreshape [-start ... ] -normalize -fillvalue 0 in.mnc out.mnc

actually fills with 5, not 0. I would consider that a bug, and say that -normalize should include any out-of-current-range fill values in the final range of the volume. Or?