<< Click to Display Table of Contents >> Segment Extractor |
This function block only exists for compatibility reasons. Please use the Segment tracker instead.
Get the position and size of a segment from an image augmented with a list of segments by the Segmenter function block.
Inputs |
Type |
Default |
Description |
Input |
image |
Augmented image |
|
Selected segment |
int |
0 |
Number of the segment information is queried from. |
Minimum area |
int |
200 |
The Segment found output will become true only if the segment contains at least number of pixel given here. |
Outputs |
|||
x |
int |
x-coordinate of the center of gravity of the segment found. If no segment is found x=0. |
|
y |
int |
y-coordinate of the center of gravity of the segment found. If no segment is found y=0. |
|
Area |
int |
Number of pixel within the segment. If no segment is found Area = 0. |
|
Segment found |
bool |
True if the segment is found. False otherwise. |