hi_mpi_vpc_get_affine_transform
The
The
Description
Obtains the matrix required for affine transformation.
Prototype
hi_s32 hi_mpi_vpc_get_affine_transform(hi_point_pair_info *point_pair_info, hi_transform_matrix *matrix)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
point_pair_info |
Input |
Three pairs of pixel coordinates in the input and output images. Each pair contains pixel coordinates of an input image and an output image, respectively. |
matrix |
Output |
Matrix required for affine transformation. |
Returns
- 0: success
- Other values: failure (VPC Return Codes)
Parent topic: VPC