Image: Split Color Image
Split color image into separate grayscale images
Minimum Origin Version Required: 2022
1. cvSplit img:=[Image1]1! order:="R" nav:=1;
Please refer to the page for additional option switches when accessing the x-function from script
Input/Output
ImageLayer
Input
String
Int
This function separates a color image into Red, Green, Blue, and Alpha channels. See document for details.
Example 1. Split the color image into separate channels
The image is split as follow.
The computation uses split() 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(), Merge() and Mat::reshape() function.
OpenCV Main API Help file, Version 2.4.11.0
CvMerge