Ask Your Question

Revision history [back]

Mesh Warp pixel remap

What capabilities does OpenCV have for a 'Mesh Warp' pixel remap where pixels of 2D image can be remapped to different locations based on an array of mapping control points? I've seen and used the remap function but if I understand it correctly, its map matrix specifies the location of every pixel. As an example, Id like to remap an image based on, say, a 3x4 matrix of mapping control points and all pixels in between would be remapped based on an interpolation algorithm (linear or preferably a higher order interpolation algorithm). I don't need to remap colors or intensity - just pixel locations.