How to remove/detect lone pixels?
I'm trying to find pixels which are next to others, and removing pixels with no neighbours seems to be the best solution. Is it possible to either delete lone pixels/highlight continuous runs of pixels using some function?


