Merge Channels  
Top  Previous  Next


Menu:   Convert > Split/Merge Channels  
Script:mergeRGB, mergeHLS, mergeYIQ, mergeIHS, mergeRCH, mergeLab, mergeComplex  

If you want to merge color channels/components into an image, click the Merge tab. Depending on the Function you choose for the merging process, the options above the Merge tab will look differently.

Function
 
Use this drop-down list to choose the RGB, HLS or YIQ model, or the Complex image type for merging channels/components into the output image. Note that if you apply the RGB, HLS or YIQ function to 8-bit, 4-bit or 1-bit input channels, the output image will be an RGB16 one; if one of the input channels/components is a high-depth one, you will get an RGB48 output image(see here for more details on image types).  
 
If you choose the RGB model, the Red, Green and Blue boxes will appear, each of them displaying the number of the frame containing the red, green and blue channels respectively that ImageWarp will use for the output image with the color channels merged. Type or select the appropriate value for any of the channels.  
 
If you choose the HLS model, the Hue, Satur and Lumin boxes will appear, each of them displaying the number of the frame containing the hue, saturation and luminance channels respectively that ImageWarp will use for the output image with the color channels merged. Type or select the appropriate value for any of the channels.  
 
If you choose the YIQ model, the Y, I and Q boxes will appear, each of them displaying the number of the frame containing the luminance, I-chromaticity and Q-chromaticity components respectively that ImageWarp will use for the output image with the components merged. Type or select the appropriate value for any of the components.  
 
If you choose the Lab model, the L*, a* and b* boxes will appear, each of them displaying the number of the frame containing the lightness, red/green chromaticity and green/blue chromaticity components respectively that ImageWarp will use for the output image with the components merged. Type or select the appropriate value for any of the components.  
 
If you choose the Complex image type, the Input1 and Input2 boxes will appear, each of them displaying the number of the frame containing the first and the second 32-bit floating point components of a 64-bit floating point complex grayscale image respectively that ImageWarp will use for the output image with both components merged. Type or select the appropriate value for any of the components. Note that regardless of the type of the Input1 and Input2 images, the output image will always be a Floating point one (see here for more details on image types).  

Mode
 
Lets you choose the coordinate system for merging the two components of a complex image.  
 
Click Decart to have the Input1 and Input2 components treated as the Real and Imaginary components of the Ouput image.  
Click Polar to have the Input1 and Input2 components treated as the Amplitude and Phase components of the Output image.  
 
Note – This setting is available in the Merge tab and for the complex image type only.  

Output
 
Displays the number of the frame in which the output image with the color channels/components merged will be created. Depending on the Preferences. ImageWarp will set it either to the first available value or to the Input frame number. Type or select another value if you want the output image to be created in a different frame.  

Preview
 
Select this check box to watch the Preview of the output image.  

Apply
 
Applies the function without closing the dialog box.  

Close
 
Closes the dialog box without performing any action.