Is the Erode and Dilate images mixed up in the Doc
In reading This Page it appears Dilate and Erode are transposed.
Dilate expands the Black area? Erode reduces the black area?
-----Dilate---->
-----Erode----->
Should a Bug report be filed?
Not sure if the error has been rectified or you got it all wrong :| .
Dilate -> Local Maximum. Erode -> Local Minimum.