Professional Documents
Culture Documents
For example, an 8-bit register used for each pixel would have 28 = 256 gray
levels.
This kind of conversion would significantly reduce the magnitude of the image
processing problem.
Note: Gray Level: Discrete brightness level of a pixel or group of pixels. When
an image is digitised or processed, a brightness levels that vary continuously
must be quantised i.e. assigned a value on a scale between white and black
and shades of grey in between: that value is the grey level.
Windowing
Windowing involves using only a portion of the total
image stored in the frame buffer for image processing
and analysis. This portion is called windowing.
For example,
boundaries(edges) or regions(areas) represent two
natural segments of an image.
The important Techniques are:
1.Thresholding
2.Region Growing
3.Edge Detection
Thresholding
• Thresholding is the simplest, powerful and most
frequently/widely used technique for image segmentation.
• It is useful in discriminating foreground from the background.
h(i)
2500.00
2000.00
Background
1500.00
1000.00
Object
500.00
0.00 i
0.00 50.00 100.00 150.00 200.00 250.00
T
14
Histogram
REGION GROWING
• Group pixels or sub-regions into PIXEL AGGREGATION:
larger regions when homogeneity
10 10 10 10 10 10 10
criterion is satisfied
• Region grows around the seed 10 10 10 69 70 10 10
point based on similar properties 59 10 60 64 59 56 60
(grey level, texture, color) 10 59 10 60 70 10 62
PROS: 10 60 59 65 67 10 65
• Better in noisy image where 10 10 10 10 10 10 10
edges are hard to identify 10 10 10 10 10 10 10
CONS:
• Seed point must be specified Homogeneity criteria:
• Different seed point will give • The difference between 2 pixel
values is less than or equal to 5
different results
• Horizontal, vertical, diagonal
Region-Oriented Segmentation
Region Splitting
Region growing starts from a set of seed points.
An alternative is to start with the whole image as a single region and
subdivide the regions that do not satisfy a condition of homogeneity.
Region Merging
Region merging is the opposite of region splitting.
Start with small regions (e.g. 2x2 or 4x4 regions) and merge the
regions that have similar characteristics (such as gray level, variance).
Typically, splitting and merging approaches are used iteratively.
18
Edge Detection
Goal of Edge Detection
Produce a line “drawing” of a scene from an
image of that scene.
Why is Edge detection Useful?
• Important features can be extracted from the
edges of an image (e.g., corners, lines, curves).
• These features are used by higher-level
computer vision algorithms (e.g., recognition).
Effect of Illumination
• Step edge: the image intensity abruptly
changes from one value on one side of the
discontinuity to a different value on the
opposite side.
• Ramp edge: a step edge where the intensity
change is not instantaneous but occur over
a finite distance.
• Ridge edge: the image intensity abruptly
changes value but then returns to the
starting value within some short distance
(i.e., usually generated by lines).
• Roof edge: a roof edge where the intensity
change is not instantaneous but occur over
a finite distance (i.e., usually generated by
the intersection of two surfaces).
Feature Extraction
In machine vison applications, it is necessary to distinguish one
object from another.
Examples of Features:
Area, diameter, perimeter etc..