Woolz Image Processing
Version 1.8.3
|
WlzSizeSelect [-h] [-v] -a<mesh_area> -c<conn> -H -m [-f] [-g] [-h] [-i] [-l] [-L] [-p] [-M #] [-s #] [-m #] [-c #,#,#] [-C #,#,#] <in bib file>
-h | Prints usage information. |
-v | Verbose output. |
c | Conectivity. |
-H | Select from the domain complement within the bounding box, default - use the foreground. |
-m | Keep domains <= area, the default is to keep domains > area. |
-M | Maximum number of parts to select from. |
WlzSizeSelect -c8 < in.wlz > out.wlzSelect all foreground objects, defined by segmentation with connectivity 8 and area > 5 pixels (i.e. discard small blobs with area <= 5).
WlzSizeSelect -a10 -c4 -m < in.wlz > out.wlz
Select all foreground objects, defined by segmentation with connectivity 4 and area <= 10 pixels (i.e. collect small blobs with area <= 10).
WlzSizeSelect -a10 -c4 -H -m < in.wlz > out.wlz
Select all background objects, defined by segmentation with connectivity 4 and area <= 10 pixels (i.e. collect holes with area <= 10).