Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Extract Channel

IP Command Grooper.IP

Extracts a single channel from the source image and outputs it as an 8-bit grayscale image.

Remarks

The Extract Channel command isolates a single channel from a color image, such as the red, green, or blue channel in RGB, or the hue, saturation, or value channel in HSV. This is useful for focusing processing on a specific aspect of the image, such as intensity, color, or contrast, and can improve the effectiveness of downstream image analysis or cleanup steps.

How Extract Channel Works

  • The input image is first converted to the selected color space, as specified by the 'Color Space' property.
  • The channel to extract is chosen using the 'Channel' property.
  • The selected channel is output as an 8-bit grayscale image, where pixel values represent the intensity of that channel.

This command is commonly used to:

  • Enhance features that are most visible in a particular channel (e.g., text in the red channel).
  • Remove unwanted color information by isolating a single component.
  • Prepare images for thresholding, OCR, or other analysis steps that benefit from channel separation.

Supported Pixel Formats

  • Only Pixel24bppBgr images are supported as input.
  • The output is always an 8-bit grayscale image.

Diagnostics Generated

This command does not generate additional diagnostic images or logs by default. Use before-and-after image comparison to evaluate the effect of different settings.

Configuration Guidance

  • Choose the color space that best separates the features you want to enhance or analyze.
  • Select the channel that contains the most relevant information for your task.
  • Use in combination with other commands (such as binarization or filtering) for optimal results.

Example:
To extract the blue channel from an RGB image, set 'Color Space' to RGB and 'Channel' to Channel3.

Properties

NameTypeDescription
General
Command Info

Used By

Notification