Apply Basic Morphological Operations

The boundaries of an image can be detected automatically.