Tuesday, July 28, 2009

Activity 9. Binary Operations

The main objective of this activity is to measure the area of the hole in an image with the help of different enhancement techniques. The activity started by selecting an image of a paper with holes. Nine representative, 256x256 images were taken from the original image. The original image is shown below along with one of the representative image.



The representative images were then converted to binary images and enhanced(using dilate and erode) to make the holes clearer. The binary image and the enhanced binary image are shown below.
(Binary and Enhanced Binary Image)

The area of each blob or hole was then computed from the enhanced binary image with the help of the bwlabel function in Scilab. This was done for each representative image. The computed areas were then listed and used to generate the histogram of the area versus frequency. The histogram is shown below.


High area frequency is found in the computed areas ranging from 5o0 to 550. The mean area was computed and was found out to be equal to 519.35849. The standard deviation was also computed and was found out to be equal to 8.4446031. The theoretical area was then computed using the image of a single circle. The theoretical area is equal to 517. Using the theoretical and the mean area, the percent error of the computed area was found out to be equal to 0.456%. The single circle and the binarized image of the single circle is shown below.




I will give myself 10/10 for this activity.

**Neil and Gilbert gave useful tips in solving for the areas of the circles.


No comments:

Post a Comment