Image Concatenate
This function block merges multiple images into a single image by placing them side-by-side (horizontal) or one after another (vertical). It automatically aligns images by adding borders when input images have different dimensions so you get a clean, single output image.
π₯ Inputs
Image ListInput socket that accepts one or more images to be concatenated (multiple images supported).
π€ Outputs
ImageOutput socket that provides the concatenated image.
πΉοΈ Controls
RelationDropdown to choose the concatenation direction.Choose between HORIZONTAL or VERTICAL arrangement.
π― Key Features
Automatic alignment: when input images differ in width or height, the block adds borders to match sizes so images align correctly.
Supports multiple inputs: feed a list of images and the block will produce a single combined image.
Simple orientation switch: toggle between horizontal and vertical concatenation with the
Relationcontrol.
βοΈ Running mechanism
When executed, the block reads the provided image list, ensures each image has matching dimensions by adding borders if needed, and then merges them according to the chosen Relation. The resulting image is sent to the Image output socket for downstream blocks or display.
π Usage
Provide images to the
Image Listinput β you can connect multiple image-producing blocks or a list of images.Select the desired layout with the
Relationdropdown.Read the combined result from the
Imageoutput and use it for display, logging, or further processing.
π‘ Tips and Tricks
If you want consistent results without visible borders, use
Image ResizerorImage Resizebefore this block to make all images the same size.To control padding color or add custom margins, prepare images with
Image Paddingfirst, then concatenate.Crop inputs to the exact regions you want to combine using
Image ROI SelectorImage ROIbefore feeding them here.Use
Show Imageto preview the concatenated result interactively.For saving or recording the combined output, connect the
Imageoutput toImage LoggerorImage Write.If you want a collage-style layout with borders indicating OK/NOK states, consider
Collage Imagesas an alternative or follow-up block.
π οΈ Troubleshooting
Unexpected black borders: images have different aspect ratios. Either accept the borders, or use
Image Resizer/Image Padding/Image ROI Selectto make input sizes match.Empty or missing output: ensure every input in the
Image Listis a valid image. Use an image preview block likeShow Imageupstream to verify inputs.Very tall or wide output: choose VERTICAL or HORIZONTAL
Relationappropriately or resize inputs to a manageable dimension before concatenation.
Last updated
Was this helpful?