Woolz Image Processing  Version 1.7.0
WlzSampleObj - efficient sub-sampling of domain objects.
WlzSampleObj [-o<output object file>]
           [-x<column sampling factor>]
           [-y<line sampling factor>]
           [-z<plane sampling factor>]
           [-a] [-e] [-i] [-g] [-m] [-p] [-h] [<input object file>]
-x column sub-sampling factor.
-y line sub-sampling factor.
-z plane sub-sampling factor.
-a maximum value convolution kernel.
-e median value convolution kernel.
-i minimum value convolution kernel.
-g gaussian convolution kernel.
-m mean convolution kernel.
-p point sampling.
-o Output object file name.
-h Help - print help message
-v Verbose operation
By default the input object is read from the standard input and the output object is written to the standard output.
Sub-samples a woolz interval domain object with grey values.
# An example of using WlzSampleObj to apply a scale transform
# (scale = 0.5) using point sampling:

WlzSampleObj -x 2 -y 2 -p <infile.wlz > outfile.wlz

# Sub-sampling an object using a gaussian convolution kernel
# with scale along rows = 0.3333 and the scale down columns
# 0.5.

WlzSobel -x 3 -y 2 -g -o outfile.wlz infile.wlz
See Also
WlzAffineTransformObj(1) WlzSampleObj(3)