Top Banner
Submitted by, G. Midhu Bala and J.Asenath
22
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Image segmentation techniques

Submitted by,

G. Midhu Bala and J.Asenath

Page 2: Image segmentation techniques

Introduction Image processing is any form of signal processing for

which the input is an image, such as a photography or videoframe.

The output of image processing may be either an image or aset of characteristics related to the image.

Image Analysis - to extract high level information on animage.

Image Segmentation - to change the representation of anoriginal image into meaningful portions which makes iteasier to analysis.

To locate objects and boundaries.

Page 3: Image segmentation techniques

Segmentation Techniques

•Thresholding

•Edge Detection

•Color Image Segmentation

•Histogram Based Method

Page 4: Image segmentation techniques

Types of images8 bit image

8 bit image RGB

Page 5: Image segmentation techniques

16 bit image

16 bit RGB

Page 6: Image segmentation techniques

32 bit image

32 bit RGB

Page 7: Image segmentation techniques

8 bit Color

8 bit color RGB

Page 8: Image segmentation techniques

RGB Color

Page 9: Image segmentation techniques

RGB Stack

Red Green Blue

Page 10: Image segmentation techniques

File formats

JPG uses lossy compression

GIF always uses lossless LZW compression, but it is always an

indexed color file (8-bits, 256 colors maximum), which is poor for

24-bit color photos.

PNG is transparency for 24 bit RGB images. lossless

compression, of different types), but PNG is perhaps slightly slower

to read or write.

TIF is lossless (including LZW compression option), which is

considered the highest quality format for commercial work.

Page 11: Image segmentation techniques

Test image

.

Original disease free leaf Original affected leaf

Page 12: Image segmentation techniques

Thresholding

Original image into binary image

Foreground can be separated from the background by selecting the

threshold value

Global Thresholding -only one threshold value for entire image

Local Thresholding - different value for different regions

Methods

Edge Based - detects and links edge pixels to form contour.

Region Based - detects the entire region

Page 13: Image segmentation techniques

Threshold Value : 100 Threshold Value : 150 Threshold Value : 255

Global Thresholding

Page 14: Image segmentation techniques

Otsu Method

Threshold Value : 193

Page 15: Image segmentation techniques

Edge Detection

Reduce the amount of data in an image.

Provides ability to extract the exact edge.

Corners, lines, curves .

Meaningful discontinuities in the grey level.

Edge detected image

Page 16: Image segmentation techniques

Canny Edge Detection:(Criteria)

Detection: The probability of detecting real edge

points is maximized and falsely detecting non-edge

points is minimized. This corresponds to maximizing the

signal-to-noise ratio.

Localization: The detected edges should be as close as

possible to the real edges.

Number of Responses: One real edge should be result

in more than one detected edge.

Page 17: Image segmentation techniques

Canny Edge Detection Algorithm

Smoothing:

Blurring of the image to remove noise.

Finding gradients:

The edges should be marked where the gradients of the

image has large magnitudes.

Non-maximum suppression:

Only local maxima should be marked as edges.

Double thresholding :

Potential edges are determines by thresholding.

Edge tracking by hysteresis:

Final edges are determined by suppressing all edges that are

not connected to a very certain strong edges.

Page 18: Image segmentation techniques

Color Image Segmentation:Color image segmentation is used to extract high level

information of the image based on color. Three phases are

Phase1: Preprocessing:

Morphological methods are applied to remove the noises away

from image which applied to smooth some spots on uniformed

patterns.

Phase2: Transformation:

Color space transformed methods are used to transform other

color space to RGB.

Page 19: Image segmentation techniques

Phase3: Segmentation:

Applying clustering algorithm like K-means algorithm for

finding the appropriate cluster numbers and segment images in

different color spaces. The cluster with the maximum average

variance is split into new clusters.

Segmented image

Page 20: Image segmentation techniques

Histogram- based methods: Compute- Pixels , peaks, valleys

Locate – clusters

Recursively applied for finding the smaller clusters.

Distinguishes the two homogeneous regions of the

foreground and background of an image.

Histogram

Page 21: Image segmentation techniques

Conclusion

Partitioning an Image using segmentation

techniques leads to extract different regions with

similar attributes . It also detects high level

information of an image for image analysis and

further researches.

Page 22: Image segmentation techniques