You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a NIfTI image volume which values range from -1 to 2. When I convert to DICOM I get a binary image where only the values above 1 are kept. Thus, all the negative and values less than 1 are cropped to be 0. Why is that? How can I store negative values as well?
EDIT: that actually seems to be a problem of not being able to store floating point values, the image is saved as UNSIGNED INT. How can I store floating point values? The rescale option (-r) does not do the job.
The text was updated successfully, but these errors were encountered:
devDonnn
changed the title
Storing negative values
Storing floating point values
Jun 13, 2023
Hi,
I have a NIfTI image volume which values range from -1 to 2. When I convert to DICOM I get a binary image where only the values above 1 are kept. Thus, all the negative and values less than 1 are cropped to be 0. Why is that? How can I store negative values as well?
EDIT: that actually seems to be a problem of not being able to store floating point values, the image is saved as UNSIGNED INT. How can I store floating point values? The rescale option (-r) does not do the job.
The text was updated successfully, but these errors were encountered: