Apply a projective transformation to an image and specify the output image size.
projective_trans_image_size applies the projective transformation (homography) determined by the homogeneous transformation matrix HomMat2D on the input image Image and stores the result into the output image TransImage.
TransImage will be clipped at the output dimensions HeightxWidth. Apart from this, projective_trans_image_size is identical to its alternative version projective_trans_image.
|
Image (input_object) |
(multichannel-)image(-array) -> object : byte / uint2 / real |
| Input image. | |
|
TransImage (output_object) |
(multichannel-)image(-array) -> object : byte / uint2 / real |
| Output image. | |
|
HomMat2D (input_control) |
hom_mat2d-array -> real |
| Homogeneous projective transformation matrix. | |
|
Interpolation (input_control) |
string -> string |
| Interpolation method for the transformation. | |
| Default value: 'bilinear' | |
| List of values: 'nearest_neighbor', 'bilinear' | |
|
Width (input_control) |
extent.x -> integer |
| Output image width. | |
|
Height (input_control) |
extent.y -> integer |
| Output image height. | |
|
TransformRegion (input_control) |
string -> string |
| Should the domain of the input image also be transformed? | |
| Default value: 'false' | |
| List of values: 'true', 'false' | |
projective_trans_image_size is reentrant and automatically parallelized (on tuple level, channel level).
vector_to_proj_hom_mat2d, hom_vector_to_proj_hom_mat2d, proj_match_points_ransac, hom_mat3d_project
projective_trans_image, projective_trans_contour_xld, projective_trans_region, projective_trans_point_2d, projective_trans_pixel
Foundation