Skip to content

Neuroimaging Informatics Technology Initiative

Sections
Personal tools
You are here: Home
phorum - NIfTI Message Board - Re: scl_slope
NIfTI Message Board

 New Topic  |  Go to Top  |  Go to Topic  |  Search   Previous Message  |  Next Message 
 Re: scl_slope
Author: rick reynolds (---.nimh.nih.gov)
Date:   01-02-09 19:08

Hi Tom,

The NIfTI standards says, "If the scl_slope field is nonzero,
then each voxel value in the dataset should be scaled as:
y = scl_slope * x + scl_inter".

While it does not explicitly state what do to in the the case
of zero, there is only one reasonable thing (which is probably
why it wasn't written). Many fields are allowed to be zero so
that programmers can create a dataset without having to memorize
all of the documentation.

That just seems to be a small oversight from PyNifti. Nuking
the data does not seem like a good idea... :)

- rick



 Reply To This Message  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 scl_slope  
Tom Ross 01-02-09 15:11 
 Re: scl_slope  
rick reynolds 01-02-09 19:08 
 Re: scl_slope  new
Cinly OOI 01-28-09 22:52 


 New Topic  |  Go to Top  |  Go to Topic  |  Search 
 Reply To This Message
 Your Name:
 Your E-mail:
 Subject:
   
 

Powered by Plone

phorum.org

This site conforms to the following standards: