PANDORE Version 6 GREYC-IMAGE

pdilation



Performs morphological dilation with a list of predefined structuring elements.



Synopsis

pdilation num_se halfsize [-m mask][im_in|-][im_out|-]

Description

pdilation dilates the points of stronger contrast according to a structuring element.

Dilation corresponds to the operation: replaces the central pixel p by the maximum of its neighbors where the neighbors are specified by the structuring element.

   dilation(p) = MAX(neighbors(p)). 

The structuring element is specified by its type num_se and its size halfsize.

For a binary image, dilation dilates white areas.

For the region maps, dilation dilates only regions that touch the background and region with the higher label are privileged.

For the color images, the lexicographic order is used: initially by using band X, in the event of equality by using the band Y then band Z.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

See also

Morphology, psedilation, perosion

C++ prototype

Errc PDilation( const Img2duc &im_in, Img2duc &im_out, int num_se, int halfsize );

Version française

Dilatation des points de fort contraste d'une image.


Author: Régis Clouard