Histogram Extractor vTool#
For monochrome images, the distribution is output via the Mono output pin. For color images, the distribution is output via the Red, Green, and Blue output pins.
The brightness values are calculated from the image data and can be used to analyze the image content.
If you only need the histogram for a particular area of your image, use the Roi input pin to limit the area of the image from which the brightness values are calculated. For this, you can either use the Roi Creator vTool or you can connect an output pin of another vTool that outputs RectangleF or Region data.
You can use the outputs of the Histogram Extractor as input for the Histogram Statistics vTool to view statistical data of your histogram.
配置 vTool#
This vTool has no configurable options.
输入#
图像#
直接从 Camera vTool 或从输出图像的 vTool(例如 Image Format Converter vTool)接受图像。
- 数据类型:图像
- Image format: 8-bit and 16-bit mono or color images (see Supported Pixel Formats)
ROI#
Accepts a region of interest from the ROI Creator vTool or any other vTool that outputs regions or rectangles.
- Data type: RectangleF, Region
输出#
单色#
Returns the histogram for monochrome images.
- Data type: Integer Array
红色#
Returns the histogram of the red color channel for color images.
- Data type: Integer Array
绿色#
Returns the histogram of the green color channel for color images.
- Data type: Integer Array
蓝色#
Returns the histogram of the blue color channel for color images.
- Data type: Integer Array
支持的 Pixel Format#
The following pixel formats are supported natively:
- Mono 8
- Mono 16
- Bayer XX 8
- Bayer XX 16
- RGB 8
- BGR 8