|
vision
|
#include <ColorRegionDetector_ParamsParser.h>
Classes | |
| struct | parser_version_type |
Public Attributes | |
| const std::string | m_device_classname = {"ColorRegionDetector"} |
| const std::string | m_device_name = {"ColorRegionDetector"} |
| bool | m_parser_is_strict = false |
| const parser_version_type | m_parser_version = {} |
| const std::string | m_algorithm_defaultValue = {"blueMinusRed"} |
| const std::string | m_morphClosing_defaultValue = {"2.0"} |
| const std::string | m_threshold_defaultValue = {"55"} |
| const std::string | m_maxNumBlobs_defaultValue = {"1"} |
| std::string | m_algorithm = {"blueMinusRed"} |
| double | m_morphClosing = {2.0} |
| int | m_threshold = {55} |
| int | m_maxNumBlobs = {1} |
This class is the parameters parser for class ColorRegionDetector.
These are the used parameters:
| Group name | Parameter name | Type | Units | Default Value | Required | Description | Notes |
|---|---|---|---|---|---|---|---|
| - | algorithm | string | - | blueMinusRed | 0 | detection algorithm | redMinusGreen, redMinusBlue, greenMinusRed, greenMinusBlue, blueMinusRed, blueMinusGreen |
| - | morphClosing | double | - | 2.0 | 0 | morphological closure | - |
| - | threshold | int | - | 55 | 0 | binarization threshold | - |
| - | maxNumBlobs | int | - | 1 | 0 | maximum number of blobs | - |
The device can be launched by yarpdev using one of the following examples (with and without all optional parameters):