[MINC-users] Display and color mapping of floats

Soren Christensen sorench at gmail.com
Wed May 22 19:25:13 EDT 2013


Hi Jared,
 I was just about to write I wold not expect that to work (it did)...
The the real range is still 0-1 but not stored over the full range of a
short and the color mapping works. It seems there's an issue with
converting 0-1 floats to the internal display byte type storage.

Thanks
Soren


On Wed, May 22, 2013 at 1:37 PM, Jared Rowley <jared.rowley at gmail.com>wrote:

> 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
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list