🖥
🖥
🖥
🖥
AugeLab Studio Manual
English
Ask or search…
K
Comment on page

HSV Filter

HSV Filter Node Documentation

The HSV Filter node in AugeLab Studio allows you to filter an input image based on the Hue, Saturation, and Value (HSV) color space. You can use sliders to adjust the minimum and maximum values for each component and obtain different filtered results.

Node Overview

The HSV Filter node applies an HSV filter to the input image, which allows you to isolate specific colors based on their HSV values. You can define a range of values for the Hue, Saturation, and Value components and filter the image accordingly.

Node Properties

  • Node Title: HSV Filter
  • Node ID: OP_NODE_HSV_FILTER

Inputs

The HSV Filter node has the following input socket:
  • Image: The input image to be filtered. Connect an image to this socket.

Outputs

The HSV Filter node has the following output sockets:
  • Result Image: The filtered image based on the specified HSV range.
  • HSV Image: The input image converted to the HSV color space.
  • Masked Image: The original image with a mask applied based on the specified HSV range.
  • Added Image: The result image overlaid with the filtered regions on top of a grayscale background.
  • Background Image: The grayscale image with the regions outside the HSV range.

Node Configuration

The HSV Filter node has the following configuration options:
  • Hue (Min-Max): Adjust the minimum and maximum values for the Hue component of the HSV color space.
  • Saturation (Min-Max): Adjust the minimum and maximum values for the Saturation component of the HSV color space.
  • Value (Min-Max): Adjust the minimum and maximum values for the Value component of the HSV color space.

Usage

  1. 1.
    Drag and drop the HSV Filter node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Connect the input image to the Image input socket of the HSV Filter node.
  3. 3.
    Configure the node properties according to your needs. Adjust the minimum and maximum values for the Hue, Saturation, and Value components to define the HSV range you want to filter.
  4. 4.
    Run the pipeline.
  5. 5.
    The HSV Filter node will filter the input image based on the specified HSV range and provide the filtered image and additional output images at the corresponding output sockets.
  6. 6.
    Retrieve the desired output from the available output sockets, such as the filtered image, HSV image, masked image, added image, or background image.

Notes

  • The HSV Filter node uses the cv2.cvtColor function from OpenCV to convert the input image from the BGR color space to the HSV color space.
  • The node then applies a mask based on the specified HSV range to filter the image.
  • The filtered image shows only the regions within the specified HSV range, while the regions outside the range are black.
  • The HSV image represents the input image converted to the HSV color space.
  • The masked image shows the original image with the filtered regions highlighted and the rest of the image black.
  • The added image overlays the filtered regions on top of a grayscale background, where the grayscale values correspond to the regions outside the HSV range.
  • The background image represents the grayscale image with the regions outside the HSV range.
That concludes the documentation for the HSV Filter node in AugeLab Studio. This node allows you to filter an image based on the HSV color space and obtain different results by adjusting the minimum and maximum values for the Hue, Saturation, and Value components.