[MINC-users] Display and color mapping of floats

Jared Rowley jared.rowley at gmail.com
Wed May 22 16:37:51 EDT 2013


Hi,
I have encountered this problem will using images between 0-1 in register.
 I solve it by converting to short.

mincresape -short in.mnc out.mnc

See if that helps.

Jared


On Wed, May 22, 2013 at 4:19 PM, Soren Christensen <sorench at gmail.com>wrote:

> Hi,
>  I've noticed that float images with range 0-1 appear "binary" in Display.
> I have an object with values 0-1 but it appears 0-<1.0 is mapped to black
> and >=1.00 as white.
> I can see with the cursor that the pixel values of 0.77 for example are
> just mapped to black. The mapping on the color bar is set to 0-1 of course.
> If I multiply the values with 1000 I can see the intermediate values.
>
> This seems like unintended behavior?  Is there something special going on
> with color mapping in Display in the range 0-1?
>
> Soren
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>



-- 
Jared Rowley
Translational Neuroimaging Laboratory
McGill Centre for Studies in Aging
Douglas Hospital Research Center
McGill University
6825 LaSalle Blvd.
Montreal, QC Canada
H4H 1R3


More information about the MINC-users mailing list