Scope of the Project
In this project, we will implement techniques of image
segmentation and edge detection on a pre-acquired image.
Primary focus is on detecting distinct shapes in an image.
Edge detection in image processing is a technique to capture
sharp intensity transitions that form edges in an image. To
accomplish this we require a mask capable of doing that.In this
project we are using Laplacian mask for detecting edges. This
filter is generated with following command.
In above expressing ‘f’ is the image, w is the Laplacian mask and
last parameter is used for image zero padding for convolution.
Line detection is basically a member technique of image
segmentation domain of digital image processing.In an edge
detected image, line detection can be applied fairly easily.
We accomplish this by using predefined masks, and they differ
from each other regarding their direction or orientation.We
have used the following two masks for horizontal and vertical
-1 2 -1 -1 2 -1 -1 2 -1
Vertical Line Detection mask
-1 -1 -1 2 2 2 -1 -1 -1
Horizontal Line Detection mask
Images that are low in contrast can be contrast stretched or
enhanced for better appearance.
This can be done using