N-Canon Example
This morphologic operator is a composition of N sup-generating operators and a multiple supremum of them. As you see in the definition of a sup-generating operator, each one requires two structuring elements to specify a range: the initial element and the final one, amounting 2N structuring elements! In this implementation it is necessary only two structuring elements, The others will be generated by their rotation. The input parameter 1, 2 or 4 (step of rotation) means that each structuring element will be rotated by steps of 45, 90 and 180 degrees, generating 8, 4 and 2 different structuring elements.
In the example bellow we show one use of that operator to separate end points of an image of a logic circuit. To achieve this the initial structuring element will be "an isolated point", ie, { 000 010 000 } (seen as a 3X3 matrix where each block is one of its rows), the final one will be { 111 101 000 }, and the step of rotation will be 2. The first picture is the input image and the second one the result.
Back to initial page