...please explain to me how imdilate, imerode, imopen, and...
I just posted one demo a few minutes ago here where I used imclose(), which is a dilation followed by an erosion, to join two nearby blobs into a single blob. You can also do an erosion or dilation to attempt to get rid of foreground objects an...