Detect N Largest Rectangles in Mask
Function
This Step detects the first N inscribed rectangles with the largest area in the mask. The value of N can be set in the parameter.
Usage Scenario
This Step is a general mask calculation Step. This Step has no fixed usage scenarios.
Parameter Description
Traversation Settings
| Parameter | Description |
|---|---|
Angle Step (0-360) |
Parameter description: The rotation step in the direction of the long axis of the rectangle when detecting the largest inscribed rectangle. The smaller the value, the higher the detection accuracy and the lower the detection speed. Default value: 10 ° |
Translation Step |
Parameter description: The step size of the rectangle center translation for detecting an inscribed rectangle. The smaller the value, the higher the detection accuracy and the lower the detection speed. Default value: 10 px |
Rectangle Shape Settings
| Parameter | Description |
|---|---|
Aspect Threshold |
Parameter description: Maximum aspect ratio of Rectangles. Rectangles with aspect ratios greater than this threshold will be discarded. Default value: 3.000 |
Min Area |
Parameter description: Minimum area of Rectangles. Rectangles with areas smaller than this threshold will be discarded. Default value: 500 px |
Max Area |
Parameter description: Maximum area of Rectangles. Rectangles with areas larger than this threshold will be discarded. Default value: 50000 px |