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

Andrew Janke a.janke at gmail.com
Wed Jan 23 01:12:17 EST 2013


Thanks Bert.

So from all that has been said. I'll now re-iterate that I think we
should dump slice scaling in float/double volumes. The viewing min/max
functionality should be handled using the file min/max. Yes I know
this *might* break a few edge cases of functional(time) data in which
each slice is scaled differently. Still I won't loose much sleep
breaking this as it will only work in one dimension in any case.

As mentioned I can't see in the code where Register/Display or postf
or any other viewer that I know of reads this slice scaling. the valid
range yes, but that's different.


a


On 22 January 2013 07:12, Robert VINCENT <bert at bic.mni.mcgill.ca> wrote:
> Hi all,
>
> My recollection is pretty dim at this point, but I think we probably assumed
> that the image min and max could be used to scale even fp voxels, even if it
> didn't really make sense. It's not like fp normalization is completely
> unheard-of.
>
> FWIW, NIfTI-1 defined per-image scaling of fp voxels, although it was
> clearly not the recommended usage. I probably found it hard to believe
> NIfTI-1 would be more general than MINC in any area...
>
>     -bert
>
>
> On Mon, 21 Jan 2013, Vladimir S. FONOV wrote:
>
>> Hell Everybody,
>>
>> On 2013-01-21, at 10:28 AM, "John G. Sled" <jgsled at phenogenomics.ca>
>> wrote:
>>>
>>> Vlad's question of whether to dispense with slice scaling entirely is
>>> worth further discussion.
>>
>>
>>
>> I never said that we need to dispose of slice-scaling in case of storing
>> floating-point values in integer volume. I said that we need to dispose of
>> per-slice min-max information in case of floating-point volume, since it is
>> useless  and confusing.  At least it was confusing enough for the MINC2 api
>> authors to misinterpret.
>> ---
>> Best regards,
>>
>> Vladimir S. FONOV ~ v.s.fonov <at> ilmarin.info
>>
>>
>>
>>
>>
>> _______________________________________________
>> MINC-development mailing list
>> MINC-development at bic.mni.mcgill.ca
>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-development
>>
> _______________________________________________
> 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