open-scalars <input> <output> [options]


Opens scalar data of an input point set by perfoming an erosion followed by the same number of dilations. When the input data array has more than one component, each component is processed separately.



Input point set.


Output point set with opened scalars.

Command options

-a, -array, -scalars <name>

Name of -point-data or -cell-data array. (default: active scalars)

-point-data, -pd [<name>]

Process point data array. (default)

-cell-data, -cd [<name>]

Process cell data array.

-o, -output-array, -output-scalars <name>

Name of output data array. (default: overwrite input array)

-c, -connectivity, -neighborhood <int>

Maximum node edge-connectivity of neighbors. (default: 1)

-r, -radius <float>

Maximum point distance of neighboring points. Used instead of -c when positive. (default: 0)

-n, -iterations, -iter <n>

Number of iterations. (default: 1)

Output format options

-ascii, -nobinary

Write legacy VTK in ASCII format. (default: input)

-binary, -noascii

Write legacy VTK in binary format. (default: input)

-compress, -nocompress

Write XML VTK file with or without compression. (default: on)

Standard options

-v, -verbose [n]

Increase/Set verbosity of output messages. (default: 0)

-debug [level]

Increase/Set debug level for output of intermediate results. (default: 0)

-version [major.minor]

Print version and exit or set version to emulate.


Print revision (or version) number only and exit.

-h, -help

Print help and exit.