PANDORE Version 6 GREYC-IMAGE

pdilationreconstruction



Performs reconstruction by dilation.



Synopsis

pdilationreconstruction connexity [-m mask] [im_in1|-] [im_in2|-][im_out|-]

Description

pdilationreconstruction performs a geodesic reconstruction by dilation of the markers image im_in1 in the mask image im_in2.

The two images must be of the same type, and the image of markers im_in1 must be lower or equal in intensity to the image of mask im_in2.

The reconstruction by dilation according to the connexity consists in the following operation applied until idempotence:

   im1=MIN(im_in1, im_in2)
   imdilat=dilation(im1, connexity)
   im1=MIN(imdilat, im_in2) 

For the color images, it is the lexicographic order which 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, perosionreconstruction

C++ prototype

Errc PDilationReconstruction( const Img2duc &im_in1, const Img2duc &im_in2, Img2duc &im_out, int connexity );

Author: Régis Clouard