gen_bundle_adjusted_mosaic

gen_bundle_adjusted_mosaic(Images : MosaicImage : HomMatrices2D, StackingOrder, TransformDomain : TransMat2D)

 

gen_bundle_adjusted_mosaic — Combine multiple images into a mosaic image.

gen_bundle_adjusted_mosaic : 组合多张图片到一张拼接图片中。

 

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.

gen_bundle_adjusted_mosaic 组合Images中的所有图片为一张组合图片MosaicImage。3x3的投射矩阵定义图像之间的相对位置关系。HomMatrices2D 数组中就包含这样一序列线性化的矩阵。这些矩阵可以通过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.

图集Images中的图片被添加到拼接图中的顺序通过StackingOrder进行定义。数组中的第一个序号指定的图片将在图像堆的底部,最后一个序号指向的图片将在图像堆的顶部。如果在StackingOrder中输入“default”,以Images中标准的顺序将图片添加到拼接图片中。

 StackingOrder用来设置将Images内的图片放到拼接图片上的堆叠顺序,就像将Images中的每张图按照顺序贴到拼接板上一样,先贴的图片会被后贴的挡住。

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.

参数TransformDomain 用来决定图像的域也是否进行转换。由于域的转换花费时间,这个参数应该用来具体说明是否需要此操作。如果TransformDomain 被设置成“false”,输入图片的域被忽略,完整的图片被转换。如果TransformDomain 被设置成“true”,域内的图片被转换。

 

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.

作为输出,TransMat2D 中包含了一个3x3的投射矩阵,此矩阵描述了将所有图像完全转换为输出图像所需的平移。由于所有的输入图片会根据投射矩阵进行投射,拼接起来的图像的左上角像素不一定在(0,0)像素点,这个时候需要将拼接图片左上角移动到(0,0)点,而TransMat2D则描述了这个平移。

posted @ 2022-09-21 00:01  。拾贝  阅读(188)  评论(0)    收藏  举报