How to do image warping with intensity conservation?
Mon, 03/23/2020 - 11:27 am
for image warping Igor brings a nice example that warps an example image using a source and destination mesh definition.
(Linked at the end of the ImageInterpolate help)
I would like to implement the same with the modification that the intensity in the image is conserved on a per pixel basis.
So whenever the warping doubles a source pixel I want to half the intensity in both destination pixels and whenever several source pixels contribute to a destination pixel the intensity is added up.
A solution would be to reimplement the warping algorithm and extract the relevant pixel mapping information, which would allow to modify the pixel intensity in the destination image accordingly.
Though, I was wondering if there is a way to do that more conveniently in Igor?
Igor Pro 8
Igor XOP Toolkit
Igor NIDAQ Tools MX