Foundation > Image Processing Filters > IlvBitmapFilter: The Image Processing Class > The IlvDisplaceFilter Class
 
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.

Version 6.0
Copyright © 2015, Rogue Wave Software, Inc. All Rights Reserved.