| Original binary image |
|---|
![]() |
| Counting the connected components |
|---|
| %test-connexe-pnm ironbin.ppm ironcc.ppm -v |
![]() |
| Selecting the connected components by size |
|---|
| %test-connexe-pnm ironbin.ppm ironccsize=10.ppm -ms 10 -v |
![]() |
| Ordering the connected components by size | |
|---|---|
| %test-connexe-pnm ironbin.ppm ironccmax=n.ppm -ms n -v | |
![]() |
![]() |
| n=10 | n=1 |