Mohammad Javad Shojaei
unread,Apr 24, 2023, 5:33:03 PM4/24/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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