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

2D Filter

2D Filter Node Documentation

The 2D Filter node in AugeLab Studio applies a 2D filter to an input image. It allows you to choose from various pre-defined filter types, such as Emboss, Contour, Sharpen, Edge Detection, Laplacian, and Sobel.

Node Overview

The 2D Filter node applies a 2D filter to an input image, resulting in a filtered image. The node provides a selection of pre-defined filter types that can be applied to the input image.

Node Properties

  • Node Title: 2D Filter
  • Node ID: OP_NODE_FILTER

Inputs

The 2D Filter node has the following input sockets:
  • Image: The input image to apply the 2D filter. Connect an image to this socket.

Outputs

The 2D Filter node has the following output socket:
  • Filtered Image: The output filtered image.

Node Configuration

The 2D Filter node does not require any additional configuration. The available filter types are pre-defined and provided as options in the node's properties.

Filter Types

The 2D Filter node provides the following pre-defined filter types:
  • Emboss: Applies an embossing effect to the image.
  • Contour: Highlights the contours of objects in the image.
  • Sharpen: Enhances the sharpness of the image.
  • Edge Detection: Detects the edges in the image using various techniques.
  • Laplacian: Applies the Laplacian operator to the image.
  • Sobel: Applies the Sobel operator in different directions (top, bottom, left, right) to the image.

Usage

  1. 1.
    Drag and drop the 2D 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 2D Filter node.
  3. 3.
    Choose the desired filter type from the drop-down list in the node's properties.
  4. 4.
    Run the pipeline.
  5. 5.
    The 2D Filter node will apply the selected filter type to the input image.
  6. 6.
    The filtered image will be available at the Filtered Image output socket.

Notes

  • The 2D Filter node applies the selected filter type to the input image using the cv2.filter2D() function from the OpenCV library.
  • The input image can be either grayscale or color. If a color image is provided, the node will convert it to grayscale before applying the filter.
  • The filtered image will have the same dimensions as the input image.
  • Experiment with different filter types to achieve the desired image enhancement or feature extraction effects.
That concludes the documentation for the 2D Filter node in AugeLab Studio. This node provides a convenient way to apply various 2D filters to an input image.