[MINC-users] multi-input output type/range
Andrew Janke
a.janke at gmail.com
Tue Nov 20 01:39:04 EST 2012
> What would be happening is something like this:
>
> minccalc -expression "abs(A[0] - 2) < 0.5 ? A[1] : 0" <cls.mnc>
> <in.mnc> <masked.mnc>
>
> where <cls.mnc> happened to be "unsigned byte 0 4"; now resulting in
> <masked.mnc> quantized to 5 values.
Hrm, well the range bit could probably be changed but again it's hard
to think of a way where we can handle all possibilities.
So what's the default? the full range of the type? I can see this
breaking when I use minccalc on label volumes with restricted ranges
that I depend upon.
I am curious to know what happens (But haven't checked) if in the
above case you add a -byte option. Does this reset the range?
a
More information about the MINC-users
mailing list