The IlvDisplaceFilter Class
The IlvDisplaceFilter class lets you displace pixels from an image using pixel values of another image.
This is the transformation to be performed:
P'(x,y) <- P( x + scale * ((XC(x,y) - .5), y + scale * (YC(x,y) - .5))
where:
*P(x,y) is the input image.
*P'(x,y) is the destination.
*XC(x,y) and YC(x,y) are the component values of the displacement map. They can be chosen from any of the color components of the image map (an example is that the Red component displaces in X while the Alpha component displaces in Y.
*scale is a user-specified scaling value.
Published date: 05/24/2022
Last modified date: 02/24/2022