Request for Assistance with Saving Results in Floating Point Format

40 views
Skip to first unread message

Mohammad Javad Shojaei

unread,
Apr 24, 2023, 5:33:03 PM4/24/23
to elastix-imageregistration
Hello everyone,

I performed rigid registration with just rotation and translation. However, when saving the results of the image registration, the pixel values were rounded off to integers. I would like the pixel values to be in floating point format instead of integers. For example, I would like the pixel value 4.25 to remain as 4.25 instead of being rounded to 4. Can anyone help me with the comment line that I need to add to achieve this? Below are my current command lines for writing the results. I would appreciate any suggestions on how to modify them.


// The pixel type and format of the resulting deformed moving image
//(ResultImagePixelType "short")
(ResultImageFormat "tif")
(CompressResultImage "false")
//(ShowExactMetricValue "true")

Best wishes,
Javad
Reply all
Reply to author
Forward
0 new messages