Unit 3
Unit 3
Unit 3
MODULE 3: (9 hrs)
Optimum thresholding - Bayes analysis, Otsu method; Derivative based edge detection
operators, edge detection/linking, Canny edge detector; Region growing, split/merge techniques,
• The basic idea of erosion is just like soil erosion only, it erodes
away the boundaries of foreground object (Always try to keep
foreground in white).
• The kernel slides through the image (as in 2D convolution). A
pixel in the original image (either 1 or 0) will be considered 1
only if all the pixels under the kernel is 1, otherwise it is eroded
(made to zero).
• All the pixels near boundary will be discarded depending upon
the size of kernel.
• So the thickness or size of the foreground object decreases or
simply white region decreases in the image.
• It is useful for removing small white noises (as we have seen in
colorspace chapter), detach two connected objects etc.
• Dilation and Erosion are basic morphological processing operations that
produce contrasting results when applied to either gray-scale or binary
images.
Dilation:
Dilation is the reverse process with regions growing out from their boundaries.
Dilation is A XOR B.
Erosion:
Erosion involves the removal of pixels ate the edges of the region.
Erosion is just the dual of Dilation.
Dilation Erosion
It increases the size of the objects. It decreases the size of the objects.
It fills the holes and broken areas. It removes the small anomalies.
It connects the areas that are separated by space smaller than structuring It reduces the brightness of the bright objects.
element.
It increases the brightness of the objects. It removes the objects smaller than the structuring element.
Distributive, duality, translation and decomposition properties are followed. It also follows the different properties like duality etc.
• Hit: In this case, at least one pixel of the structural element overlaps the object's pixels.
• Miss: In this case, not a single pixel of structural element overlaps the object's pixel.
Opening
• Opening is just another name of erosion followed
by dilation.
Closing