<h1>Morphological edges detection</h1>

Edges can be detected also with morphological operations. Edge := IMG0 &lt;sub&gt; ERODE(IMG0). SUB - is substraction/complements, see [BinaryOperations|Binary Operations] or operations on Wikipedia]. Input image and result of morphological edge detection:

<br/>
Original image:<br/>
<img width="10%"/>
<br/>
Output image:<br/>
<img width="10%"/>
<br/>