PANDORE Version 6 GREYC-IMAGE

pareaclosing



Performs area closing (maxima killer).



Synopsis

pareaclosing connexity area [-m mask][im_in|-][im_out|-]

Description

The operator pareaopening removes dark objects whose area in number of pixels is less than the specified area.

The algorithm presented in a naive way consists in:

  1. Thresholding image at each gray level,
  2. and removing dark regions whose area is smaller than the specified area.
  3. The final result is the addition of the result at each level.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

See also

Morphology, pareaopening

C++ prototype

Errc PAreaClosing( const Img2duc &im_in, Img2duc &im_out, int connexity, int area );

Author: Régis Clouard