Arguments:
- _tolerance>=0,is_high_connectivity={ 0 | 1 },_is_L2_norm={ 0 | 1 }
Description:
Label connected components in selected images.
Default values:
tolerance=0, is_high_connectivity=0 and is_L2_norm=1.
This command has a tutorial page.
Examples of use:
• Example #1
$ gmic
image.jpg luminance threshold 60% label normalize 0,255 map 0

Command:
image.jpg luminance threshold 60% label normalize 0,255 map 0
• Example #2
$ gmic 400,400 set 1,50%,50% distance 1 mod 16 threshold 8 label mod 255 map 2

Command: 400,400 set 1,50%,50% distance 1 mod 16 threshold 8 label mod 255 map 2