| 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


  
                Home
  
                Download
  
                News
  
                    Mastodon
  
                    Bluesky
  
                    X
  
                    Summary - 17 Years
  
                    Summary - 16 Years
  
                    Summary - 15 Years
  
                    Summary - 13 Years
  
                    Summary - 11 Years
  
                    Summary - 10 Years
  
                Resources
  
                    Technical Reference
  
                    Scripting Tutorial
  
                    Video Tutorials
  
                    Wiki Pages
  
                    Image Gallery
  
                    Color Presets
  
                    Using libgmic
  
                    G'MIC Online
  
                Community
  
                    Discussion Forum (Pixls.us)
  
                    GimpChat
  
                    IRC
  
                Report Issue
