Reference

Table of Contents  ▸  List of Commands  ▸  Filtering  ▸  watershed◀  watermark_fourier    |    area  ▶

watershed

Built-in command

Arguments:

Description:

Compute the watershed transform of selected images.

Default values:

is_high_connectivity=1.

Example of use:

$ gmic 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
Command: 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
Command: 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