Pink 0.9

rankmaxopening.c File Reference

rank-max opening More...


Detailed Description

rank-max opening

Usage: rankmaxopening in.pgm el.pgm r out.pgm

Description: Let F be the input image, G be the output image, and E the structuring element.

The rank-max opening [Ron86] of structuring element $E$ and parameter r in [0...1] may be defined by G = min(F,dilation(rankfilter(F,E,1-r),E))

[Ron86] C. Ronse: "Erosion of narrow image features by combination of local low rank and max filters", Proc. 2nd Int. Conf. on Image Processing and int32_t Applications, pages 77-81, 1986.

Types supported: byte 2d, byte 3d

Category: morpho

Author:
Michel Couprie