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

Inputs

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