Approximate an affine map from a displacement vector field.
dvf_to_hom_mat2d approximates an affine map from the displacement vector field VectorField. The affine map is returned in HomMat2D.
If the displacement vector field has been computed from the original image Iorig and the second image Ires, the internally stored transformation matrix (see affine_trans_image) contains a map that describes how to transform the first image Iorig to the second image Ires.
|
VectorField (input_object) |
singlechannelimage -> object : dvf |
| Input image. | |
|
HomMat2D (output_control) |
hom_mat2d-array -> real |
| Output transformation matrix. | |
dvf_to_hom_mat2d is reentrant and processed without parallelization.
Foundation