PANDORE Version 6 | GREYC-IMAGE |
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.
Returns SUCCESS or FAILURE.
pgradient 1 tangram.pan i1.pan i2.pan pbinarization 20 1e30 i1.pan i3.pan plinearerosion 90 0 5 i3.pan i4.pan plineardilation 90 0 5 i4.pan out.pan
Dilatation morphologique des points de plus fort contraste d'une image par une ligne.
Author: Régis Clouard