PANDORE Version 6 GREYC-IMAGE

plineardilation



Performs linear dilation.



Synopsis

plineardilation orientation1 orientation2 halfsize [im_in|-] [im_out|-]

Description

plineardilation dilates the points of stronger contrast with a linear element structuring of direction orientation1 plus orientation2 for 3D images. The size of the structuring element is of halfsize pixels on both sides of the central pixel.

Dilation of point p corresponds to the operation: replace the central pixel by the maximum value of its neighbors:

   dilation(p) = MAX(neighbors specified by the structuring element). 

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, plinearerosion

C++ prototype

Errc PLinearDilation( const Img2duc &im_in, Img2duc &im_out, int orientation1, int orientation2, int halsize );

Version française

Dilatation morphologique des points de plus fort contraste d'une image par une ligne.


Author: Régis Clouard