[MINC-users] Scaling troubles solved

James Dessart minc-users@bic.mni.mcgill.ca
Fri, 16 May 2003 11:59:50 -0400


I decided to fiddle a little with the variables, and the like... I 
moved some dim conversion assignments until after other ICV 
assignments, put MI_ICV_VALID_MAX before MI_ICV_VALID_MIN, and turned 
normalization on, and the streaks are gone.  If I turn it off, the 
streaks come back.

What seems to be happening is that when I have normalization off, the 
values are stretched to fit the byte range (the values are supposed to 
be shorts from 0 to 4095, but they go from 0 to 256).  As a result, 
some slices were getting their intensities scaled.  But when I do 
normalization (without setting the user normalization) it works.

I'd like to understand this more completely, but the documentation 
doesn't help too too much.  Anyone with some insight?

Thanks for your help,
James Dessart
Rogue Research Inc.