PANDORE Version 6 GREYC-IMAGE

pareaopening



Performs area opening (minima killer).



Synopsis

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

Description

The operator pareaopening removes clear 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, and
  2. removing white regions whose area is less 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, pareaclosing

C++ prototype

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

Author: Régis Clouard