Table of Contents ▸ List of Commands ▸ Features Extraction ▸ label | ◀ isophotes | label_fg ▶ |
label | Built-in command |
Arguments:
- _tolerance>=0,is_high_connectivity={ 0:No | 1:Yes },_is_L2_norm={ 0:No | 1:Yes }
Description:
Label connected components in selected images.If is_L2_norm=1, tolerances are compared against L2-norm, otherwise L1-norm is used.
Default values:
tolerance=0, is_high_connectivity=0 and is_L2_norm=1.
This command has a
.Examples of use:
• Example #1
image.jpg luminance threshold 60% label normalize 0,255 map 0

• Example #2
400,400 set 1,50%,50% distance 1 mod 16 threshold 8 label mod 255 map 2
