Name
projective_trans_pixelT_projective_trans_pixelProjectiveTransPixelprojective_trans_pixelProjectiveTransPixelProjectiveTransPixel — Project pixel coordinates using a homogeneous projective
transformation matrix.
void ProjectiveTransPixel(const HTuple& HomMat2D, const HTuple& Row, const HTuple& Col, HTuple* RowTrans, HTuple* ColTrans)
void HHomMat2D::ProjectiveTransPixel(const HTuple& Row, const HTuple& Col, HTuple* RowTrans, HTuple* ColTrans) const
void HHomMat2D::ProjectiveTransPixel(double Row, double Col, double* RowTrans, double* ColTrans) const
static void HOperatorSet.ProjectiveTransPixel(HTuple homMat2D, HTuple row, HTuple col, out HTuple rowTrans, out HTuple colTrans)
void HHomMat2D.ProjectiveTransPixel(HTuple row, HTuple col, out HTuple rowTrans, out HTuple colTrans)
void HHomMat2D.ProjectiveTransPixel(double row, double col, out double rowTrans, out double colTrans)
projective_trans_pixelprojective_trans_pixelProjectiveTransPixelprojective_trans_pixelProjectiveTransPixelProjectiveTransPixel applies the homogeneous projective
transformation matrix HomMat2DHomMat2DHomMat2DHomMat2DHomMat2DhomMat2D to all input pixels
(RowRowRowRowRowrow,ColColColColColcol) and returns an array of output pixels
(RowTransRowTransRowTransRowTransRowTransrowTrans,ColTransColTransColTransColTransColTranscolTrans). The transformation is
described by the homogeneous transformation matrix given in
HomMat2DHomMat2DHomMat2DHomMat2DHomMat2DhomMat2D.
The difference between projective_trans_pixelprojective_trans_pixelProjectiveTransPixelprojective_trans_pixelProjectiveTransPixelProjectiveTransPixel and
projective_trans_point_2dprojective_trans_point_2dProjectiveTransPoint2dprojective_trans_point_2dProjectiveTransPoint2dProjectiveTransPoint2d lies in the used coordinate
system: projective_trans_pixelprojective_trans_pixelProjectiveTransPixelprojective_trans_pixelProjectiveTransPixelProjectiveTransPixel uses a coordinate system with
origin in the upper left corner of the image, while
projective_trans_point_2dprojective_trans_point_2dProjectiveTransPoint2dprojective_trans_point_2dProjectiveTransPoint2dProjectiveTransPoint2d uses the standard image coordinate
system, whose origin lies in the middle of the upper left pixel and
which is also used by operators like area_centerarea_centerAreaCenterarea_centerAreaCenterAreaCenter.
projective_trans_pixelprojective_trans_pixelProjectiveTransPixelprojective_trans_pixelProjectiveTransPixelProjectiveTransPixel corresponds to the following steps
(input and output points as homogeneous vectors):
/ RTrans \ / 1 0 -0.5 \ / 1 0 +0.5 \ / Row \
| CTrans | = | 0 1 -0.5 | * HomMat2D * | 0 1 +0.5 | * | Col |
\ WTrans / \ 0 0 1 / \ 0 0 1 / \ 1 /
( RowTrans, ColTrans ) = ( RTrans/WTrans, CTrans/WTrans )
If a point at infinity (WTrans = 0) is created by the
transformation, an error is returned.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Homogeneous projective transformation matrix.
RowRowRowRowRowrow (input_control) point.x(-array) → HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)
Input pixel(s) (row coordinate).
Default value: 64
Suggested values: 0, 16, 32, 64, 128, 256, 512, 1024
ColColColColColcol (input_control) point.y(-array) → HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)
Input pixel(s) (column coordinate).
Default value: 64
Suggested values: 0, 16, 32, 64, 128, 256, 512, 1024
Output pixel(s) (row coordinate).
Output pixel(s) (column coordinate).
vector_to_proj_hom_mat2dvector_to_proj_hom_mat2dVectorToProjHomMat2dvector_to_proj_hom_mat2dVectorToProjHomMat2dVectorToProjHomMat2d,
hom_vector_to_proj_hom_mat2dhom_vector_to_proj_hom_mat2dHomVectorToProjHomMat2dhom_vector_to_proj_hom_mat2dHomVectorToProjHomMat2dHomVectorToProjHomMat2d,
proj_match_points_ransacproj_match_points_ransacProjMatchPointsRansacproj_match_points_ransacProjMatchPointsRansacProjMatchPointsRansac,
proj_match_points_ransac_guidedproj_match_points_ransac_guidedProjMatchPointsRansacGuidedproj_match_points_ransac_guidedProjMatchPointsRansacGuidedProjMatchPointsRansacGuided,
hom_mat3d_projecthom_mat3d_projectHomMat3dProjecthom_mat3d_projectHomMat3dProjectHomMat3dProject
projective_trans_imageprojective_trans_imageProjectiveTransImageprojective_trans_imageProjectiveTransImageProjectiveTransImage,
projective_trans_image_sizeprojective_trans_image_sizeProjectiveTransImageSizeprojective_trans_image_sizeProjectiveTransImageSizeProjectiveTransImageSize,
projective_trans_regionprojective_trans_regionProjectiveTransRegionprojective_trans_regionProjectiveTransRegionProjectiveTransRegion,
projective_trans_contour_xldprojective_trans_contour_xldProjectiveTransContourXldprojective_trans_contour_xldProjectiveTransContourXldProjectiveTransContourXld,
projective_trans_point_2dprojective_trans_point_2dProjectiveTransPoint2dprojective_trans_point_2dProjectiveTransPoint2dProjectiveTransPoint2d
Foundation