Professional Documents
Culture Documents
College of Engineering
Electronics and Communication Engineering
Introduction
Theoretical Framework
Source Code
x1 = round(mean(x1)); %---------OBJECT
y1 = round(mean(y1)); DETECTION-------------
bw6 = bwareaopen(B6,2000);
bw7 = bwareaopen(B7,2000);
%threshold the image file bw8 = bwareaopen(B8,2000);
G1 = rgb2gray(circ1);
imthr1 = graythresh(G1); % fill gaps
B1 = im2bw(G1,imthr1); se = strel('disk',2);
Experimental Set-up
Analysis of Data
Based on our gathered date, the object in the images
has successfully been detected. The path taken by the
object has also been detected. Although, in the last frame,
the object exceeded the boundary of the view of the camera
making the round object does not seem like round anymore.
MATLAB was not able to compute for the centroid, so the
detected path in the eighth frame was wrong.
Conclusion
Reference
http://www.mathworks.com/matlabcentral/link_exchange/MATLAB
/Image_Processing/index.html
http://en.wikipedia.org/wiki/Image_processing