-
Hi, I'd like to register two 2D RGB images (16-bit unsigned int, in TIFF format). This doesn't seem to work out of the box. I tried extracting the red channel and registering those, but the 2D 16-bit pixel type doesn't seem to be available. I also tried converting the RGB image to a 3-layered TIFF image and that seems to work in that it performs the registration, but also in the through-stack dimension. Is it possible to constrain the transform to 2D? Or is there a different approach that I might be missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi Peter! Thanks for your question! Do you use the elastix executable or the library interface? Or one of the Python wrappers, SimpleElastix, SimpleITK, or ITKElastix? |
Beta Was this translation helpful? Give feedback.
OK, so then can you possibly try "float" as internal pixel type, for your 2D 16-bit unsigned images? In your parameter txt files, as follows:
Internally, elastix will then convert your pixel data to 32-bit float, but it should still work fine. At least, it should!