PANDORE Version 6 | GREYC-IMAGE |
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.
Returns SUCCESS or FAILURE.
perosion 1 8 tangram.pan i1.pan pdilationreconstruction 8 i1.pan tangram.pan i2.pan pdif tangram.pan i2.pan out.pan
Author: Régis Clouard