Change Homotopy Example
This morphological operator is useful to filter the morphological gradient of a grayscale image. It is a composition of four morphological operators: negation, intersection and closing by reconstruction. Like the last, it requires an original image (base image), a marker image and a structuring element. The operator applies the negation on the marker image then applies the intersection of the previous result with the base image and finally performs the closing by reconstruction of that intersection by the result of the negation.
For didactical reasons the following images show the result of the operator on a 1D signal.
Figure 1 shows a composition of a 1D signal (base image) drawn in white with a 1D marker (marker image) drawn in red.
fig. 1 - Combined signals
Figure 2 shows the result of the operator (drawn in yellow) over the two signals above combined with the base signal (drawn in white).
fig. 2 - Final result
Building the cantata workspace
Executing the cantata workspace homotopy.wk
Back to the initial page