Woolz Image Processing Version 1.4.0
|
WlzFilterNObjsValues [-h] [-o<output file>] [-f <ref object>] [-m] [-r #] [-i] [-u] [<input objects>]
-o | Output file name, default to standard out. |
-f | Reference object. |
-m | Use a mean filter. |
-r | Use a rank filter. The parameter (range [0.0-1.0]) specifies the rank with: 0.0 minimum, 0.5 median and 1.0 maximum - intermediate values specify intermediate ranks. |
-i | The computed reference domain is the intersection of all input object domains. |
-u | The computed reference domain is the union of all input object domains. |
-h | Help - print help message |
The output object is a domain object of the same type and with values of the same type of as the input objects. All input objects must be the same type and have the same grey value type. The output object has the same domain as the reference object, which may either be computed or given on the command line. The computed domain is either the intersection or union of all input objects depending on the commandline flags used. The available filter functions are mean and rank, where rank is a generalisation of minimum, median, maximum, etc.
For an output object having values at coordinate
with
where
is the domain of
, the value at
is
, where
are the input objects and
is the filter function.
cat obj2.wlz | WlzFilterNObjsValues -i -r 0.5 obj0.wlz obj1.wlz >out.wlz