Thursday, July 21, 2011

A6 - Fourier Transform Model of Image Formation

A.Familiarization with discrete FFT

i. Circle








ii. "A"








B. Simulation of an imaging device.








C. Template Matching using correlation








D. Edge Detection using the convolution integral









score: 8/10

Thursday, July 14, 2011

A5 - Enhancement by Histogram Manipulation

This is the image I chose for this activity.

This the grayscale of the image.This is the CDF of the image and the desired CDFThis is the histogram plot of the image.This is the histogram plot of the grayscale image and also the normalized histogram plot.This is the normalized grayscale image.After the backproject, this is the enhanced(?) image.
Using a gaussian CDF, this is the modified image that I got.
This is the histogram plot of the modified image. Note that it looks like a gaussian distribution function (more or less).
This is the CDF of the modified image.
For this activity, I'd give myself an 8/10. Same reason as the previous post. Check check check. :|

Estimation is Green - A4

All through out our education life, we have encountered 'area' quite a lot of time. But if you were asked to define 'area', how would you explain it? Maybe right now you're coming up blank as to its definition. From wiki, Area is a quantity that expresses the extent of a two-dimensional surface or shape in the plane. Area can be understood as the amount of material with a given thickness that would be necessary to fashion a model of the shape, or the amount of paint necessary to cover the surface with a single coat. It is the two-dimensional analog of the length of a curve (a one-dimensional concept) or the volume of a solid (a three-dimensional concept).

We were sometimes tasked to take the area of various objects. Area of a box, a circle, a paper, a triangle, any object and the list goes on and on. As we grow older, we also encounter 'area'.

The black and white regular geometric shape I chose. Using paint, I made this 150 by 80 pixel size white rectangle. This rectangle has an area of 12,000 pixels. Using Green's Theorem and Scilab, i got the value of 11,544 pixels as the area of the rectangle. This is quite close with the real value.















Next, we had to choose a location of our interest. I chose the Quezon City Circle. From Google Maps, I saved an image of the QC Circle.










In paint, I delineated the area of interest from the rest and the result is shown below:


















Using the same procedure and calculating the area of the image, I got the area of 50,549.5 pixels. To convert this to square meters, I used the techniques learned in Activity 1. From the QC circle image above, we can see the scale bar on the lower left corner of the image. Then 87 pixels = 200m in lengthwise. So converting/dividing, we can compute that 1 pixel in lengthwise = 2.299 meters and 1 pixel square = 5.28 sq. meters. Converting 50, 549.5 pixels, we have 267, 139.65 sq. meters.

For this activity, I'd give myself an 8/10. Although I did complete the activity I posted late because for some reason, my blog wasn't posted(it was only saved and needs to be edited yet). And since I didn't check if my blog was indeed posted, I deserve a deduction.