[MINC-users] default slice min/max in mincreshape?

Andrew Janke a.janke at gmail.com
Fri Jun 1 01:02:27 EDT 2012


Hi Alex,

On 1 June 2012 13:51, Alex Zijdenbos <zijdenbos at gmail.com> wrote:
> It's easy to fix by adding -normalize to the mincreshape call; but the
> question I have is: why is the image-max for added, empty slices set
> to 1 (instead of 0 for example)? It seems to me that this may cause
> trouble for all volumes with real values much smaller than 1.

My bet for this one is definitely on a rounding error given you
combination of a very (very) small range and a byte datatype. I'd be
curious to know if the same thing happens if you first convert the
volume to float.


a


More information about the MINC-users mailing list