Mapping and Analysis CD | WlzSizeSelect
Home Atlas Database Resources Contact Site Search

Usage:

      WlzSizeSelect -a< mesh_area > -c< conn > -H -m -h -v < infile > outfile

      Segment an object and select parts according to area, either
      keeping all parts < = a given area or > the area. The operation
      is applied by default to the object domain but can be applied to
      the domain complement in which case the size filter is applied
      to the holes. If the input object is 3D then the filter is
      applied plane-by-plane.

      Arguments:
      mesh_area: domains < = area selected, default 5
      conn:       connectivity for segmentation = 4 or 8, - default 4
      -H:       select from the domain complement within
            the bounding box, default - use the foreground
      -m:       keep domains < = area,
            default - keep domains > area
      -h       print this message
      -v       verbose operation

      Examples:
      Select all foreground objects, defined by segmentation with
      connectivity 8 and area > 5 pixels (i.e. discard small blobs
      with area < = 5):
      WlzSizeSelect -c8 < 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 -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):
      WlzSizeSelect -a10 -c4 -H -m < in.wlz > out.wlz
     
     

back to index


Web page contact: genexweb@hgu.mrc.ac.uk Last modified:
24/6/2003
Copyright © 1994-2002 The Medical Research Council & University of Edinburgh.All Rights Reserved.