Table of Contents ▸ List of Commands ▸ Filtering ▸ watershed | ◀ watermark_fourier | area ▶ |
watershed | Built-in command |
Arguments:
- [priority_image],_is_high_connectivity={ 0:No | 1:Yes }
Description:
Compute the watershed transform of selected images.Default values:
is_high_connectivity=1.
Example of use:
400,400 noise 0.2,2 eq 1 +distance 1 mul[-1] -1 label[-2] watershed[-2] [-1] mod[-2] 256 map[-2] 0 reverse