| image = | elasticWarp2dImg (inImg,inDxImg,inDyImg) |
| image = | elasticWarp2dImg (inImg,inDxImg,inDyImg,interpolationPolicy) |
| image = | elasticWarp2dImg (inImg,inFlowImg) |
| image = | elasticWarp2dImg (inImg,inFlowImg,interpolationPolicy) |
Apply a generic motion field to an image.
This algorithm transforms the input image according to the input motion field. Hence, the supported displacement is totally generic and is not limited to a rigid or an affine transform. The motion field contains the displacement at each pixel of the input image and can be passed as 2 distinct images or as a two-framed sequence image. In the case of a sequence image, the first frame is the displacement along the x direction and the second frame is the displacement along the y direction.
The motion field is expressed as:
Here is an example of deformation: