Approximate an affine map from a displacement vector field.
dvf_to_affin approximates an affine map from the displacement vector field VectorField.
If the displacement vector field has been computed from the original image Iorig and the second image Ires the internally stored transformation matrix (see image_transform__) contains a map that describes how to transform the second image Ires back to the original image Iorig.
VectorField (input_object) |
image -> object : dvf |
Input image. |
optical_flow1__, optical_flow2
image_getmatrix, image_setmatrix