[MINC-development] MINC2 file with floating-point voxels and slice normalization

John G. Sled jgsled at phenogenomics.ca
Fri Jan 18 10:46:32 EST 2013


Since we are voting ... I vote for keeping Peter's design where the 
slice min / max is maintained for informational purposes when the 
underlying data type is float.  This allows visualization tools to make 
a sensible initial choice for the window and level.

John



On 13-01-17 8:31 PM, Andrew Janke wrote:
> Peter wrote:
>> Remember that in the original design of minc, there were
>> only real numbers (conceptually) - storing as bytes or shorts has always
>> just been a representational trick for fixed point. The real values are
>> rescaled to fit in the integer range, potentially on a slice-by-slice basis,
>> preserving the scaling info in the image max/min. Floating-point
>> representations do not need any rescaling to fit, so none is done.
> Thanks for the info Peter.
>
>>> to float/double using MINC tools the slice max/mins are discarded.
>> In the float/double case the slice max/mins are preserved for informational
>> purposes (it is not necessary to read the whole image to know the range).
> OK, good to know. Vlad, I vote that we discard this information on
> conversion to float/double in MINC2/minc_lite. I'm not sure if still
> having this information around was the reason why scaling was
> implemented in MINC2 but it might have contributed.
>
> I see no reason to keep it and add to any confusion.
>
> ta
>
>
> a
> _______________________________________________
> MINC-development mailing list
> MINC-development at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-development



More information about the MINC-development mailing list