Clean horizontal noise
Description
Removes noise in the form of horizontal lines from masks.
Used with light barriers
Real time: False
Usage
- Mask cleanup: Cleans a coarse mask generated by threshold tools
Parameters
- Activate tool (enabled): Toggle whether or not tool is active (default: 1)
- Minimal size for a line to be considered for removal (min_line_size): (default: 11)
- Maximum number of iterations to perform (max_iter): (default: 100)
- Remove blocks of lines (fully_isolated): (default: 1)
Example
Source
Parameters/Code
Default values are not needed when calling function
1 2 3 4 5 6 7 8 |
|