gen_bundle_adjusted_mosaic — Combine multiple images into a mosaic image.
gen_bundle_adjusted_mosaic combines the input images contained in the object Images into a mosaic image MosaicImage. The relative positions of the images are defined by 3x3 projective transformation matrices. The array HomMatrices2D contains a sequence of these linearized matrices. The transformation matrices can be computed with bundle_adjust_mosaic.
The origin of MosaicImage and its size are automatically chosen so that all of the input images are completely visible.
The order in which the images are added to the mosaic is given by the array StackingOrder. The first index in this array will end up at the bottom of the image stack while the last one will be on top. If 'default' is given instead of an array of integers, the canonical order (images in the order used in Images) will be used.
The parameter TransformDomain can be used to determine whether the domains of Images are also transformed. Since the transformation of the domains costs runtime, this parameter should be used to specify whether this is desired or not. If TransformDomain is set to 'false' the domain of the input images is ignored and the complete images are transformed.
On output, the parameter TransMat2D contains a 3x3 projective transformation matrix that describes the translation that was necessary to transform all images completely into the output image.
Array of 3x3 projective transformation matrices.
Stacking order of the images in the mosaic.
Default value: 'default'
Suggested values: 'default'
Should the domains of the input images also be transformed?
Default value: 'false'
List of values: 'false', 'true'
3x3 projective transformation matrix that describes the translation that was necessary to transform all images completely into the output image.
projective_trans_image, projective_trans_image_size, projective_trans_region, projective_trans_contour_xld, projective_trans_point_2d, projective_trans_pixel
Richard Hartley, Andrew Zisserman: “Multiple View Geometry in
Computer Vision”; Cambridge University Press, Cambridge; 2000.
Olivier Faugeras, Quang-Tuan Luong: “The Geometry of Multiple Images: The Laws That Govern the Formation of Multiple Images of a Scene and Some of Their Applications”; MIT Press, Cambridge, MA; 2001.