PANDORE Version 6 |
GREYC-IMAGE |
pboundaryregularization
Regularizes the region boundary.
Synopsis
pboundaryregularization halfsize [-m mask] [rg_in|-] [rg_out|-]
Description
pboundaryregularization changes the shape
of the regions but making their boundary smoother.
The parameter halfsize is used to tune the
regularization strength.
Parameters
- halfsize is the half-size of the window
that is used to analysis the boundary regularity.
The more the halfsize, the more is the regularization (but
also the more is time-consuming).
Inputs
- rg_in: a region map (2D or 3D).
Outputs
Result
Returns SUCCESS or FAILURE.
Examples
pboundaryregularization 3 rin.pan rout.pan
See also
Region
C++ prototype
Errc PBoundaryRegularization( const Reg2d &, Reg2d &im_out, int halfsize );
Author: Régis Clouard