Back to Aurora Vision Library Lite website
You are here: Start » Image » Image Spatial Transforms » JoinImages
JoinImages
Header: | AVL.h |
---|---|
Namespace: | avl |
Creates a single image by glueing together the two input images in horizontal or vertical direction.
Syntax
void avl::JoinImages ( const avl::Image& inImage1, const avl::Image& inImage2, atl::Optional<const avl::Image&> inImage3, atl::Optional<const avl::Image&> inImage4, avl::JoinDirection::Type inDirection, const int inMargin, avl::Image& outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage1 | const Image& | First input image | |||
inImage2 | const Image& | Second input image | |||
inImage3 | Optional<const Image&> | NIL | Third input image | ||
inImage4 | Optional<const Image&> | NIL | Fourth input image | ||
inDirection | JoinDirection::Type | Direction in which images are joined | |||
inMargin | const int | 0 - | 0 | Thickness (in pixels) of black frame around joined images | |
outImage | Image& | Output image |
Examples
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input images do not have compatible dimensions in JoinImages. |
DomainError | Input images do not have the same pixel format in JoinImages. |
DomainError | Unknown value of JoinDirection in JoinImages. |