摘要 |
<p>The invention relates to a filter for applying dilation and/or erosion operations of mathematical morphology to a W x H local neighbourhood, the width of which is W and the height H, of a two-dimensional matrix formed by discrete values, the width of which matric is x and the height y. In order to provide an operation in real time by means of a very simple structure, the filter comprises a horizontal portion for applying a dilation/erosion operation to a W x 1 local neighbourhood made to slide over the matrix and a vertical portion for applying a dilation/erosion operation to a 1 x H local neighbourhood made to slide over the matrix, whereby the portions are connected one after another, the output (MINW, MINH) of one portion being connected to the input (IH, IV) of the other portion.</p> |