SuperElastix / elastix

Official elastix repository
http://elastix.dev
Apache License 2.0
481 stars 116 forks source link

applying 2D transform on RGB image #62

Closed adizhol closed 6 years ago

adizhol commented 6 years ago

Hi,

Is there a faster way to apply a 2D transformation on an RGB image without applying it on each channel separately?

Thanks, Adi

mstaring commented 6 years ago

Hi Adizhol,

Please use the mailing list for these type of questions. We intend to use the issue tracker for issues related to programming and bugs :-) https://groups.google.com/forum/#!categories/elastix-imageregistration/elastix

transformix probably won't work correctly on an RGB image, so a per-channel operation would be the easiest workaround. Note that although it would be possible to create a small ITK program that resamples RGB images, the challenge would be to read in the elastix transformation parameters. https://itk.org/Wiki/ITK/Examples/ImageProcessing/RGBResampleImageFilter

HTH, Marius