Group 10 Presentation
Group 10 Presentation
Image processing
Course project presentation
• We use the matrix T to perform the DCT on our desired image blocks. This is
done through multiplication with the original block matrix M in the following
manner:
•
• The original block M is multiplied first with the DCT matrix T to transform
the rows and then with the transpose of the DCT matrix to transform the
columns.
• In grayscale, images range between values 0 and
255, where 0 is pure black and 255 is pure white.
• However DCT is designed to work on ranges
between -128 and 128.
• Thus we subtract 128.
• This is when we show the original image using the
command “imshow”.
Quantization
Varying levels of image compression and quality are obtainable
through selection of specific quantization matrices.
This enables user to decide on quality levels ranging from 1 to 100.
Subjective experiments yielded the following matrix Q with quality
level 50 as a standard quantization matrix.
The quantization table represents the phase when we discard
the frequencies.
• Quantization is then performed by dividing
each element of the transformed image matrix
D by its corresponding element in the
quantization matrix Q that we explained
previously.
• This is then rounded to get positive integer
values.
As a result we have the lower frequencies in the upper-left corner, while
the higher frequencies are represented with zeros, which can be discarded.
19
Basics of Hough transform
• Hough space: Hough space is same as Cartesian
co-ordanate system except,
• it’s x-axis represent angles in accumulator.
• It’s y-axis represent distance of line from agreed
origin.
ρ =100
ρ =0
Ө=0 Ө=180 20
Linear Hough Transform
• The linear Hough transform is popularly used for
detecting lines.
o/p
Image Edge Accumulator
LHT
detection
Angle Distance
0 40
30 69.6
60 81.2
90 70
120 40.6
23
Continued….
24
Accumulator plotted in Hough space
25
EXAMPLE:
Input edge
26
Example:
• accumulator result
27
Advantages & Disadvantages
• Advantages:
1)Conceptually simple technique.
2)Handles missing occluded data gracefully.
3) Can be adapted for many other forms.
• Disadvantages:
1)Large storage space required.
2)Checks for only one type of object.
28
Conclusion
Although it is the commonly preferred method
for lines & circle detection, the HT in general
has several limitations making it challenging to
detect anything other than lines and circles.
This is especially the case when more
parameters are needed to describe shapes,
this add more complexity.
29
THANK YOU