Open bsugerman opened 5 years ago
@bsugerman I am using drop2 registration for histopathology images but the outputs are deformation_field_x.nii.gz and deformation_field_y.nii.gz deformation fields which I would like to apply on the RGB png image channels to get a registered png RGB image.
Is there a quick way to apply your function on an RGB png image and the deformation field gz field above?
Thanks
If you are willing to find the warp/displacement on a grayscale version of the image, but want to apply it to all 3 layers in the color version, then here is a simple hack to warp_image():