Image: Merge to Color Image
Merge multiple single channel images into a color image.
Minimum Origin Version Required: 2022
1. cvMerge order:=BRG;
Please refer to the page for additional option switches when accessing the x-function from script
Input/Output
ImageLayer
Input
String
This function merges Red, Green, Blue and Alpha channel images into a color image by the specified order. See document for details.
Example 1.Merge separate channel images into a color image
A merged colorful image replaces the source image.
The computation uses function from OpenCV Main API. Please refer to the OpenCV Main API Help file, Version 2.4.11.0 and read imgproc. Image Processing topic. See also mixChannels(), split() and Mat::reshape() function.
OpenCV Main API Help file, Version 2.4.11.0
CvSplit