<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1471391597131836879</id><updated>2012-02-02T15:11:11.653-08:00</updated><title type='text'>Arabesque</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-5800961235499366044</id><published>2009-10-01T11:00:00.000-07:00</published><updated>2009-10-12T10:46:28.283-07:00</updated><title type='text'>Activity 19: Restoration of Blurred Image</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;"... Twilight on the frozen lake&lt;br /&gt;&lt;/span&gt; &lt;span style="font-style: italic;"&gt;North wind about to break &lt;/span&gt; &lt;span style="font-style: italic;"&gt;&lt;br /&gt;On footprints in the snow &lt;/span&gt; &lt;span style="font-style: italic;"&gt;&lt;br /&gt;Silence down below."&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This activity initially distorts an image through blurring and adding of gaussian noise. It aims to restore the distorted image based on previous knowledge on the nature of distortions introduced.&lt;br /&gt;&lt;br /&gt;Say we initially have an input image f(x,y) (refer to the image below) introduced by a degradation function h(x,y) and Gaussian noise g(x,y), restoration filters then act on the distorted image to produce an image close to the original.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsT6N-0GFHI/AAAAAAAAA6Y/RTDnKr_HHR0/s1600-h/1.jpg"&gt;&lt;img style="cursor: pointer; width: 412px; height: 158px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsT6N-0GFHI/AAAAAAAAA6Y/RTDnKr_HHR0/s400/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5387706172348699762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The restored image can be represented by the following equation in spatial domain&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsT5crrHyqI/AAAAAAAAA5o/gmrJ8JX-alA/s1600-h/2.jpg"&gt;&lt;img style="cursor: pointer; width: 340px; height: 58px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsT5crrHyqI/AAAAAAAAA5o/gmrJ8JX-alA/s320/2.jpg" alt="" id="BLOGGER_PHOTO_ID_5387705325397199522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;and by the following equation in frequency domain.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsT5c3PcIBI/AAAAAAAAA5w/mKum_QD8MBE/s1600-h/3.jpg"&gt;&lt;img style="cursor: pointer; width: 340px; height: 53px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsT5c3PcIBI/AAAAAAAAA5w/mKum_QD8MBE/s320/3.jpg" alt="" id="BLOGGER_PHOTO_ID_5387705328502317074" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;where H in fourier space is given by the following formula. I used a=0.0005 (vertical blur) and b=0.05 (horizontal blur). The more I increase a and b values, the more blurry the image becomes. Hence, the choice of a and b values correspond to a somewhat blurred image with poor  image visibility.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsT5dSjEXJI/AAAAAAAAA54/5VgphDRcVbM/s1600-h/4.jpg"&gt;&lt;img style="cursor: pointer; width: 455px; height: 96px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsT5dSjEXJI/AAAAAAAAA54/5VgphDRcVbM/s320/4.jpg" alt="" id="BLOGGER_PHOTO_ID_5387705335832403090" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;The original image as shown below represents the function f(x,y) and F(u,v) in real space and fourier space respectively.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Original Image&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTvmt5FNII/AAAAAAAAA44/zXzFaq4L53Y/s1600-h/gray.jpg"&gt;&lt;img style="cursor: pointer; width: 213px; height: 320px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTvmt5FNII/AAAAAAAAA44/zXzFaq4L53Y/s320/gray.jpg" alt="" id="BLOGGER_PHOTO_ID_5387694502675035266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;(http://www.musicroom.fr/images/catalogue/fullsize/OP52811.jpg)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Blurring (left) and adding gaussian noise (right) is mathematically represented by the equations presented above.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;Left: Blurred Image, Right: Blur+Gaussian Noise&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTvmwE2Z_I/AAAAAAAAA5A/A5FGV2IBP0c/s1600-h/blur.jpg"&gt;&lt;img style="cursor: pointer; width: 176px; height: 262px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTvmwE2Z_I/AAAAAAAAA5A/A5FGV2IBP0c/s320/blur.jpg" alt="" id="BLOGGER_PHOTO_ID_5387694503261267954" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTvnTTIyAI/AAAAAAAAA5I/gw-4oDcPo20/s1600-h/BlurNoise.jpg"&gt;&lt;img style="cursor: pointer; width: 174px; height: 262px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTvnTTIyAI/AAAAAAAAA5I/gw-4oDcPo20/s320/BlurNoise.jpg" alt="" id="BLOGGER_PHOTO_ID_5387694512716433410" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Details on the applied distortions are known beforehand. Restoration is then possible though utilizing functions to obtain the target restored image. Restoration comes in two forms, one is represented by the equation below (6) and the other one is given by equation 7.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsT5diinzWI/AAAAAAAAA6A/RMBxsG-C8KA/s1600-h/5.jpg"&gt;&lt;img style="cursor: pointer; width: 533px; height: 98px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsT5diinzWI/AAAAAAAAA6A/RMBxsG-C8KA/s320/5.jpg" alt="" id="BLOGGER_PHOTO_ID_5387705340125498722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsT555uUIBI/AAAAAAAAA6I/gk1WjHs8CZY/s1600-h/6.jpg"&gt;&lt;img style="cursor: pointer; width: 422px; height: 98px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsT555uUIBI/AAAAAAAAA6I/gk1WjHs8CZY/s320/6.jpg" alt="" id="BLOGGER_PHOTO_ID_5387705827384893458" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;After several attempts of trial and error, the best suited K value was 0.03. Surprisingly, the ratio between Sn and Sf is 25.194144. By virtue of comparison, K is equal to this ratio.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsT56Bgil_I/AAAAAAAAA6Q/lkIj1jriQUY/s1600-h/7.jpg"&gt;&lt;img style="cursor: pointer; width: 486px; height: 122px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsT56Bgil_I/AAAAAAAAA6Q/lkIj1jriQUY/s320/7.jpg" alt="" id="BLOGGER_PHOTO_ID_5387705829474605042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;And now we obtain the following restored images. It can be oberved that using the ration between Sn and Sf for each pixel in the image turned out to be a better restoration option than K estimates.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;Left: Restored (eqn 6), Right: Restored (eqn 7)&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTvny-M1pI/AAAAAAAAA5Q/mpPtDWxVqrY/s1600-h/Res1.jpg"&gt;&lt;img style="cursor: pointer; width: 196px; height: 290px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTvny-M1pI/AAAAAAAAA5Q/mpPtDWxVqrY/s320/Res1.jpg" alt="" id="BLOGGER_PHOTO_ID_5387694521218553490" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTvoB6PbwI/AAAAAAAAA5Y/w686kyPh4ok/s1600-h/Res2.jpg"&gt;&lt;img style="cursor: pointer; width: 194px; height: 290px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTvoB6PbwI/AAAAAAAAA5Y/w686kyPh4ok/s320/Res2.jpg" alt="" id="BLOGGER_PHOTO_ID_5387694525228478210" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Equation 6 is better than equation 7 since the latter only estimates a fixed value for K.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I give myself a grade of 10 for this activity. I think I have understood all concepts here.&lt;br /&gt;Thanks to Mandee and Carmen for the very interesting discussions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And since this is my last blog for this course, Thanks Ma'am Jing and Ma'am Gay for the patience, and brilliant mentoring. :D&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Lyrics: Portishead, Bob Dylan&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-5800961235499366044?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/5800961235499366044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/10/activity-19-restoration-of-blurred.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/5800961235499366044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/5800961235499366044'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/10/activity-19-restoration-of-blurred.html' title='Activity 19: Restoration of Blurred Image'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_MVP54MAwK0Y/SsT6N-0GFHI/AAAAAAAAA6Y/RTDnKr_HHR0/s72-c/1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-7377881142293919559</id><published>2009-10-01T09:36:00.000-07:00</published><updated>2009-10-12T10:35:23.192-07:00</updated><title type='text'>Activity 18: Noise Models and Basic Image Restorations</title><content type='html'>&lt;span style="font-style: italic;font-family:times new roman;" &gt;"You're gonna cry for pills&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;pre&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-style: italic;font-family:times new roman;" &gt;And your head's gonna be in a knot,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-family:times new roman;" &gt;But the pills are gonna cost more&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-family:times new roman;" &gt;Than what you've got."&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;span style="font-style: italic;font-family:times new roman;" &gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:Arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: justify;"&gt;This activity aims to create distorted images by adding different types of noises to them namely, Gaussian, Exponential, Rayleigh, Salt and Pepper, Erling and Normal noise. After which, the distorted images are restored through also different types of filters namely: Arithmetic, Contraharmonic positive, Contaharmonic negative, Exponential, Geometric, Harmonic.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTmx3UwRzI/AAAAAAAAA4o/0tOvtqAd30k/s1600-h/image.jpg"&gt;&lt;img style="cursor: pointer; width: 164px; height: 164px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTmx3UwRzI/AAAAAAAAA4o/0tOvtqAd30k/s320/image.jpg" alt="" id="BLOGGER_PHOTO_ID_5387684798580934450" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTmyLx4zNI/AAAAAAAAA4w/grXUqCWN-HY/s1600-h/histplot.bmp"&gt;&lt;img style="cursor: pointer; width: 251px; height: 168px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTmyLx4zNI/AAAAAAAAA4w/grXUqCWN-HY/s320/histplot.bmp" alt="" id="BLOGGER_PHOTO_ID_5387684804071836882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNlbSsRu8I/AAAAAAAABH8/cvO1rJPQtT0/s1600-h/drumg.jpg"&gt;&lt;img style="cursor: pointer; width: 229px; height: 229px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNlbSsRu8I/AAAAAAAABH8/cvO1rJPQtT0/s400/drumg.jpg" alt="" id="BLOGGER_PHOTO_ID_5391764698441038786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(http://medisinmusicforthemasses.files.wordpress.com/2008/10/terry_bozzio_drumset2.jpg)&lt;br /&gt;&lt;/div&gt; &lt;div style="text-align: center;"&gt;Original Image (left), Histogram (right)&lt;br /&gt;sample image(down)&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;We note that the visual differences are more often than not unnoticeable and thus negligible. Hence, there is a need to plot histograms for each of the images and interpret from them.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;SALT AND PEPPER&lt;/span&gt;&lt;br /&gt;(Salt and Pepper, Arithmetic, Contraharmonic positive, Contraharmonic negative, Geometric, Harmonic)&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTlaGiWGyI/AAAAAAAAA34/vXHQimsOAvs/s1600-h/SaltPep.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTlaGiWGyI/AAAAAAAAA34/vXHQimsOAvs/s320/SaltPep.jpg" alt="" id="BLOGGER_PHOTO_ID_5387683290835983138" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNg-d43bGI/AAAAAAAABF8/-BlCJECBsV0/s1600-h/SaltPep.bmp"&gt;&lt;img style="cursor: pointer; width: 119px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNg-d43bGI/AAAAAAAABF8/-BlCJECBsV0/s400/SaltPep.bmp" alt="" id="BLOGGER_PHOTO_ID_5391759805183913058" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNK_nBxicI/AAAAAAAAA_0/mVArv7jVgGQ/s1600-h/DSaltPepper.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNK_nBxicI/AAAAAAAAA_0/mVArv7jVgGQ/s400/DSaltPepper.jpg" alt="" id="BLOGGER_PHOTO_ID_5391735635561253314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTlacK7NdI/AAAAAAAAA4A/Y212YtK813E/s1600-h/SaltPepA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTlacK7NdI/AAAAAAAAA4A/Y212YtK813E/s320/SaltPepA.jpg" alt="" id="BLOGGER_PHOTO_ID_5387683296643331538" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNg-uDOXoI/AAAAAAAABGE/guSK6MbjKwg/s1600-h/SaltPepA.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNg-uDOXoI/AAAAAAAABGE/guSK6MbjKwg/s400/SaltPepA.bmp" alt="" id="BLOGGER_PHOTO_ID_5391759809522327170" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNLASTzo6I/AAAAAAAABAA/Fbz2vVYkH7U/s1600-h/SPdrumsA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNLASTzo6I/AAAAAAAABAA/Fbz2vVYkH7U/s400/SPdrumsA.jpg" alt="" id="BLOGGER_PHOTO_ID_5391735647179613090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTlaksN8pI/AAAAAAAAA4I/3N3P2IMwi60/s1600-h/SaltPepCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTlaksN8pI/AAAAAAAAA4I/3N3P2IMwi60/s320/SaltPepCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5387683298930455186" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNg_F2NjDI/AAAAAAAABGM/J7l6oCPUrWw/s1600-h/SaltPepCneg.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNg_F2NjDI/AAAAAAAABGM/J7l6oCPUrWw/s400/SaltPepCneg.bmp" alt="" id="BLOGGER_PHOTO_ID_5391759815910198322" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNMgno9JQI/AAAAAAAABA0/uVscMdCZzzU/s1600-h/SPdrumsCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNMgno9JQI/AAAAAAAABA0/uVscMdCZzzU/s400/SPdrumsCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5391737302172902658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTmwrfWmAI/AAAAAAAAA4Q/YaJ7Od_bWlI/s1600-h/SaltPepCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 91px; height: 91px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTmwrfWmAI/AAAAAAAAA4Q/YaJ7Od_bWlI/s320/SaltPepCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5387684778224293890" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNg_jIJyCI/AAAAAAAABGU/fmyoNbO_pZU/s1600-h/SaltPepCplus.bmp"&gt;&lt;img style="cursor: pointer; width: 119px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNg_jIJyCI/AAAAAAAABGU/fmyoNbO_pZU/s400/SaltPepCplus.bmp" alt="" id="BLOGGER_PHOTO_ID_5391759823770077218" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNLnAQjRfI/AAAAAAAABAM/WpiFxfmVomU/s1600-h/SPdrumsCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 91px; height: 91px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNLnAQjRfI/AAAAAAAABAM/WpiFxfmVomU/s400/SPdrumsCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5391736312349017586" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTmxDIn8EI/AAAAAAAAA4Y/n7_vWqtf3E8/s1600-h/SaltPepG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTmxDIn8EI/AAAAAAAAA4Y/n7_vWqtf3E8/s320/SaltPepG.jpg" alt="" id="BLOGGER_PHOTO_ID_5387684784571412546" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNhAItdjUI/AAAAAAAABGc/8O5SZo4lUkI/s1600-h/SaltPepG.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNhAItdjUI/AAAAAAAABGc/8O5SZo4lUkI/s400/SaltPepG.bmp" alt="" id="BLOGGER_PHOTO_ID_5391759833858673986" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNLnU4JGzI/AAAAAAAABAU/jaKXPWWWWwk/s1600-h/SPdrumsG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNLnU4JGzI/AAAAAAAABAU/jaKXPWWWWwk/s400/SPdrumsG.jpg" alt="" id="BLOGGER_PHOTO_ID_5391736317883783986" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTmxduABBI/AAAAAAAAA4g/P4dLngyRD8c/s1600-h/SaltPepH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTmxduABBI/AAAAAAAAA4g/P4dLngyRD8c/s320/SaltPepH.jpg" alt="" id="BLOGGER_PHOTO_ID_5387684791707501586" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNiW22vE1I/AAAAAAAABGk/_SazSsrDZAo/s1600-h/SaltPepH.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNiW22vE1I/AAAAAAAABGk/_SazSsrDZAo/s400/SaltPepH.bmp" alt="" id="BLOGGER_PHOTO_ID_5391761323714351954" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNLnoSWjQI/AAAAAAAABAc/hkhtWifLY_E/s1600-h/SPdrumsH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNLnoSWjQI/AAAAAAAABAc/hkhtWifLY_E/s400/SPdrumsH.jpg" alt="" id="BLOGGER_PHOTO_ID_5391736323093990658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;All types of filters except geometric filter seem to exhibit the same results.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;SALT&lt;/span&gt;&lt;br /&gt;(No filter, Arithmetic, Contraharmonic positive, Contaharmonic negative, Geometric, Harmonic)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTkEscXe0I/AAAAAAAAA2g/rtPX46a2JIk/s1600-h/Salt.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTkEscXe0I/AAAAAAAAA2g/rtPX46a2JIk/s320/Salt.jpg" alt="" id="BLOGGER_PHOTO_ID_5387681823542704962" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNiXOPGVbI/AAAAAAAABGs/uE__v8_aq9E/s1600-h/Salt.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNiXOPGVbI/AAAAAAAABGs/uE__v8_aq9E/s400/Salt.bmp" alt="" id="BLOGGER_PHOTO_ID_5391761329990555058" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNJWRU3oDI/AAAAAAAAA-I/0GTxWDdBhDU/s1600-h/DSalt.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNJWRU3oDI/AAAAAAAAA-I/0GTxWDdBhDU/s400/DSalt.jpg" alt="" id="BLOGGER_PHOTO_ID_5391733825849499698" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTkFMh81rI/AAAAAAAAA2o/srVgNJYPdvw/s1600-h/SaltA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTkFMh81rI/AAAAAAAAA2o/srVgNJYPdvw/s320/SaltA.jpg" alt="" id="BLOGGER_PHOTO_ID_5387681832156059314" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNiXhin9xI/AAAAAAAABG0/Tjy7zIU8R50/s1600-h/SaltA.bmp"&gt;&lt;img style="cursor: pointer; width: 121px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNiXhin9xI/AAAAAAAABG0/Tjy7zIU8R50/s400/SaltA.bmp" alt="" id="BLOGGER_PHOTO_ID_5391761335172724498" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNJWmepzPI/AAAAAAAAA-Q/3B4Yt3H4nIU/s1600-h/SdrumsA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNJWmepzPI/AAAAAAAAA-Q/3B4Yt3H4nIU/s400/SdrumsA.jpg" alt="" id="BLOGGER_PHOTO_ID_5391733831527681266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTkFaRc3hI/AAAAAAAAA2w/UZQi-Bl4UK8/s1600-h/SaltCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTkFaRc3hI/AAAAAAAAA2w/UZQi-Bl4UK8/s320/SaltCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5387681835844951570" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNiX0x0XqI/AAAAAAAABG8/jDdzP5vbqpc/s1600-h/SaltCneg.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNiX0x0XqI/AAAAAAAABG8/jDdzP5vbqpc/s400/SaltCneg.bmp" alt="" id="BLOGGER_PHOTO_ID_5391761340336725666" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNJXHsr4DI/AAAAAAAAA-Y/LE9F_nVwL1M/s1600-h/SdrumsCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNJXHsr4DI/AAAAAAAAA-Y/LE9F_nVwL1M/s400/SdrumsCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5391733840444907570" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTkFpDKq7I/AAAAAAAAA24/VKHDdtW605U/s1600-h/SaltCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTkFpDKq7I/AAAAAAAAA24/VKHDdtW605U/s320/SaltCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5387681839811570610" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNlaKr2DCI/AAAAAAAABHk/_5f7s4w6bfk/s1600-h/SaltCplus.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNlaKr2DCI/AAAAAAAABHk/_5f7s4w6bfk/s400/SaltCplus.bmp" alt="" id="BLOGGER_PHOTO_ID_5391764679111871522" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNK9xxa3mI/AAAAAAAAA_Q/gGDuuxggV6M/s1600-h/SdrumsCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNK9xxa3mI/AAAAAAAAA_Q/gGDuuxggV6M/s400/SdrumsCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5391735604085710434" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTlZHXp5oI/AAAAAAAAA3o/kACJnmozSfs/s1600-h/SaltG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTlZHXp5oI/AAAAAAAAA3o/kACJnmozSfs/s320/SaltG.jpg" alt="" id="BLOGGER_PHOTO_ID_5387683273879709314" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNlasZY5rI/AAAAAAAABHs/vR0idlsIwUg/s1600-h/SaltG.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNlasZY5rI/AAAAAAAABHs/vR0idlsIwUg/s400/SaltG.bmp" alt="" id="BLOGGER_PHOTO_ID_5391764688161269426" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNK-Vg7aHI/AAAAAAAAA_c/1mihankdbfg/s1600-h/SdrumsG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNK-Vg7aHI/AAAAAAAAA_c/1mihankdbfg/s400/SdrumsG.jpg" alt="" id="BLOGGER_PHOTO_ID_5391735613680216178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTlZpLXi9I/AAAAAAAAA3w/0O5BXTzXjwY/s1600-h/SaltH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTlZpLXi9I/AAAAAAAAA3w/0O5BXTzXjwY/s320/SaltH.jpg" alt="" id="BLOGGER_PHOTO_ID_5387683282954980306" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNlbM2PN8I/AAAAAAAABH0/zSdjPK-04pw/s1600-h/SaltH.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNlbM2PN8I/AAAAAAAABH0/zSdjPK-04pw/s400/SaltH.bmp" alt="" id="BLOGGER_PHOTO_ID_5391764696872204226" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNK_OCTtsI/AAAAAAAAA_o/y1c6rpu1Qwk/s1600-h/SdrumsH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNK_OCTtsI/AAAAAAAAA_o/y1c6rpu1Qwk/s400/SdrumsH.jpg" alt="" id="BLOGGER_PHOTO_ID_5391735628852606658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;All filters seem to have similar effect on this type of noise. Based on peaks presented in the histogram, Geometric filtering is the best among other types.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;RAYLEIGH&lt;/span&gt;&lt;br /&gt;(No filter, Arithmetic, Contraharmonic positive, Contaharmonic negative, Geometric, Harmonic)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTjVZ9pyJI/AAAAAAAAA1w/S4U-SdYkLjI/s1600-h/Ray.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTjVZ9pyJI/AAAAAAAAA1w/S4U-SdYkLjI/s320/Ray.jpg" alt="" id="BLOGGER_PHOTO_ID_5387681011128191122" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNaj-dLjDI/AAAAAAAABEc/t4A_bskPsM4/s1600-h/Ray.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNaj-dLjDI/AAAAAAAABEc/t4A_bskPsM4/s400/Ray.bmp" alt="" id="BLOGGER_PHOTO_ID_5391752752999926834" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNDol4KJoI/AAAAAAAAA7I/RlrlZdbrOYk/s1600-h/DRay.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNDol4KJoI/AAAAAAAAA7I/RlrlZdbrOYk/s400/DRay.jpg" alt="" id="BLOGGER_PHOTO_ID_5391727543534102146" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTjVhFlczI/AAAAAAAAA14/zm-mmUXk28E/s1600-h/RayA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTjVhFlczI/AAAAAAAAA14/zm-mmUXk28E/s320/RayA.jpg" alt="" id="BLOGGER_PHOTO_ID_5387681013040509746" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNakDYgrJI/AAAAAAAABEk/6KVctDcgUMQ/s1600-h/RayA.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNakDYgrJI/AAAAAAAABEk/6KVctDcgUMQ/s400/RayA.bmp" alt="" id="BLOGGER_PHOTO_ID_5391752754322517138" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNDNcwNwpI/AAAAAAAAA6g/SyP39FGvpO0/s1600-h/RaydrumsA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNDNcwNwpI/AAAAAAAAA6g/SyP39FGvpO0/s400/RaydrumsA.jpg" alt="" id="BLOGGER_PHOTO_ID_5391727077228397202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTjV8HiPPI/AAAAAAAAA2A/RztD4wZCsx4/s1600-h/RayCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTjV8HiPPI/AAAAAAAAA2A/RztD4wZCsx4/s320/RayCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5387681020296445170" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNakZbaEkI/AAAAAAAABEs/OAv3tngf2P4/s1600-h/RayCneg.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNakZbaEkI/AAAAAAAABEs/OAv3tngf2P4/s400/RayCneg.bmp" alt="" id="BLOGGER_PHOTO_ID_5391752760240247362" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNDN-PJ-9I/AAAAAAAAA6o/taK3tQ9oixY/s1600-h/RaydrumsCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNDN-PJ-9I/AAAAAAAAA6o/taK3tQ9oixY/s400/RaydrumsCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5391727086216543186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTjWdtM3AI/AAAAAAAAA2I/pFjOHCPhSMA/s1600-h/RayCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTjWdtM3AI/AAAAAAAAA2I/pFjOHCPhSMA/s320/RayCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5387681029312797698" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNakx3iTFI/AAAAAAAABE0/P9xMxGc7LOc/s1600-h/RayCplus.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNakx3iTFI/AAAAAAAABE0/P9xMxGc7LOc/s400/RayCplus.bmp" alt="" id="BLOGGER_PHOTO_ID_5391752766800677970" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNDOZK-aCI/AAAAAAAAA6w/jn-yL1qsC9M/s1600-h/RaydrumsCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNDOZK-aCI/AAAAAAAAA6w/jn-yL1qsC9M/s400/RaydrumsCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5391727093446764578" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTjWibeICI/AAAAAAAAA2Q/q7jB70z8dic/s1600-h/RayG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTjWibeICI/AAAAAAAAA2Q/q7jB70z8dic/s320/RayG.jpg" alt="" id="BLOGGER_PHOTO_ID_5387681030580609058" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNalMTlrUI/AAAAAAAABE8/3o29X4XJLQE/s1600-h/RayG.bmp"&gt;&lt;img style="cursor: pointer; width: 119px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNalMTlrUI/AAAAAAAABE8/3o29X4XJLQE/s400/RayG.bmp" alt="" id="BLOGGER_PHOTO_ID_5391752773897661762" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNDO5cPfeI/AAAAAAAAA64/Tt3RKWI67KQ/s1600-h/RaydrumsG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNDO5cPfeI/AAAAAAAAA64/Tt3RKWI67KQ/s400/RaydrumsG.jpg" alt="" id="BLOGGER_PHOTO_ID_5391727102109122018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTkEU4UpkI/AAAAAAAAA2Y/sE5SbLUsvig/s1600-h/RayH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTkEU4UpkI/AAAAAAAAA2Y/sE5SbLUsvig/s320/RayH.jpg" alt="" id="BLOGGER_PHOTO_ID_5387681817217508930" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNbUtOwrkI/AAAAAAAABFE/AWUIvjJN6Zk/s1600-h/RayH.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNbUtOwrkI/AAAAAAAABFE/AWUIvjJN6Zk/s400/RayH.bmp" alt="" id="BLOGGER_PHOTO_ID_5391753590189633090" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNDPMdm-xI/AAAAAAAAA7A/Wb-IXg7gays/s1600-h/RaydrumsH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNDPMdm-xI/AAAAAAAAA7A/Wb-IXg7gays/s400/RaydrumsH.jpg" alt="" id="BLOGGER_PHOTO_ID_5391727107215129362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Arithmetic filtering works best for this type of noise as seen on the histogram. Peaks are best portrayed in this type of filtering method.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PEPPER&lt;/span&gt;&lt;br /&gt;(No filter, Arithmetic, Contraharmonic positive, Contaharmonic negative, Geometric, Harmonic)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTiS8X4DnI/AAAAAAAAA1A/FG92tpd5GmI/s1600-h/Pep.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTiS8X4DnI/AAAAAAAAA1A/FG92tpd5GmI/s320/Pep.jpg" alt="" id="BLOGGER_PHOTO_ID_5387679869313748594" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNcZdjxYiI/AAAAAAAABFM/0VvTnJE7OAo/s1600-h/Pep.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNcZdjxYiI/AAAAAAAABFM/0VvTnJE7OAo/s400/Pep.bmp" alt="" id="BLOGGER_PHOTO_ID_5391754771393765922" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNLoNQ5IdI/AAAAAAAABAk/31JsHO-bpog/s1600-h/DPepper.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNLoNQ5IdI/AAAAAAAABAk/31JsHO-bpog/s400/DPepper.jpg" alt="" id="BLOGGER_PHOTO_ID_5391736333019980242" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTi502u8YI/AAAAAAAAA1I/LsVVdFysBH8/s1600-h/PepA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTi502u8YI/AAAAAAAAA1I/LsVVdFysBH8/s320/PepA.jpg" alt="" id="BLOGGER_PHOTO_ID_5387680537310589314" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNcZ7c1wAI/AAAAAAAABFU/1bCP_Wq9hJg/s1600-h/PepA.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNcZ7c1wAI/AAAAAAAABFU/1bCP_Wq9hJg/s400/PepA.bmp" alt="" id="BLOGGER_PHOTO_ID_5391754779417755650" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNLohjCrbI/AAAAAAAABAs/rzrrD-Dylkw/s1600-h/PdrumsA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNLohjCrbI/AAAAAAAABAs/rzrrD-Dylkw/s400/PdrumsA.jpg" alt="" id="BLOGGER_PHOTO_ID_5391736338464812466" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTi6Y3SngI/AAAAAAAAA1Q/p74jZnb43u4/s1600-h/PepCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTi6Y3SngI/AAAAAAAAA1Q/p74jZnb43u4/s320/PepCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5387680546976603650" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNcafBjb6I/AAAAAAAABFc/sT95L5idWQ8/s1600-h/PepCneg.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNcafBjb6I/AAAAAAAABFc/sT95L5idWQ8/s400/PepCneg.bmp" alt="" id="BLOGGER_PHOTO_ID_5391754788966985634" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNMg_zdcNI/AAAAAAAABA8/9dX868R35Zw/s1600-h/PdrumsCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNMg_zdcNI/AAAAAAAABA8/9dX868R35Zw/s400/PdrumsCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5391737308659413202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTi6hSw-AI/AAAAAAAAA1Y/7zvi_UiGJsc/s1600-h/PepCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTi6hSw-AI/AAAAAAAAA1Y/7zvi_UiGJsc/s320/PepCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5387680549239322626" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNcavaF9oI/AAAAAAAABFk/gG_5OaIVtkM/s1600-h/PepCplus.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNcavaF9oI/AAAAAAAABFk/gG_5OaIVtkM/s400/PepCplus.bmp" alt="" id="BLOGGER_PHOTO_ID_5391754793364878978" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNMhbiwlfI/AAAAAAAABBE/KHVFOTKZTMs/s1600-h/PdrumsCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNMhbiwlfI/AAAAAAAABBE/KHVFOTKZTMs/s400/PdrumsCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5391737316105557490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTi65AE37I/AAAAAAAAA1g/AdfCdLCuG4k/s1600-h/PepG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTi65AE37I/AAAAAAAAA1g/AdfCdLCuG4k/s320/PepG.jpg" alt="" id="BLOGGER_PHOTO_ID_5387680555603386290" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNcbJb9_aI/AAAAAAAABFs/tF1eNk8APdI/s1600-h/PepG.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNcbJb9_aI/AAAAAAAABFs/tF1eNk8APdI/s400/PepG.bmp" alt="" id="BLOGGER_PHOTO_ID_5391754800352066978" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNMh9rNHSI/AAAAAAAABBM/24tUwMabI1E/s1600-h/PdrumsG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNMh9rNHSI/AAAAAAAABBM/24tUwMabI1E/s400/PdrumsG.jpg" alt="" id="BLOGGER_PHOTO_ID_5391737325267787042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTi7VDaGsI/AAAAAAAAA1o/nY5sUsQtMhc/s1600-h/PepH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTi7VDaGsI/AAAAAAAAA1o/nY5sUsQtMhc/s320/PepH.jpg" alt="" id="BLOGGER_PHOTO_ID_5387680563133553346" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNeRdX-zSI/AAAAAAAABF0/qEEXhFMJngk/s1600-h/PepH.bmp"&gt;&lt;img style="cursor: pointer; width: 121px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNeRdX-zSI/AAAAAAAABF0/qEEXhFMJngk/s400/PepH.bmp" alt="" id="BLOGGER_PHOTO_ID_5391756832928615714" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNMiIA2N4I/AAAAAAAABBU/5r1-DxKdpE0/s1600-h/PdrumsH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNMiIA2N4I/AAAAAAAABBU/5r1-DxKdpE0/s400/PdrumsH.jpg" alt="" id="BLOGGER_PHOTO_ID_5391737328042915714" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Nothing seems to work for the Pepper noise.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;NORMAL&lt;/span&gt;&lt;br /&gt;(No filter, Arithmetic, Contraharmonic positive, Contaharmonic negative,Geometric, Harmonic)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTe5r9muJI/AAAAAAAAA0Q/rYPQbwV6DXY/s1600-h/Normal.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTe5r9muJI/AAAAAAAAA0Q/rYPQbwV6DXY/s320/Normal.jpg" alt="" id="BLOGGER_PHOTO_ID_5387676136876980370" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNVfb86zyI/AAAAAAAABDs/g_9mpRnqzzs/s1600-h/Norm.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNVfb86zyI/AAAAAAAABDs/g_9mpRnqzzs/s400/Norm.bmp" alt="" id="BLOGGER_PHOTO_ID_5391747177460191010" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNIbaY4bFI/AAAAAAAAA9g/IHGGPqwxCo4/s1600-h/DNorm.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNIbaY4bFI/AAAAAAAAA9g/IHGGPqwxCo4/s400/DNorm.jpg" alt="" id="BLOGGER_PHOTO_ID_5391732814669966418" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTe6RxRD0I/AAAAAAAAA0Y/Aj8ciM6va3s/s1600-h/NormalA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTe6RxRD0I/AAAAAAAAA0Y/Aj8ciM6va3s/s320/NormalA.jpg" alt="" id="BLOGGER_PHOTO_ID_5387676147025776450" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNVf-WTEXI/AAAAAAAABD0/R9ApxB9GbGg/s1600-h/NormalA.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNVf-WTEXI/AAAAAAAABD0/R9ApxB9GbGg/s400/NormalA.bmp" alt="" id="BLOGGER_PHOTO_ID_5391747186693443954" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNIb7VTHPI/AAAAAAAAA9o/iRjawBQ6fH4/s1600-h/NdrumsA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNIb7VTHPI/AAAAAAAAA9o/iRjawBQ6fH4/s400/NdrumsA.jpg" alt="" id="BLOGGER_PHOTO_ID_5391732823513308402" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTiRXy_MtI/AAAAAAAAA0g/0QC8T320Fes/s1600-h/NormalCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTiRXy_MtI/AAAAAAAAA0g/0QC8T320Fes/s320/NormalCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5387679842315481810" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNVgOZalHI/AAAAAAAABD8/qbAaOY8_7yk/s1600-h/NormalCneg.bmp"&gt;&lt;img style="cursor: pointer; width: 119px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNVgOZalHI/AAAAAAAABD8/qbAaOY8_7yk/s400/NormalCneg.bmp" alt="" id="BLOGGER_PHOTO_ID_5391747191001486450" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNIccDOgHI/AAAAAAAAA9w/ovGtWR1bUpo/s1600-h/NdrumsCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNIccDOgHI/AAAAAAAAA9w/ovGtWR1bUpo/s400/NdrumsCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5391732832295878770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTiRg4CzbI/AAAAAAAAA0o/gPcr-lYlZBc/s1600-h/NormalCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTiRg4CzbI/AAAAAAAAA0o/gPcr-lYlZBc/s320/NormalCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5387679844752608690" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNVgoWPbYI/AAAAAAAABEE/BUidZgZjZFU/s1600-h/NormalCplus.bmp"&gt;&lt;img style="cursor: pointer; width: 119px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNVgoWPbYI/AAAAAAAABEE/BUidZgZjZFU/s400/NormalCplus.bmp" alt="" id="BLOGGER_PHOTO_ID_5391747197967494530" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNKJ22H8EI/AAAAAAAAA-g/VlVLbq9oCR4/s1600-h/NdrumsCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNKJ22H8EI/AAAAAAAAA-g/VlVLbq9oCR4/s400/NdrumsCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5391734712094421058" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTiSDWxubI/AAAAAAAAA0w/zJbzYfqN2U8/s1600-h/NormalG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTiSDWxubI/AAAAAAAAA0w/zJbzYfqN2U8/s320/NormalG.jpg" alt="" id="BLOGGER_PHOTO_ID_5387679854008318386" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNVhN6wDfI/AAAAAAAABEM/SfzFkVDbEQI/s1600-h/NormalG.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNVhN6wDfI/AAAAAAAABEM/SfzFkVDbEQI/s400/NormalG.bmp" alt="" id="BLOGGER_PHOTO_ID_5391747208052739570" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNJVrsWCHI/AAAAAAAAA94/HUMmniJzAXo/s1600-h/NdrumsG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNJVrsWCHI/AAAAAAAAA94/HUMmniJzAXo/s400/NdrumsG.jpg" alt="" id="BLOGGER_PHOTO_ID_5391733815747414130" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTiSXZcC7I/AAAAAAAAA04/epB-eJZwIbc/s1600-h/NormalH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTiSXZcC7I/AAAAAAAAA04/epB-eJZwIbc/s320/NormalH.jpg" alt="" id="BLOGGER_PHOTO_ID_5387679859388189618" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNYGlf7SnI/AAAAAAAABEU/k3zXo062taI/s1600-h/NormalH.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNYGlf7SnI/AAAAAAAABEU/k3zXo062taI/s400/NormalH.bmp" alt="" id="BLOGGER_PHOTO_ID_5391750049061096050" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNJV1SMMOI/AAAAAAAAA-A/4LKU6E1ZY-w/s1600-h/NdrumsH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNJV1SMMOI/AAAAAAAAA-A/4LKU6E1ZY-w/s400/NdrumsH.jpg" alt="" id="BLOGGER_PHOTO_ID_5391733818322071778" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Positive Contraharmonic exhibited the best type of filtering method for this type of noise based on peaks of histogram. Geometric on the other hand shows more traces of leftover noise than the rest of the filters used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;GAUSS&lt;/span&gt;&lt;br /&gt;(No filter, Arithmetic, Contraharmonic positive, Contaharmonic negative,Geometric, Harmonic)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTd1e9lQUI/AAAAAAAAAzg/iqdsI0IwdKg/s1600-h/Gauss.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTd1e9lQUI/AAAAAAAAAzg/iqdsI0IwdKg/s320/Gauss.jpg" alt="" id="BLOGGER_PHOTO_ID_5387674965156118850" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNUDuempWI/AAAAAAAABC8/zbfgsS4Cq4I/s1600-h/Gauss.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNUDuempWI/AAAAAAAABC8/zbfgsS4Cq4I/s400/Gauss.bmp" alt="" id="BLOGGER_PHOTO_ID_5391745601885349218" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNFMbOtyfI/AAAAAAAAA8w/fK6ROwJS2ks/s1600-h/DGauss.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNFMbOtyfI/AAAAAAAAA8w/fK6ROwJS2ks/s400/DGauss.jpg" alt="" id="BLOGGER_PHOTO_ID_5391729258662840818" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTd1nmioWI/AAAAAAAAAzo/6-kdjWX-Dx0/s1600-h/GaussA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTd1nmioWI/AAAAAAAAAzo/6-kdjWX-Dx0/s320/GaussA.jpg" alt="" id="BLOGGER_PHOTO_ID_5387674967475396962" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNUDxq6UBI/AAAAAAAABDE/OMpzNQrG4dY/s1600-h/GaussA.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNUDxq6UBI/AAAAAAAABDE/OMpzNQrG4dY/s400/GaussA.bmp" alt="" id="BLOGGER_PHOTO_ID_5391745602742276114" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNFNRKHViI/AAAAAAAAA9I/dRe6Dnfj4os/s1600-h/GdrumsCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNFNRKHViI/AAAAAAAAA9I/dRe6Dnfj4os/s400/GdrumsCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5391729273139058210" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTd2GHt2eI/AAAAAAAAAzw/KnqK4sQ1cbc/s1600-h/ExCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTd2GHt2eI/AAAAAAAAAzw/KnqK4sQ1cbc/s320/ExCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5387674975667608034" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNUEd-fQrI/AAAAAAAABDM/98jDavYSLiU/s1600-h/GaussCneg.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNUEd-fQrI/AAAAAAAABDM/98jDavYSLiU/s400/GaussCneg.bmp" alt="" id="BLOGGER_PHOTO_ID_5391745614635549362" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNFNGXjyyI/AAAAAAAAA9A/zUM-XRmzZcg/s1600-h/GdrumsCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNFNGXjyyI/AAAAAAAAA9A/zUM-XRmzZcg/s400/GdrumsCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5391729270242659106" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTe4SWphsI/AAAAAAAAAz4/Js5Wi5CABbY/s1600-h/GaussCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTe4SWphsI/AAAAAAAAAz4/Js5Wi5CABbY/s320/GaussCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5387676112822830786" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNUEh2HnJI/AAAAAAAABDU/YKs9mLMGwdk/s1600-h/GaussCplus.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNUEh2HnJI/AAAAAAAABDU/YKs9mLMGwdk/s400/GaussCplus.bmp" alt="" id="BLOGGER_PHOTO_ID_5391745615674186898" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNFM2ycpWI/AAAAAAAAA84/K2GXYxS1K4M/s1600-h/GdrumsA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNFM2ycpWI/AAAAAAAAA84/K2GXYxS1K4M/s400/GdrumsA.jpg" alt="" id="BLOGGER_PHOTO_ID_5391729266060469602" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTe4upeD3I/AAAAAAAAA0A/ZIFlfngKV1k/s1600-h/NormalG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTe4upeD3I/AAAAAAAAA0A/ZIFlfngKV1k/s320/NormalG.jpg" alt="" id="BLOGGER_PHOTO_ID_5387676120417963890" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNUFINB5pI/AAAAAAAABDc/U4_kKNdM9TE/s1600-h/GaussG.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNUFINB5pI/AAAAAAAABDc/U4_kKNdM9TE/s400/GaussG.bmp" alt="" id="BLOGGER_PHOTO_ID_5391745625970828946" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNIamHFe7I/AAAAAAAAA9Q/geCEoGYo87o/s1600-h/GdrumsG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNIamHFe7I/AAAAAAAAA9Q/geCEoGYo87o/s400/GdrumsG.jpg" alt="" id="BLOGGER_PHOTO_ID_5391732800636681138" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTe5D5sp6I/AAAAAAAAA0I/b_qxEeNvaXQ/s1600-h/GaussH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTe5D5sp6I/AAAAAAAAA0I/b_qxEeNvaXQ/s320/GaussH.jpg" alt="" id="BLOGGER_PHOTO_ID_5387676126123173794" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNUggZD3ZI/AAAAAAAABDk/JhbtGs0EhCM/s1600-h/GaussH.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNUggZD3ZI/AAAAAAAABDk/JhbtGs0EhCM/s400/GaussH.bmp" alt="" id="BLOGGER_PHOTO_ID_5391746096320208274" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNIbNOQupI/AAAAAAAAA9Y/AKXhJMlnTMM/s1600-h/GdrumsH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNIbNOQupI/AAAAAAAAA9Y/AKXhJMlnTMM/s400/GdrumsH.jpg" alt="" id="BLOGGER_PHOTO_ID_5391732811135761042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Positive Contraharmonic is the best type of filtering for this type of noise as shown by the peaks of the histogram. Geometric filter on the other hand has a problem on leftover noise.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;EXPONENTIAL&lt;/span&gt;&lt;br /&gt;(No filter, Arithmetic, Contraharmonic positive, Contaharmonic negative, Geometric, Harmonic)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTcoDS73YI/AAAAAAAAAyw/Z0fYjmTql04/s1600-h/Ex.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTcoDS73YI/AAAAAAAAAyw/Z0fYjmTql04/s320/Ex.jpg" alt="" id="BLOGGER_PHOTO_ID_5387673634879561090" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNSnruz6lI/AAAAAAAABCM/tZY7r1IRjqw/s1600-h/Exp.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNSnruz6lI/AAAAAAAABCM/tZY7r1IRjqw/s400/Exp.bmp" alt="" id="BLOGGER_PHOTO_ID_5391744020600056402" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNEpeZjX-I/AAAAAAAAA8A/G8cvjDAjvkY/s1600-h/DExp.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNEpeZjX-I/AAAAAAAAA8A/G8cvjDAjvkY/s400/DExp.jpg" alt="" id="BLOGGER_PHOTO_ID_5391728658218180578" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTcoREAIhI/AAAAAAAAAy4/fSvGYxwAA6o/s1600-h/ExA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTcoREAIhI/AAAAAAAAAy4/fSvGYxwAA6o/s320/ExA.jpg" alt="" id="BLOGGER_PHOTO_ID_5387673638575022610" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNSn2hSPJI/AAAAAAAABCU/0iQvWHao9z0/s1600-h/ExA.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNSn2hSPJI/AAAAAAAABCU/0iQvWHao9z0/s400/ExA.bmp" alt="" id="BLOGGER_PHOTO_ID_5391744023496113298" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNEp5nNG-I/AAAAAAAAA8I/nZUApePZWWQ/s1600-h/ExpdrumsA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNEp5nNG-I/AAAAAAAAA8I/nZUApePZWWQ/s400/ExpdrumsA.jpg" alt="" id="BLOGGER_PHOTO_ID_5391728665523198946" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTcowr6hnI/AAAAAAAAAzA/u30XT8DYaHk/s1600-h/ExCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTcowr6hnI/AAAAAAAAAzA/u30XT8DYaHk/s320/ExCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5387673647063926386" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNSoRbY72I/AAAAAAAABCc/ABDQZtXjyM0/s1600-h/ExCneg.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNSoRbY72I/AAAAAAAABCc/ABDQZtXjyM0/s400/ExCneg.bmp" alt="" id="BLOGGER_PHOTO_ID_5391744030719143778" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNEqK8jGnI/AAAAAAAAA8Q/E596yHyppfk/s1600-h/ExpdrumsCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNEqK8jGnI/AAAAAAAAA8Q/E596yHyppfk/s400/ExpdrumsCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5391728670176123506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTcpOYDT5I/AAAAAAAAAzI/aakR7K68G44/s1600-h/ExCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTcpOYDT5I/AAAAAAAAAzI/aakR7K68G44/s320/ExCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5387673655033679762" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNSotpymlI/AAAAAAAABCk/wzTPF6lAK0k/s1600-h/ExCplus.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNSotpymlI/AAAAAAAABCk/wzTPF6lAK0k/s400/ExCplus.bmp" alt="" id="BLOGGER_PHOTO_ID_5391744038295738962" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNEqkZ6XuI/AAAAAAAAA8Y/iyaAHXpcpA4/s1600-h/ExpdrumsCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNEqkZ6XuI/AAAAAAAAA8Y/iyaAHXpcpA4/s400/ExpdrumsCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5391728677010169570" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTd0mdgKrI/AAAAAAAAAzQ/yK8CVheH6iE/s1600-h/ExG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTd0mdgKrI/AAAAAAAAAzQ/yK8CVheH6iE/s320/ExG.jpg" alt="" id="BLOGGER_PHOTO_ID_5387674949989182130" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNSpPwAZXI/AAAAAAAABCs/ZnqkOvG2ta8/s1600-h/ExG.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNSpPwAZXI/AAAAAAAABCs/ZnqkOvG2ta8/s400/ExG.bmp" alt="" id="BLOGGER_PHOTO_ID_5391744047448614258" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNEq6gkSlI/AAAAAAAAA8g/LEEOXDoATqc/s1600-h/ExpdrumsG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNEq6gkSlI/AAAAAAAAA8g/LEEOXDoATqc/s400/ExpdrumsG.jpg" alt="" id="BLOGGER_PHOTO_ID_5391728682943662674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTd1KRxtII/AAAAAAAAAzY/hvC8vpWnFac/s1600-h/ExH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTd1KRxtII/AAAAAAAAAzY/hvC8vpWnFac/s320/ExH.jpg" alt="" id="BLOGGER_PHOTO_ID_5387674959603676290" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNS4uYcstI/AAAAAAAABC0/A2ojc0URgv0/s1600-h/ExH.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNS4uYcstI/AAAAAAAABC0/A2ojc0URgv0/s400/ExH.bmp" alt="" id="BLOGGER_PHOTO_ID_5391744313369342674" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNFMGFxvFI/AAAAAAAAA8o/TRBBL_n7JsA/s1600-h/ExpdrumsH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNFMGFxvFI/AAAAAAAAA8o/TRBBL_n7JsA/s400/ExpdrumsH.jpg" alt="" id="BLOGGER_PHOTO_ID_5391729252988206162" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Geometric filtering is the best method here based on peaks of histogram.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;ERLANG&lt;/span&gt;&lt;br /&gt;(No filter, Arithmetic, Contraharmonic positive, Contaharmonic negative, Geometric, Harmonic)&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTbQosunoI/AAAAAAAAAyA/d1sDM5rtAms/s1600-h/Erlang.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SsTbQosunoI/AAAAAAAAAyA/d1sDM5rtAms/s320/Erlang.jpg" alt="" id="BLOGGER_PHOTO_ID_5387672133091368578" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNQ2B1ivlI/AAAAAAAABBc/f8MiUKCHG18/s1600-h/Erlang.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StNQ2B1ivlI/AAAAAAAABBc/f8MiUKCHG18/s400/Erlang.bmp" alt="" id="BLOGGER_PHOTO_ID_5391742068028784210" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StND5rgqyOI/AAAAAAAAA7Q/ssbSQkv0VsU/s1600-h/DErlang.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StND5rgqyOI/AAAAAAAAA7Q/ssbSQkv0VsU/s400/DErlang.jpg" alt="" id="BLOGGER_PHOTO_ID_5391727837103966434" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTbROLOUrI/AAAAAAAAAyI/eGX0mj_X5OE/s1600-h/ErlangA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTbROLOUrI/AAAAAAAAAyI/eGX0mj_X5OE/s320/ErlangA.jpg" alt="" id="BLOGGER_PHOTO_ID_5387672143151387314" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNQ2QsoTeI/AAAAAAAABBk/MY_e5Pg7inI/s1600-h/ErlangA.bmp"&gt;&lt;img style="cursor: pointer; width: 122px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNQ2QsoTeI/AAAAAAAABBk/MY_e5Pg7inI/s400/ErlangA.bmp" alt="" id="BLOGGER_PHOTO_ID_5391742072017931746" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StND5ye007I/AAAAAAAAA7Y/XZoBPcowIj4/s1600-h/ErldrumsA.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StND5ye007I/AAAAAAAAA7Y/XZoBPcowIj4/s400/ErldrumsA.jpg" alt="" id="BLOGGER_PHOTO_ID_5391727838975284146" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTbRut9fAI/AAAAAAAAAyQ/fBUD62yX4IU/s1600-h/ErlangCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTbRut9fAI/AAAAAAAAAyQ/fBUD62yX4IU/s320/ErlangCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5387672151887019010" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNQ24fyR9I/AAAAAAAABBs/OS6ir53dJtM/s1600-h/ErlangCneg.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StNQ24fyR9I/AAAAAAAABBs/OS6ir53dJtM/s400/ErlangCneg.bmp" alt="" id="BLOGGER_PHOTO_ID_5391742082701477842" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/StND6XkVmmI/AAAAAAAAA7g/Mqwv-LsY6ew/s1600-h/ErldrumsCneg.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/StND6XkVmmI/AAAAAAAAA7g/Mqwv-LsY6ew/s400/ErldrumsCneg.jpg" alt="" id="BLOGGER_PHOTO_ID_5391727848930515554" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTbSLx9WTI/AAAAAAAAAyY/rppu-p5AdLs/s1600-h/ErlangCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTbSLx9WTI/AAAAAAAAAyY/rppu-p5AdLs/s320/ErlangCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5387672159688415538" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNQ3AWIQmI/AAAAAAAABB0/StD2N6ISnf0/s1600-h/ErlangCplus.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNQ3AWIQmI/AAAAAAAABB0/StD2N6ISnf0/s400/ErlangCplus.bmp" alt="" id="BLOGGER_PHOTO_ID_5391742084808458850" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StND6o_P5xI/AAAAAAAAA7o/QgkbqkAmxNo/s1600-h/ErldrumsCplus.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StND6o_P5xI/AAAAAAAAA7o/QgkbqkAmxNo/s400/ErldrumsCplus.jpg" alt="" id="BLOGGER_PHOTO_ID_5391727853606790930" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTbSWeFvaI/AAAAAAAAAyg/LRf3YuLNwYQ/s1600-h/ErlangG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SsTbSWeFvaI/AAAAAAAAAyg/LRf3YuLNwYQ/s320/ErlangG.jpg" alt="" id="BLOGGER_PHOTO_ID_5387672162557869474" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNQ3XLLzvI/AAAAAAAABB8/AjA6hQ2Q7Wg/s1600-h/ErlangG.bmp"&gt;&lt;img style="cursor: pointer; width: 121px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNQ3XLLzvI/AAAAAAAABB8/AjA6hQ2Q7Wg/s400/ErlangG.bmp" alt="" id="BLOGGER_PHOTO_ID_5391742090936569586" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/StND7NkJT3I/AAAAAAAAA7w/VEuqdE69c2o/s1600-h/ErldrumsG.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/StND7NkJT3I/AAAAAAAAA7w/VEuqdE69c2o/s400/ErldrumsG.jpg" alt="" id="BLOGGER_PHOTO_ID_5391727863425224562" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTcnrorBLI/AAAAAAAAAyo/UjRHFoGKKmo/s1600-h/ErlangH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SsTcnrorBLI/AAAAAAAAAyo/UjRHFoGKKmo/s320/ErlangH.jpg" alt="" id="BLOGGER_PHOTO_ID_5387673628528280754" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNRoPFjrMI/AAAAAAAABCE/Rtyx3aR08SM/s1600-h/ErlangH.bmp"&gt;&lt;img style="cursor: pointer; width: 120px; height: 90px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/StNRoPFjrMI/AAAAAAAABCE/Rtyx3aR08SM/s400/ErlangH.bmp" alt="" id="BLOGGER_PHOTO_ID_5391742930579074242" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNEYT6jQwI/AAAAAAAAA74/CcqM9YxGN_8/s1600-h/ErldrumsH.jpg"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/StNEYT6jQwI/AAAAAAAAA74/CcqM9YxGN_8/s400/ErldrumsH.jpg" alt="" id="BLOGGER_PHOTO_ID_5391728363346019074" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Positive Contraharmonic works best for this type of noise.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Different types of filtering methods work for different types of noise. Hence, it is best to identify the type of noise beforehand and pick the appropriate filtering technique afterward.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Im not quite sure if the results i have obtained are correct. However, I still give myself a grade of 10 for this activity because I think i have understood all concepts.&lt;br /&gt;&lt;br /&gt;Thanks to Mandee and Carmen for pruductive discussions. And to Gilbert (of course) for the shortcut on Rayleigh Noise.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-7377881142293919559?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/7377881142293919559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/10/activity-18-noise-models-and-basic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/7377881142293919559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/7377881142293919559'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/10/activity-18-noise-models-and-basic.html' title='Activity 18: Noise Models and Basic Image Restorations'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_MVP54MAwK0Y/SsTmx3UwRzI/AAAAAAAAA4o/0tOvtqAd30k/s72-c/image.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-8015077921091028550</id><published>2009-09-09T19:11:00.000-07:00</published><updated>2009-10-12T03:47:20.984-07:00</updated><title type='text'>Activity 17: Photometric Stereo</title><content type='html'>&lt;font size="2"&gt;&lt;font style="font-style: italic;"&gt;"... You're gonna need&lt;/font&gt; &lt;font style="font-style: italic;"&gt;&lt;br /&gt;You're gonna need my help someday&lt;/font&gt;&lt;br /&gt;&lt;font style="font-style: italic;"&gt;Well, if you can't quit your shinnin'&lt;/font&gt; &lt;/font&gt;&lt;font style="font-style: italic;"&gt;&lt;font size="2"&gt;&lt;br /&gt;Please quit your low down ways.&lt;/font&gt;"&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Photometric Stereo is a technique used by computers to view object surfaces through exposing them to different types of lighting conditions [1]. This activity aims to extract shapes of surfaces illuminated under four types of lighting conditions.&lt;br /&gt;&lt;br /&gt;We can estimate shapes of surfaces by taking several pictures of the surface of the image exposed to light source at different locations. Shadows on the images contain the necessaty infromation for surface rescontrcution. In our case, four images of a spherical object exposed under four types of lighting conditions brought upon by four different locations the light source is located which are imbedded in a  matlab file were initially extracted. Images of I1, I2, I3 and I4 are respectively shown below.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;I1, I2&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sqhqp_J1beI/AAAAAAAAAxg/f0kNAWdCnGc/s1600-h/I1.jpg"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sqhqp_J1beI/AAAAAAAAAxg/f0kNAWdCnGc/s320/I1.jpg" alt="" id="BLOGGER_PHOTO_ID_5379667024453922274" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SqhqqLaMigI/AAAAAAAAAxo/0_nEd6VVE7g/s1600-h/I2.jpg"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SqhqqLaMigI/AAAAAAAAAxo/0_nEd6VVE7g/s320/I2.jpg" alt="" id="BLOGGER_PHOTO_ID_5379667027743771138" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SqhqqsCGsZI/AAAAAAAAAxw/UGD34BqDPj4/s1600-h/I3.jpg"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SqhqqsCGsZI/AAAAAAAAAxw/UGD34BqDPj4/s320/I3.jpg" alt="" id="BLOGGER_PHOTO_ID_5379667036501094802" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SqhqrBlREMI/AAAAAAAAAx4/Br5fFDBJFBU/s1600-h/I4.jpg"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SqhqrBlREMI/AAAAAAAAAx4/Br5fFDBJFBU/s320/I4.jpg" alt="" id="BLOGGER_PHOTO_ID_5379667042285719746" border="0"&gt;&lt;/a&gt;&lt;br /&gt;I3, I4&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Which leads to the construction of a matrix of locations of the following form:&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SqhqZmMoivI/AAAAAAAAAww/7LGAU4omcrs/s1600-h/1.bmp"&gt;&lt;img style="cursor: pointer; width: 320px; height: 213px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SqhqZmMoivI/AAAAAAAAAww/7LGAU4omcrs/s320/1.bmp" alt="" id="BLOGGER_PHOTO_ID_5379666742876867314" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;V ( already provided) is equal to the following matrix in this activity&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;font style="font-weight: bold;"&gt;0.085832        0.17365      0.98106&lt;/font&gt; &lt;font style="font-weight: bold;"&gt;    0.085832       - 0.17365     0.98106&lt;/font&gt; &lt;font style="font-weight: bold;"&gt;    0.17365             0.               0.98481&lt;/font&gt; &lt;font style="font-weight: bold;"&gt;    0.16318      - 0.34202      0.92542 &lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Each row corresponds to the N number light sources while columns indicate correspodning x,y and z coordinates. I and V are already provided. We can now compute for g:&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SqhqZzgxt5I/AAAAAAAAAw4/zv6SZviD-dE/s1600-h/2.bmp"&gt;&lt;img style="cursor: pointer; width: 266px; height: 75px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SqhqZzgxt5I/AAAAAAAAAw4/zv6SZviD-dE/s320/2.bmp" alt="" id="BLOGGER_PHOTO_ID_5379666746451015570" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;and solve for the normal vector n:&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SqhqajrvClI/AAAAAAAAAxA/wgD1Of1uW8g/s1600-h/3.bmp"&gt;&lt;img style="cursor: pointer; width: 102px; height: 98px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SqhqajrvClI/AAAAAAAAAxA/wgD1Of1uW8g/s320/3.bmp" alt="" id="BLOGGER_PHOTO_ID_5379666759381879378" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To get the shape of the sphere from the normal, the elevation z whcih is also a function of x and y is computed through the following formula&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sqhqbw5LaQI/AAAAAAAAAxQ/vUQwH8Wu8t8/s1600-h/5.bmp"&gt;&lt;img style="cursor: pointer; width: 334px; height: 93px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sqhqbw5LaQI/AAAAAAAAAxQ/vUQwH8Wu8t8/s320/5.bmp" alt="" id="BLOGGER_PHOTO_ID_5379666780107794690" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;where&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sqhqa92R7qI/AAAAAAAAAxI/vC9KZ4vE5Ns/s1600-h/4.bmp"&gt;&lt;img style="cursor: pointer; width: 320px; height: 100px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sqhqa92R7qI/AAAAAAAAAxI/vC9KZ4vE5Ns/s320/4.bmp" alt="" id="BLOGGER_PHOTO_ID_5379666766405430946" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The final 3d constrcution obtained is shown below.&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SqhqpqhJZOI/AAAAAAAAAxY/ipo5lFVi6WE/s1600-h/3dplot.bmp"&gt;&lt;img style="cursor: pointer; width: 483px; height: 295px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SqhqpqhJZOI/AAAAAAAAAxY/ipo5lFVi6WE/s320/3dplot.bmp" alt="" id="BLOGGER_PHOTO_ID_5379667018914555106" border="0"&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Reference:&lt;br /&gt;[1] http://en.wikipedia.org/wiki/Photometric_Stereo&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-8015077921091028550?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/8015077921091028550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/09/activity-17-photometric-stereo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/8015077921091028550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/8015077921091028550'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/09/activity-17-photometric-stereo.html' title='Activity 17: Photometric Stereo'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_MVP54MAwK0Y/Sqhqp_J1beI/AAAAAAAAAxg/f0kNAWdCnGc/s72-c/I1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-8347535760277250042</id><published>2009-09-06T09:16:00.000-07:00</published><updated>2009-10-12T03:47:20.990-07:00</updated><title type='text'>Activity 16: Neural Networks</title><content type='html'>&lt;br /&gt;&lt;br /&gt;&lt;font style="font-style: italic;"&gt;".. The sweet pretty things are in bed now of course&lt;/font&gt; &lt;font style="font-style: italic;"&gt;The city fathers they're trying to endorse"&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Numerous processes are known to classify objects among classes they belong to. Linear Discriminant Analysis was already implemented in the previous experiment. This acivity introduces yet another effective classifier known as a neural network. It is a computational model of how neurons in the brain work. The latter method is known more effective than LDA since it is independent of recognition rules to perform classification. The neural network is initially fed with information through which it learns from these set of examples. Once a new set of information is tested on the neural network, it then readily classifies these elements based on previously acquired knowledge.&lt;br /&gt;&lt;br /&gt;Again, we use the same sets of data values used in the previous activities. Through the code provided by Cole, a student of AP 186 a year ago, computed class was approximated and was found to perfectly correspond to the actual classes the elements belong to. Thus, we can now say that the network has indeed learned from the information fed to it. It is now ready to classify the second half of the data set (test set).&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SqPyDr4PpfI/AAAAAAAAAwg/eu7K3EHWwDs/s1600-h/train.bmp"&gt;&lt;img style="cursor: pointer; width: 659px; height: 240px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SqPyDr4PpfI/AAAAAAAAAwg/eu7K3EHWwDs/s320/train.bmp" alt="" id="BLOGGER_PHOTO_ID_5378408525142664690" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Following the same procedures as the training set, we get the following results as summarized in the table below.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SqPyEKKCL7I/AAAAAAAAAwo/1unzqOXdAzI/s1600-h/test.bmp"&gt;&lt;img style="cursor: pointer; width: 658px; height: 248px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SqPyEKKCL7I/AAAAAAAAAwo/1unzqOXdAzI/s320/test.bmp" alt="" id="BLOGGER_PHOTO_ID_5378408533270343602" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Once again, predictions were found to be 100% accurate for all elements in the set.&lt;br /&gt;&lt;br /&gt;Rating: 10&lt;br /&gt;I have understood all concepts in this activity.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-8347535760277250042?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/8347535760277250042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/09/activity-16-neural-networks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/8347535760277250042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/8347535760277250042'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/09/activity-16-neural-networks.html' title='Activity 16: Neural Networks'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_MVP54MAwK0Y/SqPyDr4PpfI/AAAAAAAAAwg/eu7K3EHWwDs/s72-c/train.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-5686324630811887453</id><published>2009-09-03T11:36:00.000-07:00</published><updated>2009-10-12T03:47:20.995-07:00</updated><title type='text'>Activity15: Probabilistic Classification</title><content type='html'>&lt;font style="font-style: italic;"&gt;"...If the wine don't come to the top of yer cup&lt;/font&gt;&lt;br /&gt;&lt;font style="font-style: italic;"&gt; If the wind's got you sideways with with one hand holdin' on&lt;/font&gt; &lt;font style="font-style: italic;"&gt;&lt;br /&gt;And the other starts slipping and the feeling is gone"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;div style="text-align: justify;"&gt;&lt;font&gt;This activity used similar samples as in the previous activity (sample group 1: Pillows which are wafer covered chocolate and sample group 2: Cheezit which are cheese flavored chips).&lt;/font&gt;&lt;font style="font-style: italic;"&gt; &lt;/font&gt;&lt;font&gt;Classification among the two major classes was already done in the previous exercise. However, a problem arises if a classifier wrongly groups certain samples into their appropriate classes. The aim here is to minimize the risk or loss in classification through a statistical method known as Linear Discrimant Analysis (LDA).&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;LDA is a method used in Statistics to find linear combination of features or characteristics which best separate two or more classes of objects or events [1]. In other words, LDA is an effective classifier of objects based on features they exhibit.&lt;br /&gt;&lt;br /&gt;Now we start with a training set composed of 4 Pillows assigned class 1 and 4 Cheezit assigned class 2. Following all steps provided by the LDA tutorial in [2] and implementing them in Scilab, we come up with values together with discriminant functions shown below.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SqPQ8kMnoJI/AAAAAAAAAwQ/OWqzbUATYmI/s1600-h/training.bmp"&gt;&lt;img style="cursor: pointer; width: 667px; height: 193px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SqPQ8kMnoJI/AAAAAAAAAwQ/OWqzbUATYmI/s320/training.bmp" alt="" id="BLOGGER_PHOTO_ID_5378372118937837714" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Discriminant functions (f1 and f2) take full responsibility for classifying between classes Pillows (1) and Cheezit (2). For each element in the set,  a comparison is made between the two functions wherein the larger valued function takes over (e.g. if f1&gt;f2 means object belongs to class 1). Results show that LDA exhibited 0% classification error. Indeed, the first 4 elements highlighted in brown were precisely classified belonging to the class Pillows and correspondingly the last four elements highlighted in yellow as Cheezit.&lt;br /&gt;&lt;br /&gt;Now we use the same method for the test samples. Results are shown below.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SqPQ80C-QYI/AAAAAAAAAwY/fgl8e-UrZRk/s1600-h/test.bmp"&gt;&lt;img style="cursor: pointer; width: 669px; height: 195px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SqPQ80C-QYI/AAAAAAAAAwY/fgl8e-UrZRk/s320/test.bmp" alt="" id="BLOGGER_PHOTO_ID_5378372123192344962" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;All of the samples in the test set were classified correctly. LDA is thus an effective method for classifying objects to their respective classes.&lt;br /&gt;&lt;br /&gt;&lt;font&gt;Reference:&lt;br /&gt;[1] http://en.wikipedia.org/wiki/Linear_discriminant_analysis&lt;br /&gt;[2] http://people.revoledu.com/kardi/tutorial/LDA/Numerical%20Example.html&lt;br /&gt;&lt;br /&gt;Rating: 10&lt;br /&gt;I think I have fully understood all concepts discussed here. All elements were classified precisely.&lt;br /&gt;&lt;br /&gt;Thanks to mandee and carmen for useful discussions, and the company as well.&lt;br /&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-5686324630811887453?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/5686324630811887453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/09/activity15-probabilistic-classification.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/5686324630811887453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/5686324630811887453'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/09/activity15-probabilistic-classification.html' title='Activity15: Probabilistic Classification'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_MVP54MAwK0Y/SqPQ8kMnoJI/AAAAAAAAAwQ/OWqzbUATYmI/s72-c/training.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-2246992252343745445</id><published>2009-08-30T11:38:00.000-07:00</published><updated>2009-10-12T03:47:21.002-07:00</updated><title type='text'>Activity 14: Pattern Recognition</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CUsers%5Clinsi%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CUsers%5Clinsi%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CUsers%5Clinsi%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-PH&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;ZH-TW&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;    &lt;w:usefelayout/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="&amp;#45;-"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:SimSun; 	panose-1:2 1 6 0 3 1 1 1 1 1; 	mso-font-alt:宋体; 	mso-font-charset:134; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:3 680460288 22 0 262145 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face 	{font-family:"\@SimSun"; 	panose-1:2 1 6 0 3 1 1 1 1 1; 	mso-font-charset:134; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:3 680460288 22 0 262145 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:SimSun; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:ZH-CN;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:SimSun; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:ZH-CN;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CUsers%5Clinsi%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CUsers%5Clinsi%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CUsers%5Clinsi%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-PH&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;ZH-TW&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;    &lt;w:usefelayout/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="&amp;#45;-"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:SimSun; 	panose-1:2 1 6 0 3 1 1 1 1 1; 	mso-font-alt:宋体; 	mso-font-charset:134; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:3 680460288 22 0 262145 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face 	{font-family:"\@SimSun"; 	panose-1:2 1 6 0 3 1 1 1 1 1; 	mso-font-charset:134; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:3 680460288 22 0 262145 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:SimSun; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:ZH-CN;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:SimSun; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:ZH-CN;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} &lt;/style&gt; &lt;![endif]--&gt;&lt;i style=""&gt;&lt;font style="" face="&amp;quot;" size="12pt"&gt;&lt;/font&gt;&lt;/i&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font style="font-style: italic;"&gt;"... But I can hear another drum beating for the dead that rise&lt;/font&gt; &lt;font style="font-style: italic;"&gt;&lt;br /&gt;Whom nature's beast fear as they come and all I see are dark eyes."&lt;/font&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A pattern refers to a set of features or characteristics of objects. Humans readily classify objects around them based on common sense and intuition. On the other hand, Computers do not possess this complex ability despite the drastic advancement of technology these days.&lt;br /&gt;&lt;br /&gt;This activity aims to classify certain objects through pattern recognition. 12 pieces of pillows and cheezit were classified based on two features: RGB values and Area. Six elements of each class were used as training elements while the rest served as test elements.&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;Pictures of 12 pieces for each class (Pillows and Cheezit) placed side by side were initially taken.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;font style="font-weight: bold;"&gt;Pillows vs Cheezit&lt;/font&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SpvcHE3tFkI/AAAAAAAAAu4/2ngOSTYlcS4/s1600-h/P.JPG"&gt;&lt;img style="cursor: pointer; width: 227px; height: 331px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SpvcHE3tFkI/AAAAAAAAAu4/2ngOSTYlcS4/s320/P.JPG" alt="" id="BLOGGER_PHOTO_ID_5376132594321397314" border="0"&gt;&lt;/a&gt;                      &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SpvcHlHT3RI/AAAAAAAAAvA/d1NwX803h0g/s1600-h/C.JPG"&gt;&lt;img style="cursor: pointer; width: 218px; height: 332px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SpvcHlHT3RI/AAAAAAAAAvA/d1NwX803h0g/s320/C.JPG" alt="" id="BLOGGER_PHOTO_ID_5376132602976787730" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;AREA ESTIMATION&lt;/font&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;For area computation, images of test sets (6 elements for each class)were thresholded in Scilab resulting to images shown below (left: Pillows; right: Cheezit).&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SpvcH1kdEzI/AAAAAAAAAvI/EVb_JksfYyc/s1600-h/Pbw.jpg"&gt;&lt;img style="cursor: pointer; width: 268px; height: 188px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SpvcH1kdEzI/AAAAAAAAAvI/EVb_JksfYyc/s320/Pbw.jpg" alt="" id="BLOGGER_PHOTO_ID_5376132607393993522" border="0"&gt;&lt;/a&gt;        &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SpvcIR8w9tI/AAAAAAAAAvQ/5P12fm_gKQw/s1600-h/Cbw.jpg"&gt;&lt;img style="cursor: pointer; width: 241px; height: 190px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SpvcIR8w9tI/AAAAAAAAAvQ/5P12fm_gKQw/s320/Cbw.jpg" alt="" id="BLOGGER_PHOTO_ID_5376132615012153042" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Similar methods used in Activity 9 were implemented on these images. The function bwlabel in scilab was used to label pixels which correspond to a specific element (piece of Pillow or Cheezit) in the image.  After which, pixels with the same labels were added. This sum corresponds to the estimated area of a single  element. The same methods were implemented on the other half (test set).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The table below summarizes area of samples 1-6 (training set) and 7-12 (test set).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;ESTIMATED AREA&lt;/font&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Spwd5VsHtvI/AAAAAAAAAvY/-INwACEf68o/s1600-h/Area.jpg"&gt;&lt;img style="cursor: pointer; width: 247px; height: 271px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Spwd5VsHtvI/AAAAAAAAAvY/-INwACEf68o/s320/Area.jpg" alt="" id="BLOGGER_PHOTO_ID_5376204926085478130" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Pillows&lt;/font&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;(Training Set)&lt;/font&gt;&lt;br /&gt;Mean:  7424.1667&lt;br /&gt;Std dev: 501.19115&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Cheezit&lt;/font&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;(Training Set)&lt;/font&gt;&lt;br /&gt;Mean: 16737.167&lt;br /&gt;Std dev:  1413.6567&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;font size="4"&gt;&lt;font style="font-weight: bold;"&gt;&lt;font size="3"&gt;Red-Green-Blue&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;div style="text-align: justify;"&gt;RGB values of each of the elements for both classes (training and test set) were  sampled through image patches and summarized in the table shown below.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;font style="font-weight: bold;"&gt;RGB VALUES&lt;/font&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Spwd5_IaVQI/AAAAAAAAAvg/A185ALJZNDc/s1600-h/RGB.jpg"&gt;&lt;img style="cursor: pointer; width: 596px; height: 289px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Spwd5_IaVQI/AAAAAAAAAvg/A185ALJZNDc/s320/RGB.jpg" alt="" id="BLOGGER_PHOTO_ID_5376204937209992450" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Pillows&lt;br /&gt;(MEAN)&lt;br /&gt;&lt;/font&gt;R: &lt;font style="color: rgb(255, 0, 0);"&gt;0.514855633&lt;/font&gt;&lt;br /&gt;G: &lt;font style="color: rgb(0, 102, 0);"&gt;0.3820315&lt;/font&gt;&lt;br /&gt;B: &lt;font style="color: rgb(0, 0, 153);"&gt;0.243684817&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Cheezit&lt;br /&gt;(MEAN)&lt;/font&gt;&lt;br /&gt;R: &lt;font style="color: rgb(255, 0, 0);"&gt;0.514855633&lt;/font&gt;&lt;br /&gt;G: &lt;font style="color: rgb(0, 102, 0);"&gt;0.3820315&lt;/font&gt;&lt;br /&gt;B: &lt;font style="color: rgb(0, 0, 153);"&gt;0.243684817&lt;/font&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;font style="font-weight: bold;"&gt;CLASSIFICATION PROPER&lt;/font&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;RGB values and Area estimates were then plotted for all test elements. including mean values of training elements. The yellow data point corresponds to the mean value for Cheezit while the brown one corresponds to Pillows. Based on the figures shown, we infer that an imaginary line drawn along the diagonal would separate the two classes into Pillows and Cheezit. Clearly, the blue data points here correspond to Cheezit while the red ones to Pillows.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Spwd7FsPnpI/AAAAAAAAAv4/6raNYERNRfE/s1600-h/red.jpg"&gt;&lt;img style="cursor: pointer; width: 461px; height: 266px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Spwd7FsPnpI/AAAAAAAAAv4/6raNYERNRfE/s320/red.jpg" alt="" id="BLOGGER_PHOTO_ID_5376204956150767250" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Spwd6ow1EeI/AAAAAAAAAvw/0IKBVGl7ua4/s1600-h/green.jpg"&gt;&lt;img style="cursor: pointer; width: 457px; height: 250px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Spwd6ow1EeI/AAAAAAAAAvw/0IKBVGl7ua4/s320/green.jpg" alt="" id="BLOGGER_PHOTO_ID_5376204948385370594" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Spwd6CJocbI/AAAAAAAAAvo/0WX6aGFWjDE/s1600-h/blue.jpg"&gt;&lt;img style="cursor: pointer; width: 455px; height: 274px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Spwd6CJocbI/AAAAAAAAAvo/0WX6aGFWjDE/s320/blue.jpg" alt="" id="BLOGGER_PHOTO_ID_5376204938020417970" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Rating: 10&lt;br /&gt;I have understood all concepts and did what was asked in this activity.&lt;br /&gt;&lt;br /&gt;Thanks to mandee and carmen for the pictures (and snack).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;font&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;&lt;font style="font-style: italic;"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;&lt;font style="font-style: italic;"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-2246992252343745445?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/2246992252343745445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/08/activity-14-pattern-recognition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/2246992252343745445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/2246992252343745445'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/08/activity-14-pattern-recognition.html' title='Activity 14: Pattern Recognition'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_MVP54MAwK0Y/SpvcHE3tFkI/AAAAAAAAAu4/2ngOSTYlcS4/s72-c/P.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-4769530269271797428</id><published>2009-08-30T03:04:00.000-07:00</published><updated>2009-10-12T03:47:21.018-07:00</updated><title type='text'>Activity 13: Correcting Geometric Distortions</title><content type='html'>&lt;font style="font-style: italic;"&gt;"... Blue moon, you saw me standing alone&lt;/font&gt;&lt;br /&gt;&lt;font style="font-style: italic;"&gt; Without a dream in my heart, without a love of my own."&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font style="font-style: italic;"&gt;&lt;br /&gt;&lt;/font&gt;&lt;div style="text-align: justify;"&gt;This activity aims to correct distortions on images&lt;font style="font-style: italic;"&gt;.&lt;/font&gt; Among the most common distortion is barrel distortion where the image is often viewed somewhat distorted in mid areas and pinched on its sides.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;There are many ways to restore distorted images, among others is the interpolation technique categorized into three groups namely: Nearest neighbor, Cubic convolution and Bilinear. The last two techniques were compared in this activity and we neglect the first technique since it renders low quality images.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;Original Image&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SprAgWJ8VFI/AAAAAAAAAto/IkKx9_W7yNY/s1600-h/sol7smile.png"&gt;&lt;img style="cursor: pointer; width: 320px; height: 200px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SprAgWJ8VFI/AAAAAAAAAto/IkKx9_W7yNY/s320/sol7smile.png" alt="" id="BLOGGER_PHOTO_ID_5375820767155737682" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;Starting with four corner points of the best rectangle in the distorted image, an ideal image can then be generated. &lt;font style="font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SprCrb-_9EI/AAAAAAAAAuI/tGq11slMLyU/s1600-h/1.jpg"&gt;&lt;img style="cursor: pointer; width: 367px; height: 161px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SprCrb-_9EI/AAAAAAAAAuI/tGq11slMLyU/s320/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5375823156722267202" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Arrows connect corresponding vertex points of ideal (right image) and distorted (left image). These sets of corner points for both ideal and distorted images were collected with the use of the function locate in Scilab.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;Point Locations in x and y coordinates&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SprAg4Ceh2I/AAAAAAAAAtw/HTDMfRWzIvE/s1600-h/points.bmp"&gt;&lt;img style="cursor: pointer; width: 626px; height: 277px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SprAg4Ceh2I/AAAAAAAAAtw/HTDMfRWzIvE/s320/points.bmp" alt="" id="BLOGGER_PHOTO_ID_5375820776251230050" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SprCrskxE5I/AAAAAAAAAuQ/5stG7xaUyLU/s1600-h/2.jpg"&gt;&lt;img style="cursor: pointer; width: 294px; height: 320px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SprCrskxE5I/AAAAAAAAAuQ/5stG7xaUyLU/s320/2.jpg" alt="" id="BLOGGER_PHOTO_ID_5375823161175643026" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The above matrices were used to numerically relate ideal and distorted coordinates. This relationship is best described by constants c defined by equations below.&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SprCsCwur-I/AAAAAAAAAuY/vdIUxAcOFjo/s1600-h/3.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 49px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SprCsCwur-I/AAAAAAAAAuY/vdIUxAcOFjo/s320/3.jpg" alt="" id="BLOGGER_PHOTO_ID_5375823167131398114" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Equations shown below represent locations for the distorted image in terms of x and y coordinates in the ideal image.&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SprCsY0YerI/AAAAAAAAAug/JBJ42Y297MQ/s1600-h/4.jpg"&gt;&lt;img style="cursor: pointer; width: 272px; height: 60px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SprCsY0YerI/AAAAAAAAAug/JBJ42Y297MQ/s320/4.jpg" alt="" id="BLOGGER_PHOTO_ID_5375823173052299954" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SprCsywGWvI/AAAAAAAAAuo/0wsyoecwusM/s1600-h/5.jpg"&gt;&lt;img style="cursor: pointer; width: 268px; height: 54px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SprCsywGWvI/AAAAAAAAAuo/0wsyoecwusM/s320/5.jpg" alt="" id="BLOGGER_PHOTO_ID_5375823180013656818" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Grayscale values corresponding to the computed x and y coordinates are immediately copied into a blank pixel in the ideal grid if locations are integer-values. Interpolation techniques are performed otherwise.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Nearest Neighbor Interpoation technique oly refers to rounding off of non-integer values to nearest values (hence nearest neighbor) and assume that these locations correspond to the correct grayscale pixel values ready to be copied. Bilinear interpolation technique on the other hand requires a more rigorous approach than the former technique since it computes the pixel value based on four nearest pixel values, hence the equation shown.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SprCxLKu5QI/AAAAAAAAAuw/TUFXRybMvtk/s1600-h/6.jpg"&gt;&lt;img style="cursor: pointer; width: 292px; height: 64px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SprCxLKu5QI/AAAAAAAAAuw/TUFXRybMvtk/s320/6.jpg" alt="" id="BLOGGER_PHOTO_ID_5375823255287293186" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Results shown below have proven that Bilinear interpolation technique renders a clearer thus better image than Nearest Neighbor Technique.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Nearest Neighbor Interpolation Technique&lt;/font&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SprAhN1MZEI/AAAAAAAAAt4/WDnF3orfsyo/s1600-h/neighbor.jpg"&gt;&lt;img style="cursor: pointer; width: 401px; height: 250px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SprAhN1MZEI/AAAAAAAAAt4/WDnF3orfsyo/s320/neighbor.jpg" alt="" id="BLOGGER_PHOTO_ID_5375820782101095490" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Bilinear Interpolation Technique&lt;/font&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SprAhmHCvEI/AAAAAAAAAuA/DAVAEK2e6J8/s1600-h/bi.jpg"&gt;&lt;img style="cursor: pointer; width: 391px; height: 243px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SprAhmHCvEI/AAAAAAAAAuA/DAVAEK2e6J8/s320/bi.jpg" alt="" id="BLOGGER_PHOTO_ID_5375820788618411074" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I give myself a grade of 10 for completing the task and understanding the concepts quite well in this activity.&lt;br /&gt;&lt;br /&gt;Thanks to Mandee and Carmen for very useful discussions regarding misconceptions on the problem and the code itself.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-4769530269271797428?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/4769530269271797428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/08/activity-13-correcting-geometric.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/4769530269271797428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/4769530269271797428'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/08/activity-13-correcting-geometric.html' title='Activity 13: Correcting Geometric Distortions'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_MVP54MAwK0Y/SprAgWJ8VFI/AAAAAAAAAto/IkKx9_W7yNY/s72-c/sol7smile.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-4716500237330913958</id><published>2009-08-06T14:38:00.000-07:00</published><updated>2009-08-06T18:42:06.843-07:00</updated><title type='text'>Activity 12: Color Image Segmentation</title><content type='html'>"...After time the bitter taste&lt;br /&gt;Of innocence decent or race&lt;br /&gt;Scattered seeds, buried lives&lt;br /&gt;Mysteries of our disguise revolve&lt;br /&gt;Circumstance will decide ...."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Image Segmentation requires one to pick out any region of interest(ROI) from an image to make way for further image processing applications. We have have already tried this in previous exercises which mostly involves grayscale images binarized based on threshold values. This acitivity deals with segmentation of colored 3D objects in two ways: Parametric segmentation and Non-parametric segmenation. Parametric Segmentation involves the derivation of Gaussian PDF based on normalized chromaticity coordinates. After having known these sets of values, the joint probability of pixels to belong to r or to g are computed together with respective mean and standard deviations. Non-parametric segmentation on the other hand makes use of the 2d histogram of the ROI. The histogram itself is then used to segment the image through the process of backprojection (as in Activity4).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Patches are are cropped from the image below. One patch was taken from the upper half of the gutar whle the other patch was taken from its lower half.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;font style="font-weight: bold;"&gt;Original Image&lt;/font&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;(http://www.bassguitars.us/four-string-guitar-636.jpg)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntOp7mMqfI/AAAAAAAAAp0/SC9CxqmpOmY/s1600-h/four-string-guitar-636.jpg"&gt;&lt;img style="cursor: pointer; width: 345px; height: 230px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntOp7mMqfI/AAAAAAAAAp0/SC9CxqmpOmY/s320/four-string-guitar-636.jpg" alt="" id="BLOGGER_PHOTO_ID_5366969863221586418" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Patch1&lt;/font&gt;  &lt;font style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/font&gt;&lt;font&gt;(from guitar's upper half)&lt;br /&gt;&lt;/font&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntOqAQrBRI/AAAAAAAAAp8/7CawC2HcgIA/s1600-h/guitar.JPG"&gt;&lt;img style="cursor: pointer; width: 80px; height: 80px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntOqAQrBRI/AAAAAAAAAp8/7CawC2HcgIA/s320/guitar.JPG" alt="" id="BLOGGER_PHOTO_ID_5366969864473478418" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Patch2&lt;/font&gt;&lt;br /&gt;&lt;font&gt;(from guitar's upper half)&lt;/font&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SntOqldntQI/AAAAAAAAAqE/58wmHY8032Y/s1600-h/guitar1.JPG"&gt;&lt;img style="cursor: pointer; width: 80px; height: 80px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SntOqldntQI/AAAAAAAAAqE/58wmHY8032Y/s320/guitar1.JPG" alt="" id="BLOGGER_PHOTO_ID_5366969874459899138" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;PARAMETRIC DISTRIBUTION APPROXIMATION&lt;br /&gt;&lt;/font&gt;&lt;font&gt;(patch1, patch2,&lt;/font&gt;&lt;font&gt;average patch1 and patch2,total)&lt;/font&gt;&lt;font style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/font&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntOrDzqF1I/AAAAAAAAAqM/c3BynzdMRYg/s1600-h/Para.bmp"&gt;&lt;img style="cursor: pointer; width: 320px; height: 215px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntOrDzqF1I/AAAAAAAAAqM/c3BynzdMRYg/s320/Para.bmp" alt="" id="BLOGGER_PHOTO_ID_5366969882605393746" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SntOrfyXY2I/AAAAAAAAAqU/-4X9OL7nVkw/s1600-h/Para1.bmp"&gt;&lt;img style="cursor: pointer; width: 320px; height: 214px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SntOrfyXY2I/AAAAAAAAAqU/-4X9OL7nVkw/s320/Para1.bmp" alt="" id="BLOGGER_PHOTO_ID_5366969890116166498" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQAJ1yygI/AAAAAAAAAqc/bJZ_RGwyL4A/s1600-h/ParaComb.bmp"&gt;&lt;img style="cursor: pointer; width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQAJ1yygI/AAAAAAAAAqc/bJZ_RGwyL4A/s320/ParaComb.bmp" alt="" id="BLOGGER_PHOTO_ID_5366971344513845762" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQzTTlVuI/AAAAAAAAArU/_Dr1WZdlwwM/s1600-h/paraTOTAL.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQzTTlVuI/AAAAAAAAArU/_Dr1WZdlwwM/s320/paraTOTAL.jpg" alt="" id="BLOGGER_PHOTO_ID_5366972223228040930" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Application of Parametric segmentation for patch 1 and patch 2 lead to the detection of respective locations in the image as to where the patches were taken from. It is als interesting to know that the application of the average of the two patches lead to the detection of the middle part of the guitar. These results are logical since light conditions under which the picture was taken made a darker to lighter transition from top to bottom of the guitar. Summing obtained segmentaions and normalizing them detects the total area of color red.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;NON-PARAMETRIC DISTRIBUTION APPROXIMATION&lt;/font&gt;&lt;br /&gt;&lt;font&gt;(patch1, patch2, &lt;/font&gt;&lt;font&gt;average patch1 and patch2, total)&lt;/font&gt;&lt;font&gt;&lt;/font&gt;&lt;font style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/font&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQAbjlDZI/AAAAAAAAAqk/2N3WqOafzgE/s1600-h/non.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQAbjlDZI/AAAAAAAAAqk/2N3WqOafzgE/s320/non.jpg" alt="" id="BLOGGER_PHOTO_ID_5366971349269286290" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQBMKGIYI/AAAAAAAAAqs/hW8_l2Tagto/s1600-h/non1.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQBMKGIYI/AAAAAAAAAqs/hW8_l2Tagto/s320/non1.jpg" alt="" id="BLOGGER_PHOTO_ID_5366971362315739522" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQBrwI9GI/AAAAAAAAAq0/nC9wq8EP6iU/s1600-h/noncomb.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQBrwI9GI/AAAAAAAAAq0/nC9wq8EP6iU/s320/noncomb.jpg" alt="" id="BLOGGER_PHOTO_ID_5366971370796807266" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQzyeTHYI/AAAAAAAAArc/ibI5vXFWlgM/s1600-h/nonTOTAL.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQzyeTHYI/AAAAAAAAArc/ibI5vXFWlgM/s320/nonTOTAL.jpg" alt="" id="BLOGGER_PHOTO_ID_5366972231594483074" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Nonparametric segmentation follows the same result as the parametric segmentation. The difference lies on the quality of segmentation. Parametric Segmentation appeared to produce better results than nonparametric segmenation since the former covered finer details in segmentation as compared to the latter.  This however is not much of a difference.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;(histogram: patch 1, patch 2,average patch 1 and 2, Normalized Chromaticity Space)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SntQCFaENVI/AAAAAAAAAq8/FRtdHSiaiNc/s1600-h/2dhist.jpg"&gt;&lt;img style="cursor: pointer; width: 256px; height: 256px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SntQCFaENVI/AAAAAAAAAq8/FRtdHSiaiNc/s320/2dhist.jpg" alt="" id="BLOGGER_PHOTO_ID_5366971377683543378" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQyoDcc6I/AAAAAAAAArE/KptQLFiPbA8/s1600-h/2dhist1.jpg"&gt;&lt;img style="cursor: pointer; width: 256px; height: 256px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntQyoDcc6I/AAAAAAAAArE/KptQLFiPbA8/s320/2dhist1.jpg" alt="" id="BLOGGER_PHOTO_ID_5366972211617624994" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntQywcUQ3I/AAAAAAAAArM/wn3gDkEXF8o/s1600-h/2dhistcomb.jpg"&gt;&lt;img style="cursor: pointer; width: 256px; height: 256px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntQywcUQ3I/AAAAAAAAArM/wn3gDkEXF8o/s320/2dhistcomb.jpg" alt="" id="BLOGGER_PHOTO_ID_5366972213869429618" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntRvj95hqI/AAAAAAAAArk/8xyje1ZonOI/s1600-h/A12+-+Color+Image+Segmentation+2009.bmp"&gt;&lt;img style="cursor: pointer; width: 203px; height: 254px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntRvj95hqI/AAAAAAAAArk/8xyje1ZonOI/s320/A12+-+Color+Image+Segmentation+2009.bmp" alt="" id="BLOGGER_PHOTO_ID_5366973258492642978" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The peak of the 2d histogram perfectly matches the red hue on the normalized chromaticity space, thus proving its validity. Note that the triangle here is inverted since images in scilab start counting at the upperleft part of the canvas.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Rating:10&lt;br /&gt;I have thoroughly understood all concepts in this activity.&lt;br /&gt;&lt;br /&gt;Thanks to Irene for sharing the idea behind the inverted triangle.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Refernce:&lt;br /&gt;[1] M.Soriano, A12 – Color Image Segmentation, 2009.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-4716500237330913958?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/4716500237330913958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/08/activity-12-color-image-segmentation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/4716500237330913958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/4716500237330913958'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/08/activity-12-color-image-segmentation.html' title='Activity 12: Color Image Segmentation'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_MVP54MAwK0Y/SntOp7mMqfI/AAAAAAAAAp0/SC9CxqmpOmY/s72-c/four-string-guitar-636.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-2529317230982935602</id><published>2009-08-06T14:14:00.000-07:00</published><updated>2009-08-06T18:42:06.850-07:00</updated><title type='text'>Activity 11: Color Image Processing</title><content type='html'>"...All the muse in myself&lt;br /&gt;My desire I can't hide&lt;br /&gt;No reason and I thought..."&lt;br /&gt;&lt;br /&gt;White balance on cameras allows one to select white balancing constants appropriate for different capturing conditions. Typical icons found on cameras are sun, cloud, light bulb and a fluorescent lamp. Two popular algorithms for achieving automatic white balance are known: White Patch Algorithm and Gray World Algorithm. White Patch algorithm makes use of the RGB values of a white patch in an image and uses it as a divider. The Gray World Algorithm on the other hand utilizes the average of Red, Green and Blue values of the image and use them as constant dividers.&lt;br /&gt;&lt;br /&gt;The following object is a combination of different colors: red, green, yellow hues of red etc.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;font style="font-weight: bold;"&gt;Auto&lt;/font&gt;&lt;br /&gt;(original, White Patch, Grayworld)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntJpOIjREI/AAAAAAAAAnk/WW8UtoY8qK4/s1600-h/menu+auto.JPG"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntJpOIjREI/AAAAAAAAAnk/WW8UtoY8qK4/s320/menu+auto.JPG" alt="" id="BLOGGER_PHOTO_ID_5366964353459504194" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntKJKlf2RI/AAAAAAAAAoM/Uc-01DU3AfU/s1600-h/menu+autoF.jpg"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntKJKlf2RI/AAAAAAAAAoM/Uc-01DU3AfU/s320/menu+autoF.jpg" alt="" id="BLOGGER_PHOTO_ID_5366964902262987026" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntKdnY5VeI/AAAAAAAAAo0/rGF3529r1us/s1600-h/menu+autoGW.jpg"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntKdnY5VeI/AAAAAAAAAo0/rGF3529r1us/s320/menu+autoGW.jpg" alt="" id="BLOGGER_PHOTO_ID_5366965253592143330" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The original image is bluish. Application of the white Patch algorithm (where the white patch here is represented by the wall) resulted to a brownish image. Application of Gray World algorithm resulted to a blue-gray image also but it appeared brighter than the original image.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Cloudy&lt;/font&gt;&lt;br /&gt;(original, White Patch, Grayworld)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntJpUFS3MI/AAAAAAAAAns/fkvY2Zi58S8/s1600-h/menu+cloudy.JPG"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntJpUFS3MI/AAAAAAAAAns/fkvY2Zi58S8/s320/menu+cloudy.JPG" alt="" id="BLOGGER_PHOTO_ID_5366964355056458946" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SntKJYvHAbI/AAAAAAAAAoU/iiWSVPGz1IU/s1600-h/menu+cloudyF.jpg"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SntKJYvHAbI/AAAAAAAAAoU/iiWSVPGz1IU/s320/menu+cloudyF.jpg" alt="" id="BLOGGER_PHOTO_ID_5366964906061398450" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntKeJm_RKI/AAAAAAAAAo8/0iZl19FWT6Y/s1600-h/menu+cloudyGW.jpg"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntKeJm_RKI/AAAAAAAAAo8/0iZl19FWT6Y/s320/menu+cloudyGW.jpg" alt="" id="BLOGGER_PHOTO_ID_5366965262778057890" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Cloudy image is more of brownish yellow. Application of White Patch algorithm brightened the image and whitened the wall. Gray World algorithm on the other hand made the image appear purple-blue.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Daylight&lt;/font&gt;&lt;br /&gt;(original, White Patch, Grayworld)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SntJp6jpl3I/AAAAAAAAAn0/Z2Ok_-V93eE/s1600-h/menu+daylight.JPG"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SntJp6jpl3I/AAAAAAAAAn0/Z2Ok_-V93eE/s320/menu+daylight.JPG" alt="" id="BLOGGER_PHOTO_ID_5366964365384324978" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SntKJzO2CXI/AAAAAAAAAoc/Z_pOf3nvq18/s1600-h/menu+daylightF.jpg"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SntKJzO2CXI/AAAAAAAAAoc/Z_pOf3nvq18/s320/menu+daylightF.jpg" alt="" id="BLOGGER_PHOTO_ID_5366964913173825906" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SntKe7Pt6jI/AAAAAAAAApE/uH1fRJntnTk/s1600-h/menu+daylightGW.jpg"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SntKe7Pt6jI/AAAAAAAAApE/uH1fRJntnTk/s320/menu+daylightGW.jpg" alt="" id="BLOGGER_PHOTO_ID_5366965276102224434" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Image in daylight setting is somewhat similar with the cloudy option only that it is brighter. Application of White Patch algorithm brightened the image and made the wall appear white. Colors in the image appear clearer and more visible than the original image.  Application of Gray World Algorithm resulted to a purple-blue image.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Fluorescent&lt;/font&gt;&lt;br /&gt;(original, White Patch, Grayworld)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SntJq5qO4VI/AAAAAAAAAn8/-_aDN3R7UCQ/s1600-h/menu+flourescent.JPG"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SntJq5qO4VI/AAAAAAAAAn8/-_aDN3R7UCQ/s320/menu+flourescent.JPG" alt="" id="BLOGGER_PHOTO_ID_5366964382323368274" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SntKKIWhorI/AAAAAAAAAok/tAjVvNiGaoY/s1600-h/menu+flourescentF.jpg"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SntKKIWhorI/AAAAAAAAAok/tAjVvNiGaoY/s320/menu+flourescentF.jpg" alt="" id="BLOGGER_PHOTO_ID_5366964918843187890" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SntKfd5_dPI/AAAAAAAAApM/T8GzYpmu0PI/s1600-h/menu+flourescentGW.jpg"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SntKfd5_dPI/AAAAAAAAApM/T8GzYpmu0PI/s320/menu+flourescentGW.jpg" alt="" id="BLOGGER_PHOTO_ID_5366965285406340338" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Image under fluorescent setting appeared grayish blue. Application of White Patch Algorithm brightened up the image and made the wall appear close to white. Application of Gray World Algorithm made the image appear blue-gray.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Incandescent&lt;/font&gt;&lt;br /&gt;(original, White Patch, Grayworld)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntJrV424tI/AAAAAAAAAoE/ex0oQXYa12g/s1600-h/menu+incandescent.JPG"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntJrV424tI/AAAAAAAAAoE/ex0oQXYa12g/s320/menu+incandescent.JPG" alt="" id="BLOGGER_PHOTO_ID_5366964389900903122" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntKKLgOFrI/AAAAAAAAAos/LwiUnq_rNgw/s1600-h/menu+incandescentF.jpg"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntKKLgOFrI/AAAAAAAAAos/LwiUnq_rNgw/s320/menu+incandescentF.jpg" alt="" id="BLOGGER_PHOTO_ID_5366964919689156274" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntKf7bL9FI/AAAAAAAAApU/QRmUb6gshas/s1600-h/menu+incandescentGW.jpg"&gt;&lt;img style="cursor: pointer; width: 184px; height: 246px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntKf7bL9FI/AAAAAAAAApU/QRmUb6gshas/s320/menu+incandescentGW.jpg" alt="" id="BLOGGER_PHOTO_ID_5366965293330199634" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Under incandescent light, orginal object appeared blue. Application of White Patch  Algorithm made the image appear whiter. Blue here vanished. The same obervation applies to Gray World Algorithm.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;font style="font-weight: bold;"&gt;Red (Cloudy)&lt;/font&gt;&lt;br /&gt;(original, White Patch, Grayworld)&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntMkDjbChI/AAAAAAAAApc/psVe_o0-Zeo/s1600-h/Red+cloudy.JPG"&gt;&lt;img style="cursor: pointer; width: 205px; height: 154px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntMkDjbChI/AAAAAAAAApc/psVe_o0-Zeo/s320/Red+cloudy.JPG" alt="" id="BLOGGER_PHOTO_ID_5366967563254958610" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SntMkuh70CI/AAAAAAAAApk/mZI2etBPFBI/s1600-h/red+cloudyF.jpg"&gt;&lt;img style="cursor: pointer; width: 205px; height: 154px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SntMkuh70CI/AAAAAAAAApk/mZI2etBPFBI/s320/red+cloudyF.jpg" alt="" id="BLOGGER_PHOTO_ID_5366967574791442466" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntMk-UD5VI/AAAAAAAAAps/0dncUZa9yHU/s1600-h/red+cloudyGW.jpg"&gt;&lt;img style="cursor: pointer; width: 205px; height: 154px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntMk-UD5VI/AAAAAAAAAps/0dncUZa9yHU/s320/red+cloudyGW.jpg" alt="" id="BLOGGER_PHOTO_ID_5366967579028219218" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Objects of similar hues (red plastic bag and red marker) are placed together and photographed under cloudy conditions. It is observed that white patch algorithm did a better job than gray world algorithm in terms of white balancing.&lt;br /&gt;&lt;br /&gt;White patch algorithm has the advantage of neutralizing whatever bias is found on the image. Since a white patch found on the object is also exposed under the same light conditions, thus, it serves as a better dividing constant than the average of RGB values.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Rating: 9&lt;br /&gt;I'm unsure of the Grayworld Algorithm results. Nevertheless, i have understood all other concepts.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;[1] M. Soriano, A11 – Color Image Processing, 2009.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-2529317230982935602?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/2529317230982935602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/08/activity-11-color-image-processing.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/2529317230982935602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/2529317230982935602'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/08/activity-11-color-image-processing.html' title='Activity 11: Color Image Processing'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_MVP54MAwK0Y/SntJpOIjREI/AAAAAAAAAnk/WW8UtoY8qK4/s72-c/menu+auto.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-2230341550277309934</id><published>2009-08-06T13:57:00.000-07:00</published><updated>2009-08-06T18:42:06.856-07:00</updated><title type='text'>Activity 10: Preprocessing Text</title><content type='html'>"...Divine upper reaches&lt;br /&gt;Still holding on&lt;br /&gt;This ocean will not be grasped&lt;br /&gt;All for nothing..."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This activity aims to extract handwritten text from an imaged document with lines. Examples of each letter is necessary for handwriting recognition.&lt;br /&gt;&lt;br /&gt;Starting with the original document shown below, a sample subimage was cropped and processed.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;font style="font-weight: bold;"&gt;Original Document&lt;/font&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Snta7YAOr2I/AAAAAAAAArs/WbrQB52f5gE/s1600-h/Untitled_0001.jpg"&gt;&lt;img style="cursor: pointer; width: 336px; height: 419px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Snta7YAOr2I/AAAAAAAAArs/WbrQB52f5gE/s320/Untitled_0001.jpg" alt="" id="BLOGGER_PHOTO_ID_5366983357044272994" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A sample subimage containing handwritten or printed text on top of lines (vertical or horizontal) was cropped from the main document. The cropped image and it FT is shown below.&lt;br /&gt;&lt;/div&gt;&lt;font style="font-weight: bold;"&gt;Cropped Image, FT&lt;/font&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Snta7l4TlAI/AAAAAAAAAr0/zxPy1feCAis/s1600-h/crop.jpg"&gt;&lt;img style="cursor: pointer; width: 204px; height: 84px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Snta7l4TlAI/AAAAAAAAAr0/zxPy1feCAis/s320/crop.jpg" alt="" id="BLOGGER_PHOTO_ID_5366983360769135618" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Snta8FO-LjI/AAAAAAAAAr8/sHTSivi_9gI/s1600-h/cropFT.bmp"&gt;&lt;img style="cursor: pointer; width: 204px; height: 84px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Snta8FO-LjI/AAAAAAAAAr8/sHTSivi_9gI/s320/cropFT.bmp" alt="" id="BLOGGER_PHOTO_ID_5366983369185701426" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It is observed that the image is slightly tilted. The mogrify command in scilab allows the rotation of an image to some arbitrary angle. In this case, angle is 0.9. This however is only an approximation. The rotated image and its fourier transform is shown below.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;font style="font-weight: bold;"&gt;Rotated Image, FT&lt;/font&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Snta8Ry0swI/AAAAAAAAAsE/oe2QtFk53Vk/s1600-h/RotIm.bmp"&gt;&lt;img style="cursor: pointer; width: 205px; height: 87px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Snta8Ry0swI/AAAAAAAAAsE/oe2QtFk53Vk/s320/RotIm.bmp" alt="" id="BLOGGER_PHOTO_ID_5366983372557300482" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Snta9JlpUFI/AAAAAAAAAsM/WMTPLdOkzCM/s1600-h/RotImFT.bmp"&gt;&lt;img style="cursor: pointer; width: 205px; height: 87px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Snta9JlpUFI/AAAAAAAAAsM/WMTPLdOkzCM/s320/RotImFT.bmp" alt="" id="BLOGGER_PHOTO_ID_5366983387534413906" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Previous exercises have shown that the construction of vertical and horizontal filters tend to eliminate horizontal and vertical components in the image respectively. The filter used and the final outcome after filtration is shown below.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Filter, Eliminated vertical and horizontal lines&lt;/font&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntbvoQtPKI/AAAAAAAAAsk/hfgB1NeO2Io/s1600-h/filter.bmp"&gt;&lt;img style="cursor: pointer; width: 205px; height: 87px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntbvoQtPKI/AAAAAAAAAsk/hfgB1NeO2Io/s320/filter.bmp" alt="" id="BLOGGER_PHOTO_ID_5366984254761548962" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntcAluhjuI/AAAAAAAAAs0/VS8lhgPZLaA/s1600-h/RotFinal.bmp"&gt;&lt;img style="cursor: pointer; width: 205px; height: 87px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntcAluhjuI/AAAAAAAAAs0/VS8lhgPZLaA/s320/RotFinal.bmp" alt="" id="BLOGGER_PHOTO_ID_5366984546139082466" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;At this point, it is necessary to binarize the image in order to clean it for further image processing operations. Binarization relies heavily on the threshold values interpreted from its histogram. This procedure is however very inaccurate since we only estimate this value based on how we examine the histogram.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;font style="font-weight: bold;"&gt;Histogram, Binarized Image&lt;/font&gt;&lt;br /&gt;&lt;/div&gt; &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntbulU9YHI/AAAAAAAAAsU/J3eEdj4KvNA/s1600-h/plot.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 170px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SntbulU9YHI/AAAAAAAAAsU/J3eEdj4KvNA/s320/plot.jpg" alt="" id="BLOGGER_PHOTO_ID_5366984236794208370" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntbvMhiSSI/AAAAAAAAAsc/QZn9nES-FPE/s1600-h/BW.bmp"&gt;&lt;img style="cursor: pointer; width: 205px; height: 87px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SntbvMhiSSI/AAAAAAAAAsc/QZn9nES-FPE/s320/BW.bmp" alt="" id="BLOGGER_PHOTO_ID_5366984247315941666" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;As we examine the binarized image shown above, we observe that letters stand very close to each other. It is thus necessary to do erosion operation using a 2x1 structuring element. This size is necessary since we aim to come up with letter 1 pixel thick. This initial operation increases the distance between letters. Closing operation by a 2x2 structuring element is then implemented. This operation reconstructs a vivid shape of each of the letter in the image. The result is shown below.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;font style="font-weight: bold;"&gt;Final Image&lt;/font&gt;&lt;br /&gt;(Erosion --&gt; Dilation--&gt;Erosion)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sntbv0YL7zI/AAAAAAAAAss/SmtcEK79yTw/s1600-h/fin.bmp"&gt;&lt;img style="cursor: pointer; width: 205px; height: 87px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sntbv0YL7zI/AAAAAAAAAss/SmtcEK79yTw/s320/fin.bmp" alt="" id="BLOGGER_PHOTO_ID_5366984258014146354" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The final image is an unsatisfactory reconstruction. Application of bwlabel on the image outputs and estimated number of letters equal to 31. This however is far from the 24 letter/numbers found in the image (im not sure of this number since the image itself is blurry and handwritten text stands very close to one another).  The following image represents labeled letter/numbers in the image.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Labels&lt;/font&gt;&lt;br /&gt;(31)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sntd9xxgvjI/AAAAAAAAAtU/TeShuGjJ6Tk/s1600-h/label.bmp"&gt;&lt;img style="cursor: pointer; width: 205px; height: 87px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sntd9xxgvjI/AAAAAAAAAtU/TeShuGjJ6Tk/s320/label.bmp" alt="" id="BLOGGER_PHOTO_ID_5366986696856485426" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This part of the activity aims to locate "Description" in the document. We have done this before (recognition of A in a phrase).&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;font style="font-weight: bold;"&gt;Finding "Description"&lt;/font&gt;&lt;br /&gt;(template image)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sntc9imWkNI/AAAAAAAAAs8/YoJBUvKX_hw/s1600-h/pad.jpg"&gt;&lt;img style="cursor: pointer; width: 384px; height: 477px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sntc9imWkNI/AAAAAAAAAs8/YoJBUvKX_hw/s320/pad.jpg" alt="" id="BLOGGER_PHOTO_ID_5366985593271521490" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;We start with an inverted template, since objects in scilab should always be in white. The word "Description" is isolated from the document as shown below. Once again, it is detrimental that the font style and font size of the test word ("Description") perfectly matches that of the template. Also, there is no need to rotate the image since the test word used is also rotated in the same angle.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;"Description"&lt;/font&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sntc9426QOI/AAAAAAAAAtE/BGb63rsVdyw/s1600-h/bw.jpg"&gt;&lt;img style="cursor: pointer; width: 396px; height: 492px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sntc9426QOI/AAAAAAAAAtE/BGb63rsVdyw/s320/bw.jpg" alt="" id="BLOGGER_PHOTO_ID_5366985599246549218" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;After undergoing convolution, the final image shown below locates the exact locations of "Description" in the document as indicated by the three white spots encircled yellow.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Locations of "Description" on Template&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SntlzESR78I/AAAAAAAAAtc/bfZ2rNFesNY/s1600-h/yellow.jpg"&gt;&lt;img style="cursor: pointer; width: 392px; height: 466px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SntlzESR78I/AAAAAAAAAtc/bfZ2rNFesNY/s320/yellow.jpg" alt="" id="BLOGGER_PHOTO_ID_5366995308940226498" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Rating: 9&lt;br /&gt;I have understood all the concepts, however, i wasn't able to perfectly clean the handwritten image.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;[1] M. Soriano, A10 – Preprocessing Text, 2009.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-2230341550277309934?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/2230341550277309934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/08/activity-10-preprocessing-text.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/2230341550277309934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/2230341550277309934'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/08/activity-10-preprocessing-text.html' title='Activity 10: Preprocessing Text'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_MVP54MAwK0Y/Snta7YAOr2I/AAAAAAAAArs/WbrQB52f5gE/s72-c/Untitled_0001.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-1545415329662419162</id><published>2009-08-03T10:54:00.000-07:00</published><updated>2009-08-06T18:47:19.177-07:00</updated><title type='text'>Activity 9: Binary Operations</title><content type='html'>"...Your softly spoken words&lt;br /&gt;Release my whole desire&lt;br /&gt;Undenied&lt;br /&gt;Totally..."&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;More often than not, segmenting the desired region of interest (ROI) is necessary in order to make it more visible against poor background. Binarizing the image (eg. im2bw command in scilab) offers an easier step in order to separate the background from the ROI. However, choosing the appropriate threshold values is detrimental. Binarizing through histogram examination is thus necessary.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This activity aims to estimate the best area of simulated "cells" through closing (dilation followed by erosion) and opening (erosion followed by dilation). The closing and opening operations make it possible to eliminate holes and separate overlapping blobs.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Starting of with the original image shown below, 7 equally sized subimages (256x256) were cropped from it. Image processing operations such as binarizing, opening and closing were applied unto the image. All subimages used a circular structuring element of varying radi made suitable for every case shown below.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;original image&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sncm_dQmxEI/AAAAAAAAAi8/rcPDFX_aEIc/s1600-h/Circles001.jpg"&gt;&lt;img style="cursor: pointer; width: 469px; height: 386px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sncm_dQmxEI/AAAAAAAAAi8/rcPDFX_aEIc/s320/Circles001.jpg" alt="" id="BLOGGER_PHOTO_ID_5365800352663127106" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center; font-weight: bold;"&gt;subimage1&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sncm_16pYcI/AAAAAAAAAjE/SrDRvqxWI2Q/s1600-h/c1.jpg"&gt;&lt;img style="cursor: pointer; width: 202px; height: 202px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sncm_16pYcI/AAAAAAAAAjE/SrDRvqxWI2Q/s320/c1.jpg" alt="" id="BLOGGER_PHOTO_ID_5365800359281910210" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncnAAZr_jI/AAAAAAAAAjU/Dk1GJWFEc0Y/s1600-h/c1hist.bmp"&gt;&lt;img style="cursor: pointer; width: 372px; height: 192px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncnAAZr_jI/AAAAAAAAAjU/Dk1GJWFEc0Y/s320/c1hist.bmp" alt="" id="BLOGGER_PHOTO_ID_5365800362096459314" border="0" /&gt;&lt;/a&gt;    &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sncm_61PUPI/AAAAAAAAAjM/oCHCoroyXEY/s1600-h/c1bw.bmp"&gt;&lt;img style="cursor: pointer; width: 179px; height: 179px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sncm_61PUPI/AAAAAAAAAjM/oCHCoroyXEY/s320/c1bw.bmp" alt="" id="BLOGGER_PHOTO_ID_5365800360601407730" border="0" /&gt; &lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SncnAcqpc3I/AAAAAAAAAjc/gefizYSTbPU/s1600-h/c1open.bmp"&gt;&lt;img style="cursor: pointer; width: 176px; height: 176px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SncnAcqpc3I/AAAAAAAAAjc/gefizYSTbPU/s320/c1open.bmp" alt="" id="BLOGGER_PHOTO_ID_5365800369683788658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;(open)&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Examining the  plotted histogram of the subimage makes it convenient to estimate threshold values which would attempt to "clean" the image. The binarized image shown above contains numerous overlapping blobs. The opening operation (erosion followed by dilation) separated most of the blobs from each other.  Even though a certain number of blobs disappeared after the opening operation, the result is still considered valid since we only aim for the estimation of a single blob's area, and not the total area of all the blobs in this particular image. The same concept holds for the rest of the subimages.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;subimage2&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SncqDW28twI/AAAAAAAAAjk/M5VRbJG3CxM/s1600-h/c2.jpg"&gt;&lt;img style="cursor: pointer; width: 199px; height: 199px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SncqDW28twI/AAAAAAAAAjk/M5VRbJG3CxM/s320/c2.jpg" alt="" id="BLOGGER_PHOTO_ID_5365803718199260930" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SncqD59VjXI/AAAAAAAAAj0/uqiKSybl7LE/s1600-h/c2hist.bmp"&gt;&lt;img style="cursor: pointer; width: 367px; height: 190px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SncqD59VjXI/AAAAAAAAAj0/uqiKSybl7LE/s320/c2hist.bmp" alt="" id="BLOGGER_PHOTO_ID_5365803727621295474" border="0" /&gt;&lt;/a&gt;     &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SncqDuG0HNI/AAAAAAAAAjs/R3GuyCOPVzQ/s1600-h/c2bw.bmp"&gt;&lt;img style="cursor: pointer; width: 198px; height: 198px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SncqDuG0HNI/AAAAAAAAAjs/R3GuyCOPVzQ/s320/c2bw.bmp" alt="" id="BLOGGER_PHOTO_ID_5365803724439821522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SncqEAlZoBI/AAAAAAAAAj8/ITzRoepW_Pk/s1600-h/c2open.bmp"&gt;&lt;img style="cursor: pointer; width: 186px; height: 186px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SncqEAlZoBI/AAAAAAAAAj8/ITzRoepW_Pk/s320/c2open.bmp" alt="" id="BLOGGER_PHOTO_ID_5365803729399947282" border="0" /&gt;&lt;/a&gt;        &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SncqEXNINZI/AAAAAAAAAkE/1mrBYcYj3io/s1600-h/c2open2.bmp"&gt;&lt;img style="cursor: pointer; width: 186px; height: 186px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SncqEXNINZI/AAAAAAAAAkE/1mrBYcYj3io/s320/c2open2.bmp" alt="" id="BLOGGER_PHOTO_ID_5365803735472158098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(open --&gt; open)&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The opening operation in this particular subimage is used twice. The first output (left) contains a blob which lies very close to the right boundary of the subimage. A second application of the opening operation on the previous image eliminated this discrepancy.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;subimage3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncrWHfHHSI/AAAAAAAAAkM/X3Q5tIduNgo/s1600-h/c3.jpg"&gt;&lt;img style="cursor: pointer; width: 195px; height: 195px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncrWHfHHSI/AAAAAAAAAkM/X3Q5tIduNgo/s320/c3.jpg" alt="" id="BLOGGER_PHOTO_ID_5365805140001889570" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SncrWaicodI/AAAAAAAAAkc/SLNXH-MtD4o/s1600-h/c3hist.bmp"&gt;&lt;img style="cursor: pointer; width: 364px; height: 188px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SncrWaicodI/AAAAAAAAAkc/SLNXH-MtD4o/s320/c3hist.bmp" alt="" id="BLOGGER_PHOTO_ID_5365805145116156370" border="0" /&gt;&lt;/a&gt;     &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SncrWKtI8eI/AAAAAAAAAkU/cboJ2h4iS1s/s1600-h/c3bw.bmp"&gt;&lt;img style="cursor: pointer; width: 190px; height: 190px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SncrWKtI8eI/AAAAAAAAAkU/cboJ2h4iS1s/s320/c3bw.bmp" alt="" id="BLOGGER_PHOTO_ID_5365805140866036194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncrWoXhw_I/AAAAAAAAAkk/jd8xSnksfrE/s1600-h/c3open.bmp"&gt;&lt;img style="cursor: pointer; width: 190px; height: 190px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncrWoXhw_I/AAAAAAAAAkk/jd8xSnksfrE/s320/c3open.bmp" alt="" id="BLOGGER_PHOTO_ID_5365805148828451826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(open)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;subimage4&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SncrW9iHMmI/AAAAAAAAAks/pPsEIGKOYZA/s1600-h/c4.jpg"&gt;&lt;img style="cursor: pointer; width: 203px; height: 203px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SncrW9iHMmI/AAAAAAAAAks/pPsEIGKOYZA/s320/c4.jpg" alt="" id="BLOGGER_PHOTO_ID_5365805154509992546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncsSWQuMNI/AAAAAAAAAk8/yVJFxr4pvYw/s1600-h/c4hist.bmp"&gt;&lt;img style="cursor: pointer; width: 358px; height: 185px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncsSWQuMNI/AAAAAAAAAk8/yVJFxr4pvYw/s320/c4hist.bmp" alt="" id="BLOGGER_PHOTO_ID_5365806174760218834" border="0" /&gt;&lt;/a&gt;     &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SncsR_gxLvI/AAAAAAAAAk0/oTmjb_9dMws/s1600-h/c4bw.bmp"&gt;&lt;img style="cursor: pointer; width: 169px; height: 169px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SncsR_gxLvI/AAAAAAAAAk0/oTmjb_9dMws/s320/c4bw.bmp" alt="" id="BLOGGER_PHOTO_ID_5365806168653508338" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SncsSqbsgBI/AAAAAAAAAlE/SrRxAmbv9Z0/s1600-h/c4open.bmp"&gt;&lt;img style="cursor: pointer; width: 200px; height: 200px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SncsSqbsgBI/AAAAAAAAAlE/SrRxAmbv9Z0/s320/c4open.bmp" alt="" id="BLOGGER_PHOTO_ID_5365806180174954514" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(open)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;subimage5&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SncsTPIC0fI/AAAAAAAAAlM/qosP56DOSo0/s1600-h/c5.jpg"&gt;&lt;img style="cursor: pointer; width: 193px; height: 193px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SncsTPIC0fI/AAAAAAAAAlM/qosP56DOSo0/s320/c5.jpg" alt="" id="BLOGGER_PHOTO_ID_5365806190024643058" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SnctKSIgDuI/AAAAAAAAAlk/hCtguRlxebI/s1600-h/c5hist.bmp"&gt;&lt;img style="cursor: pointer; width: 330px; height: 171px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SnctKSIgDuI/AAAAAAAAAlk/hCtguRlxebI/s320/c5hist.bmp" alt="" id="BLOGGER_PHOTO_ID_5365807135724670690" border="0" /&gt;&lt;/a&gt;     &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SncsTKB806I/AAAAAAAAAlU/PFSiJGefM14/s1600-h/c5bw.bmp"&gt;&lt;img style="cursor: pointer; width: 165px; height: 165px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SncsTKB806I/AAAAAAAAAlU/PFSiJGefM14/s320/c5bw.bmp" alt="" id="BLOGGER_PHOTO_ID_5365806188656907170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SnctKCdmJCI/AAAAAAAAAlc/zPMbCP5QTLA/s1600-h/c5close.bmp"&gt;&lt;img style="cursor: pointer; width: 184px; height: 184px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SnctKCdmJCI/AAAAAAAAAlc/zPMbCP5QTLA/s320/c5close.bmp" alt="" id="BLOGGER_PHOTO_ID_5365807131518182434" border="0" /&gt;&lt;/a&gt;       &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SnctKnSJ4EI/AAAAAAAAAls/fQaNiJyzVdA/s1600-h/c5openL.bmp"&gt;&lt;img style="cursor: pointer; width: 184px; height: 184px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SnctKnSJ4EI/AAAAAAAAAls/fQaNiJyzVdA/s320/c5openL.bmp" alt="" id="BLOGGER_PHOTO_ID_5365807141402304578" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(close --&gt; open)&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Unlike the rest of the subimages which require application of the opening operation, solely ,this particular subimage finds it necessary to close first before opening. It is observed that no overlapping of blobs occur in this subimage, Thus, opening as an initial step is no longer necessary.  The closing operation eliminated the occurrences of holes inside the blobs. The first output after the closing operation however resulted to imperfect circles. Opening the image with a circular structuring element restored the original shape of the blobs.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;subimage6&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SnctK_z4TBI/AAAAAAAAAl0/KWKEJ0_bpBU/s1600-h/c6.jpg"&gt;&lt;img style="cursor: pointer; width: 195px; height: 195px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SnctK_z4TBI/AAAAAAAAAl0/KWKEJ0_bpBU/s320/c6.jpg" alt="" id="BLOGGER_PHOTO_ID_5365807147986209810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SncuHKfVikI/AAAAAAAAAmE/pEJYUTtb0_Q/s1600-h/c6hist.bmp"&gt;&lt;img style="cursor: pointer; width: 374px; height: 195px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SncuHKfVikI/AAAAAAAAAmE/pEJYUTtb0_Q/s320/c6hist.bmp" alt="" id="BLOGGER_PHOTO_ID_5365808181644986946" border="0" /&gt;&lt;/a&gt;     &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SnctK21GXtI/AAAAAAAAAl8/sl7Uh8fRCSw/s1600-h/c6bw.bmp"&gt;&lt;img style="cursor: pointer; width: 183px; height: 183px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SnctK21GXtI/AAAAAAAAAl8/sl7Uh8fRCSw/s320/c6bw.bmp" alt="" id="BLOGGER_PHOTO_ID_5365807145575407314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncuHbJujJI/AAAAAAAAAmM/VPp9qmtXfP8/s1600-h/c6open.bmp"&gt;&lt;img style="cursor: pointer; width: 176px; height: 176px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncuHbJujJI/AAAAAAAAAmM/VPp9qmtXfP8/s320/c6open.bmp" alt="" id="BLOGGER_PHOTO_ID_5365808186117754002" border="0" /&gt;&lt;/a&gt;        &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SncuHi_ffBI/AAAAAAAAAmU/Tcbo8Zwg1WE/s1600-h/c6openL.bmp"&gt;&lt;img style="cursor: pointer; width: 177px; height: 177px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SncuHi_ffBI/AAAAAAAAAmU/Tcbo8Zwg1WE/s320/c6openL.bmp" alt="" id="BLOGGER_PHOTO_ID_5365808188222307346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(open --&gt; open)&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The opening operation is applied twice since initial application creates neighboring with connected boundaries. A second application of the opening operation cuts this connection.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;subimage7&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncuH4i8ILI/AAAAAAAAAmc/UkZ19wrI5x8/s1600-h/c7.jpg"&gt;&lt;img style="cursor: pointer; width: 190px; height: 190px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncuH4i8ILI/AAAAAAAAAmc/UkZ19wrI5x8/s320/c7.jpg" alt="" id="BLOGGER_PHOTO_ID_5365808194008129714" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sncuz-u_VzI/AAAAAAAAAms/DYfP8jzQnp8/s1600-h/c7hist.bmp"&gt;&lt;img style="cursor: pointer; width: 349px; height: 181px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sncuz-u_VzI/AAAAAAAAAms/DYfP8jzQnp8/s320/c7hist.bmp" alt="" id="BLOGGER_PHOTO_ID_5365808951583528754" border="0" /&gt;&lt;/a&gt;     &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncuIO_327I/AAAAAAAAAmk/mg2ZJr5LvLA/s1600-h/c7bw.bmp"&gt;&lt;img style="cursor: pointer; width: 168px; height: 168px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SncuIO_327I/AAAAAAAAAmk/mg2ZJr5LvLA/s320/c7bw.bmp" alt="" id="BLOGGER_PHOTO_ID_5365808200035064754" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sncu0CVHwwI/AAAAAAAAAm0/hi1PMqrz8e4/s1600-h/c7open.bmp"&gt;&lt;img style="cursor: pointer; width: 179px; height: 179px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sncu0CVHwwI/AAAAAAAAAm0/hi1PMqrz8e4/s320/c7open.bmp" alt="" id="BLOGGER_PHOTO_ID_5365808952548770562" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(open)&lt;br /&gt;&lt;br /&gt;List of Areas and corresponding Frequencies&lt;br /&gt;(with tabul command in scilab)&lt;br /&gt;&lt;br /&gt; 522.--    3.&lt;br /&gt; 521.--    1.&lt;br /&gt; 515.--    1.&lt;br /&gt; 514.--    4.&lt;br /&gt; 513.    --1.&lt;br /&gt; 510. --1.&lt;br /&gt; 508.    --1.&lt;br /&gt; 506.    --4.&lt;br /&gt; 505.    --2.&lt;br /&gt; 500.    --1.&lt;br /&gt; 498.    --1.&lt;br /&gt; 497. --1.&lt;br /&gt; 492.    --3.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; 489.--    7.&lt;/span&gt;&lt;br /&gt; 485.    --1.&lt;br /&gt; 472.    --1.&lt;br /&gt; 466.    --1.&lt;br /&gt; 456.    --1.&lt;br /&gt; 444.    --5.&lt;br /&gt; 441.    --1.&lt;br /&gt; 437.    --4.&lt;br /&gt;     421.    --3. &lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Mean: 482.66667&lt;br /&gt;Standard Deviation: 31.930998&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Majority (7 occurences) of the measured circles have area equal to 489.&lt;br /&gt;&lt;br /&gt;The best area estimate lies on the mean of the set. Thus , blob area area is approximately &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;482.66667 +/- 31.930998 &lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Rating: 10&lt;br /&gt;I have understood all the concepts tackled in this activity.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;[1] M. Soriano, A9 – Binary Operations,2009.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-1545415329662419162?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/1545415329662419162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/08/activity-9-binary-operations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/1545415329662419162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/1545415329662419162'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/08/activity-9-binary-operations.html' title='Activity 9: Binary Operations'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_MVP54MAwK0Y/Sncm_dQmxEI/AAAAAAAAAi8/rcPDFX_aEIc/s72-c/Circles001.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-8467337012657301820</id><published>2009-07-27T06:17:00.000-07:00</published><updated>2009-08-06T18:45:49.316-07:00</updated><title type='text'>Activity 8: Morphological Operations</title><content type='html'>&lt;span style="font-style: italic;"&gt;"...The taste of life&lt;/span&gt; &lt;span style="font-style: italic;"&gt;I can't describe&lt;/span&gt; &lt;span style="font-style: italic;"&gt;It's chocking on my mind&lt;/span&gt; &lt;span style="font-style: italic;"&gt;Reaching out I can't believe&lt;/span&gt; &lt;span style="font-style: italic;"&gt;Faith it can't decide..."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Morphology in image processing requires reshaping and reforming images which may be beneficial for adding or extracting information from it. All morphological processes are said to affect an object's shape. Holes in images may be filled in, or contours on images may be enhanced. This activity initially aims to explore two types of morphological operations  dilation and erosion. Dilating an image leads to the elongation of an image based on the shape of the structuring element operated in it. The opposite happens when an image is subjected to erotion. The image in this case is reduced/"eroded" in reference to the shape of the structuring element used.&lt;br /&gt;&lt;br /&gt;Shapes (in binary format) tested include square (50x50), triangle (base=50, height=30), circle (radius 25), hollow square (60x60, edges are 4 pixels thick) and a plus sign (8 pixels thick and 50 pixels long for each line). These images were dilated and eroded with the following structuring elelements: 4x4 ones, 2x4 ones, 4x2 ones and a cross 5pixels long and one pixel thick. Results are as follows.&lt;br /&gt;&lt;br /&gt;Majority of my predictions came out right. The hollow square confused me most.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;1. Trangle&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm3dvrTXpgI/AAAAAAAAAiE/h7sC9Gom5Xk/s1600-h/triangle.bmp"&gt;&lt;img style="cursor: pointer; width: 104px; height: 104px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm3dvrTXpgI/AAAAAAAAAiE/h7sC9Gom5Xk/s320/triangle.bmp" alt="" id="BLOGGER_PHOTO_ID_5363186542415685122" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm3gKsErJUI/AAAAAAAAAi0/TIanTmFNsNM/s1600-h/triangles.bmp"&gt;&lt;img style="cursor: pointer; width: 624px; height: 320px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm3gKsErJUI/AAAAAAAAAi0/TIanTmFNsNM/s320/triangles.bmp" alt="" id="BLOGGER_PHOTO_ID_5363189205502207298" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;2. Square&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm3dvb1h3WI/AAAAAAAAAh8/p4rHBWZzWqI/s1600-h/square.bmp"&gt;&lt;img style="cursor: pointer; width: 105px; height: 105px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm3dvb1h3WI/AAAAAAAAAh8/p4rHBWZzWqI/s320/square.bmp" alt="" id="BLOGGER_PHOTO_ID_5363186538263993698" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm3ftHOes_I/AAAAAAAAAis/BwpeXHxShpg/s1600-h/squares.bmp"&gt;&lt;img style="cursor: pointer; width: 677px; height: 350px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm3ftHOes_I/AAAAAAAAAis/BwpeXHxShpg/s320/squares.bmp" alt="" id="BLOGGER_PHOTO_ID_5363188697395016690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;3. Hollow Square&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm3dvDCSGZI/AAAAAAAAAh0/IUtFeToFYZ4/s1600-h/Hsquare.bmp"&gt;&lt;img style="cursor: pointer; width: 105px; height: 105px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm3dvDCSGZI/AAAAAAAAAh0/IUtFeToFYZ4/s320/Hsquare.bmp" alt="" id="BLOGGER_PHOTO_ID_5363186531606600082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm3fs2jJd6I/AAAAAAAAAik/qoGbGEWJBcY/s1600-h/Hsquares.bmp"&gt;&lt;img style="cursor: pointer; width: 649px; height: 336px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm3fs2jJd6I/AAAAAAAAAik/qoGbGEWJBcY/s320/Hsquares.bmp" alt="" id="BLOGGER_PHOTO_ID_5363188692918302626" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;4. Cross&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm3dvIprFeI/AAAAAAAAAhs/wOAaCwWIqy0/s1600-h/cross.bmp"&gt;&lt;img style="cursor: pointer; width: 103px; height: 103px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm3dvIprFeI/AAAAAAAAAhs/wOAaCwWIqy0/s320/cross.bmp" alt="" id="BLOGGER_PHOTO_ID_5363186533113992674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm3fsTaJBRI/AAAAAAAAAiU/3gxNWKXn0EI/s1600-h/crosssss.bmp"&gt;&lt;img style="cursor: pointer; width: 662px; height: 342px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm3fsTaJBRI/AAAAAAAAAiU/3gxNWKXn0EI/s320/crosssss.bmp" alt="" id="BLOGGER_PHOTO_ID_5363188683485283602" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;5. Circle&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm3dukLXL_I/AAAAAAAAAhk/mgK6o3oGsbE/s1600-h/circle.bmp"&gt;&lt;img style="cursor: pointer; width: 101px; height: 101px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm3dukLXL_I/AAAAAAAAAhk/mgK6o3oGsbE/s320/circle.bmp" alt="" id="BLOGGER_PHOTO_ID_5363186523323183090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm3fsPXaGAI/AAAAAAAAAiM/iLGC4H6f4rI/s1600-h/circles.bmp"&gt;&lt;img style="cursor: pointer; width: 651px; height: 334px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm3fsPXaGAI/AAAAAAAAAiM/iLGC4H6f4rI/s320/circles.bmp" alt="" id="BLOGGER_PHOTO_ID_5363188682400077826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Explorations of the same images in the previous set ere applied with built-in functions thin and skel in scilab.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Thin and Skel&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm3fssz8oSI/AAAAAAAAAic/a74SpAt5v9s/s1600-h/halo.bmp"&gt;&lt;img style="cursor: pointer; width: 660px; height: 340px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm3fssz8oSI/AAAAAAAAAic/a74SpAt5v9s/s320/halo.bmp" alt="" id="BLOGGER_PHOTO_ID_5363188690304409890" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[Code]&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt;triangle=im2bw(gray_imread('C:\Users\Public\alva\186\A8\images\triangle.bmp'),0.5);&lt;/span&gt; &lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt;circle=im2bw(gray_imread('C:\Users\Public\alva\186\A8\images\circle.bmp'),0.5);&lt;/span&gt; &lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt;cross=im2bw(gray_imread('C:\Users\Public\alva\186\A8\images\cross.bmp'),0.5);&lt;/span&gt; &lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt;Hsquare=im2bw(gray_imread('C:\Users\Public\alva\186\A8\images\Hsquare.bmp'),0.5);&lt;/span&gt; &lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt;Square=im2bw(gray_imread('C:\Users\Public\alva\186\A8\images\square.bmp'),0.5);&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;  &lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt;s24=ones(2,4);&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt; &lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt;s42=ones(4,2);&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt; &lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt;s44=ones(4,4);&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt; &lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt;tiny=zeros(5,5);&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt; &lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt;tiny(3,:)=1;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt; &lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt;tiny(:,3)=1;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Rating: 10&lt;br /&gt;I think i have done exactly what was being asked for in this activity.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-8467337012657301820?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/8467337012657301820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/07/activity-8-morphological-operations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/8467337012657301820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/8467337012657301820'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/07/activity-8-morphological-operations.html' title='Activity 8: Morphological Operations'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm3dvrTXpgI/AAAAAAAAAiE/h7sC9Gom5Xk/s72-c/triangle.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-2872302828271609085</id><published>2009-07-27T03:00:00.000-07:00</published><updated>2009-08-06T18:42:06.879-07:00</updated><title type='text'>Activity 7: Enhancement in the Frequency Domain</title><content type='html'>"...Wild, white horses&lt;br /&gt;They will take me away&lt;br /&gt;And the tenderness I feel&lt;br /&gt;Will send the dark underneath&lt;br /&gt;Will I follow?..."&lt;br /&gt;&lt;br /&gt;Masking is a technique done in the Fourier domain and is used to remove unwanted patterns in images. Filter masks block unwanted frequencies. [1]&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Convolution Theorem&lt;/font&gt;&lt;br /&gt;a. dots&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2K_dvj5YI/AAAAAAAAAdc/Nazx5fNazec/s1600-h/dotsmat.jpg"&gt;&lt;img style="cursor: pointer; width: 160px; height: 160px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2K_dvj5YI/AAAAAAAAAdc/Nazx5fNazec/s320/dotsmat.jpg" alt="" id="BLOGGER_PHOTO_ID_5363095554188633474" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2K_f84_LI/AAAAAAAAAdk/Dwe4qB6YvfM/s1600-h/dots.jpg"&gt;&lt;img style="cursor: pointer; width: 160px; height: 160px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2K_f84_LI/AAAAAAAAAdk/Dwe4qB6YvfM/s320/dots.jpg" alt="" id="BLOGGER_PHOTO_ID_5363095554781412530" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;b. circles&lt;br /&gt;r=0&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2CCuaU5SI/AAAAAAAAAZM/1_efGBuCGLE/s1600-h/c0.jpg"&gt;&lt;img style="cursor: pointer; width: 162px; height: 162px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2CCuaU5SI/AAAAAAAAAZM/1_efGBuCGLE/s320/c0.jpg" alt="" id="BLOGGER_PHOTO_ID_5363085714597930274" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2JJmKqEjI/AAAAAAAAAbc/rxVDU0z2a-c/s1600-h/circles0.bmp"&gt;&lt;img style="cursor: pointer; width: 163px; height: 163px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2JJmKqEjI/AAAAAAAAAbc/rxVDU0z2a-c/s320/circles0.bmp" alt="" id="BLOGGER_PHOTO_ID_5363093529225204274" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;r=2&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2CC4yFTdI/AAAAAAAAAZU/wo0E5UyK8p8/s1600-h/c2.jpg"&gt;&lt;img style="cursor: pointer; width: 159px; height: 159px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2CC4yFTdI/AAAAAAAAAZU/wo0E5UyK8p8/s320/c2.jpg" alt="" id="BLOGGER_PHOTO_ID_5363085717381926354" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2JJ99BooI/AAAAAAAAAbk/eQEtcXD2wmc/s1600-h/circles2.bmp"&gt;&lt;img style="cursor: pointer; width: 161px; height: 161px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2JJ99BooI/AAAAAAAAAbk/eQEtcXD2wmc/s320/circles2.bmp" alt="" id="BLOGGER_PHOTO_ID_5363093535610479234" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;r=5&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2CDKnA5hI/AAAAAAAAAZc/HbEdEeFk3Zg/s1600-h/c5.jpg"&gt;&lt;img style="cursor: pointer; width: 163px; height: 163px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2CDKnA5hI/AAAAAAAAAZc/HbEdEeFk3Zg/s320/c5.jpg" alt="" id="BLOGGER_PHOTO_ID_5363085722167338514" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2JKHIxJ2I/AAAAAAAAAbs/jLc_SpW3CrI/s1600-h/circles5.bmp"&gt;&lt;img style="cursor: pointer; width: 164px; height: 165px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2JKHIxJ2I/AAAAAAAAAbs/jLc_SpW3CrI/s320/circles5.bmp" alt="" id="BLOGGER_PHOTO_ID_5363093538075649890" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;r=10&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2CWmxaqYI/AAAAAAAAAZk/seMEAEN7mSA/s1600-h/c10.jpg"&gt;&lt;img style="cursor: pointer; width: 158px; height: 158px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2CWmxaqYI/AAAAAAAAAZk/seMEAEN7mSA/s320/c10.jpg" alt="" id="BLOGGER_PHOTO_ID_5363086056144677250" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2JKfCImZI/AAAAAAAAAb0/Td1rey-VyIE/s1600-h/circles10.bmp"&gt;&lt;img style="cursor: pointer; width: 163px; height: 162px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2JKfCImZI/AAAAAAAAAb0/Td1rey-VyIE/s320/circles10.bmp" alt="" id="BLOGGER_PHOTO_ID_5363093544490277266" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;r=20&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2CW0kPBHI/AAAAAAAAAZs/EBXqSYPtYb0/s1600-h/c20.jpg"&gt;&lt;img style="cursor: pointer; width: 157px; height: 157px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2CW0kPBHI/AAAAAAAAAZs/EBXqSYPtYb0/s320/c20.jpg" alt="" id="BLOGGER_PHOTO_ID_5363086059847484530" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2JKv39PEI/AAAAAAAAAb8/eZ76ngfoRSI/s1600-h/circles20.bmp"&gt;&lt;img style="cursor: pointer; width: 157px; height: 157px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2JKv39PEI/AAAAAAAAAb8/eZ76ngfoRSI/s320/circles20.bmp" alt="" id="BLOGGER_PHOTO_ID_5363093549010992194" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;c. squares&lt;br /&gt;s=1&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2DmdznEXI/AAAAAAAAAac/jPrjoi7V-LA/s1600-h/sq1.jpg"&gt;&lt;img style="cursor: pointer; width: 157px; height: 157px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2DmdznEXI/AAAAAAAAAac/jPrjoi7V-LA/s320/sq1.jpg" alt="" id="BLOGGER_PHOTO_ID_5363087428127494514" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2J1_1ilrI/AAAAAAAAAcE/DUPA69iVomg/s1600-h/squares1.bmp"&gt;&lt;img style="cursor: pointer; width: 153px; height: 155px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2J1_1ilrI/AAAAAAAAAcE/DUPA69iVomg/s320/squares1.bmp" alt="" id="BLOGGER_PHOTO_ID_5363094292030199474" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;s=2&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2NAD0NRNI/AAAAAAAAAds/Eu3tC2qM7Hg/s1600-h/sq2.jpg"&gt;&lt;img style="cursor: pointer; width: 148px; height: 148px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2NAD0NRNI/AAAAAAAAAds/Eu3tC2qM7Hg/s320/sq2.jpg" alt="" id="BLOGGER_PHOTO_ID_5363097763431924946" border="0"&gt;&lt;/a&gt;  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2NO0Xru2I/AAAAAAAAAd0/XLP5g18XCYY/s1600-h/squares2.bmp"&gt;&lt;img style="cursor: pointer; width: 149px; height: 149px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2NO0Xru2I/AAAAAAAAAd0/XLP5g18XCYY/s320/squares2.bmp" alt="" id="BLOGGER_PHOTO_ID_5363098016983792482" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;s=5&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2Dm-z1szI/AAAAAAAAAas/rvjP0r2xgVk/s1600-h/sq5.jpg"&gt;&lt;img style="cursor: pointer; width: 154px; height: 154px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2Dm-z1szI/AAAAAAAAAas/rvjP0r2xgVk/s320/sq5.jpg" alt="" id="BLOGGER_PHOTO_ID_5363087436986823474" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2J2rFToYI/AAAAAAAAAcU/3KcC3lDXmrU/s1600-h/squares5.bmp"&gt;&lt;img style="cursor: pointer; width: 153px; height: 154px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2J2rFToYI/AAAAAAAAAcU/3KcC3lDXmrU/s320/squares5.bmp" alt="" id="BLOGGER_PHOTO_ID_5363094303639052674" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;s=10&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2K_IBAa6I/AAAAAAAAAdU/hmEwe38BcL0/s1600-h/sq10.jpg"&gt;&lt;img style="cursor: pointer; width: 154px; height: 154px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2K_IBAa6I/AAAAAAAAAdU/hmEwe38BcL0/s320/sq10.jpg" alt="" id="BLOGGER_PHOTO_ID_5363095548356225954" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2J20cGZBI/AAAAAAAAAcc/Kk78Ef8Ok5Q/s1600-h/squares10.bmp"&gt;&lt;img style="cursor: pointer; width: 154px; height: 154px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2J20cGZBI/AAAAAAAAAcc/Kk78Ef8Ok5Q/s320/squares10.bmp" alt="" id="BLOGGER_PHOTO_ID_5363094306150573074" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;d. gaussian&lt;br /&gt;variance=50, distance=5&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2KrF8PDKI/AAAAAAAAAc0/sxp3YUFEmTY/s1600-h/gaussv50,5.bmp"&gt;&lt;img style="cursor: pointer; width: 165px; height: 165px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2KrF8PDKI/AAAAAAAAAc0/sxp3YUFEmTY/s320/gaussv50,5.bmp" alt="" id="BLOGGER_PHOTO_ID_5363095204201958562" border="0"&gt;&lt;/a&gt;  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2KrTfkhYI/AAAAAAAAAc8/mu1vpCT0gpI/s1600-h/gaussv50,5fft.bmp"&gt;&lt;img style="cursor: pointer; width: 162px; height: 164px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2KrTfkhYI/AAAAAAAAAc8/mu1vpCT0gpI/s320/gaussv50,5fft.bmp" alt="" id="BLOGGER_PHOTO_ID_5363095207839827330" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;variance=50, distance=50&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2KruCwjxI/AAAAAAAAAdE/TVt1Tsna4k0/s1600-h/gaussv50,50.bmp"&gt;&lt;img style="cursor: pointer; width: 169px; height: 169px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2KruCwjxI/AAAAAAAAAdE/TVt1Tsna4k0/s320/gaussv50,50.bmp" alt="" id="BLOGGER_PHOTO_ID_5363095214966738706" border="0"&gt;&lt;/a&gt;  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2Kr1KUuCI/AAAAAAAAAdM/TYVA8WqYm6k/s1600-h/gaussv50,50fft.bmp"&gt;&lt;img style="cursor: pointer; width: 170px; height: 170px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2Kr1KUuCI/AAAAAAAAAdM/TYVA8WqYm6k/s320/gaussv50,50fft.bmp" alt="" id="BLOGGER_PHOTO_ID_5363095216877516834" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;variance=50, distance=100&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2PNHDMDcI/AAAAAAAAAd8/XMU4xPaD9h0/s1600-h/gaussv50,100.jpg.bmp"&gt;&lt;img style="cursor: pointer; width: 169px; height: 168px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2PNHDMDcI/AAAAAAAAAd8/XMU4xPaD9h0/s320/gaussv50,100.jpg.bmp" alt="" id="BLOGGER_PHOTO_ID_5363100186661621186" border="0"&gt;&lt;/a&gt;  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2PNSCuqjI/AAAAAAAAAeE/clVqOlmhauA/s1600-h/gaussv50,100fft.jpg.bmp"&gt;&lt;img style="cursor: pointer; width: 169px; height: 170px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2PNSCuqjI/AAAAAAAAAeE/clVqOlmhauA/s320/gaussv50,100fft.jpg.bmp" alt="" id="BLOGGER_PHOTO_ID_5363100189612485170" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;variance=100, distance=50&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2PNpc2s7I/AAAAAAAAAeM/KJqUgoQ3jjo/s1600-h/gaussv100,50.bmp"&gt;&lt;img style="cursor: pointer; width: 164px; height: 164px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2PNpc2s7I/AAAAAAAAAeM/KJqUgoQ3jjo/s320/gaussv100,50.bmp" alt="" id="BLOGGER_PHOTO_ID_5363100195896079282" border="0"&gt;&lt;/a&gt;  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2PN-gL1KI/AAAAAAAAAeU/8moF_iFlvKs/s1600-h/gaussv100,50fft.bmp"&gt;&lt;img style="cursor: pointer; width: 165px; height: 164px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2PN-gL1KI/AAAAAAAAAeU/8moF_iFlvKs/s320/gaussv100,50fft.bmp" alt="" id="BLOGGER_PHOTO_ID_5363100201547191458" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;e. inverse gaussian&lt;br /&gt;variance=300, distance=50&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2P-3iz_WI/AAAAAAAAAes/eAIAtxoK1e4/s1600-h/invgaussv300,50.bmp"&gt;&lt;img style="cursor: pointer; width: 191px; height: 167px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2P-3iz_WI/AAAAAAAAAes/eAIAtxoK1e4/s320/invgaussv300,50.bmp" alt="" id="BLOGGER_PHOTO_ID_5363101041492753762" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2P_GExhnI/AAAAAAAAAe0/7N34rryi_bM/s1600-h/invgaussv300,50fft.bmp"&gt;&lt;img style="cursor: pointer; width: 167px; height: 167px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2P_GExhnI/AAAAAAAAAe0/7N34rryi_bM/s320/invgaussv300,50fft.bmp" alt="" id="BLOGGER_PHOTO_ID_5363101045393294962" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;variance=500, distance=50&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2QzIiPISI/AAAAAAAAAfM/yKq47YRtNX4/s1600-h/invgaussv500,50.bmp"&gt;&lt;img style="cursor: pointer; width: 182px; height: 187px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2QzIiPISI/AAAAAAAAAfM/yKq47YRtNX4/s320/invgaussv500,50.bmp" alt="" id="BLOGGER_PHOTO_ID_5363101939406938402" border="0"&gt;&lt;/a&gt;  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2QkA94FnI/AAAAAAAAAfE/4_tbks8QuUY/s1600-h/invgaussv500im.bmp"&gt;&lt;img style="cursor: pointer; width: 179px; height: 181px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2QkA94FnI/AAAAAAAAAfE/4_tbks8QuUY/s320/invgaussv500im.bmp" alt="" id="BLOGGER_PHOTO_ID_5363101679677347442" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;font style="font-weight: bold;"&gt;Fingerprints: Ridge Enhancement&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;Original Fingerprint&lt;font&gt; [2]&lt;/font&gt;&lt;font style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2STSrWCaI/AAAAAAAAAfU/fGPmEF7-2DQ/s1600-h/fingerprint_2.jpg"&gt;&lt;img style="cursor: pointer; width: 198px; height: 198px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2STSrWCaI/AAAAAAAAAfU/fGPmEF7-2DQ/s320/fingerprint_2.jpg" alt="" id="BLOGGER_PHOTO_ID_5363103591396936098" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;font style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/font&gt;Method 1: Through the use of a High Pass Filter (Inverse Gaussian)&lt;br /&gt;&lt;br /&gt;Filter used: Inverse Gaussian with Variance=25 (right).&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;High-pass filters allow transmission of high frequency signals such as edges in images. Results should show obvious enhancement of edges. The downfall however for this method is that this filter also allows transmission of noise since noise is usually of higher frequency A possible solution to this is through subtracting the high-passed image with the original image resulting to a noiseless image. The image can again be passed through this same filter to enhance the edges some more.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2UXZd8REI/AAAAAAAAAfk/SE0utUkNqCs/s1600-h/print2filtlog.jpg"&gt;&lt;img style="cursor: pointer; width: 199px; height: 199px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2UXZd8REI/AAAAAAAAAfk/SE0utUkNqCs/s320/print2filtlog.jpg" alt="" id="BLOGGER_PHOTO_ID_5363105860962501698" border="0"&gt;&lt;/a&gt;    &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2V8lVG4_I/AAAAAAAAAf8/ZD_qOv_1wNo/s1600-h/print2gauss.jpg"&gt;&lt;img style="cursor: pointer; width: 199px; height: 199px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2V8lVG4_I/AAAAAAAAAf8/ZD_qOv_1wNo/s320/print2gauss.jpg" alt="" id="BLOGGER_PHOTO_ID_5363107599313462258" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Result:&lt;br /&gt;The image is noiseless to begin with, so there is no need to subtract the filtered image with the original image.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2STaXPWWI/AAAAAAAAAfc/zpaD7MQKa1Q/s1600-h/print2final.jpg"&gt;&lt;img style="cursor: pointer; width: 219px; height: 219px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2STaXPWWI/AAAAAAAAAfc/zpaD7MQKa1Q/s320/print2final.jpg" alt="" id="BLOGGER_PHOTO_ID_5363103593460095330" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Method 2: Use of a filter which matches the fourier tranform of the image&lt;br /&gt;&lt;br /&gt;The function im2bw binarized the original image (middle). The latter served as the template for the filter used (right).&lt;br /&gt;&lt;br /&gt;This type of filter specially made for the image allows the transmission of information which lies only within the central ranges. All signals located at the sides are attenuated.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2UXZd8REI/AAAAAAAAAfk/SE0utUkNqCs/s1600-h/print2filtlog.jpg"&gt;&lt;img style="cursor: pointer; width: 202px; height: 202px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2UXZd8REI/AAAAAAAAAfk/SE0utUkNqCs/s320/print2filtlog.jpg" alt="" id="BLOGGER_PHOTO_ID_5363105860962501698" border="0"&gt;&lt;/a&gt;  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2UXpqH0oI/AAAAAAAAAfs/EjyRwyvGEEY/s1600-h/print2ltr.jpg"&gt;&lt;img style="cursor: pointer; width: 201px; height: 201px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2UXpqH0oI/AAAAAAAAAfs/EjyRwyvGEEY/s320/print2ltr.jpg" alt="" id="BLOGGER_PHOTO_ID_5363105865308557954" border="0"&gt;&lt;/a&gt;  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2UYDy9KXI/AAAAAAAAAf0/_DOtmSGZ0XE/s1600-h/print2tresh.jpg"&gt;&lt;img style="cursor: pointer; width: 200px; height: 200px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2UYDy9KXI/AAAAAAAAAf0/_DOtmSGZ0XE/s320/print2tresh.jpg" alt="" id="BLOGGER_PHOTO_ID_5363105872324929906" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: center;"&gt;Result:&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2ZEEzqX_I/AAAAAAAAAgE/aHhWUz4TGL0/s1600-h/print2filtfinal.jpg"&gt;&lt;img style="cursor: pointer; width: 188px; height: 188px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2ZEEzqX_I/AAAAAAAAAgE/aHhWUz4TGL0/s320/print2filtfinal.jpg" alt="" id="BLOGGER_PHOTO_ID_5363111026557083634" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: center;"&gt;Fingerprint images compared: original(left) inverse gaussian(middle) filter(right)&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2STSrWCaI/AAAAAAAAAfU/fGPmEF7-2DQ/s1600-h/fingerprint_2.jpg"&gt;&lt;img style="cursor: pointer; width: 182px; height: 182px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2STSrWCaI/AAAAAAAAAfU/fGPmEF7-2DQ/s320/fingerprint_2.jpg" alt="" id="BLOGGER_PHOTO_ID_5363103591396936098" border="0"&gt;&lt;/a&gt;    &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2STaXPWWI/AAAAAAAAAfc/zpaD7MQKa1Q/s1600-h/print2final.jpg"&gt;&lt;img style="cursor: pointer; width: 183px; height: 183px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2STaXPWWI/AAAAAAAAAfc/zpaD7MQKa1Q/s320/print2final.jpg" alt="" id="BLOGGER_PHOTO_ID_5363103593460095330" border="0"&gt;&lt;/a&gt;    &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2ZEEzqX_I/AAAAAAAAAgE/aHhWUz4TGL0/s1600-h/print2filtfinal.jpg"&gt;&lt;img style="cursor: pointer; width: 182px; height: 182px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2ZEEzqX_I/AAAAAAAAAgE/aHhWUz4TGL0/s320/print2filtfinal.jpg" alt="" id="BLOGGER_PHOTO_ID_5363111026557083634" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;font style="font-weight: bold;"&gt;Lunar Landing Scanned Pictures : Line removal&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The regularly spaced vertical lines on the below are the result of combining individually digitized framelets to create a composite photograph[1]. In order to eliminate these lines, a filter patterned on the FT of the original image is drawn using paint. Sometimes, it is more efficient to draw it by hand rather than to utilize threshold through the im2bw command since information may be lost as threshold values are adjusted.&lt;br /&gt;&lt;br /&gt;Previous exercises have shown that a vertical line in real space corresponds to a horizontal counterpart in fourier space. It is thus necessary to block only the horizontal component in fourier space since this is what we are after. Vertical lines have been successfully deleted in the final image.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Original Image [3]:&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2e0ajDsZI/AAAAAAAAAgM/TxuswCGic9M/s1600-h/hi_res_vertical_lg.jpg"&gt;&lt;img style="cursor: pointer; width: 228px; height: 170px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2e0ajDsZI/AAAAAAAAAgM/TxuswCGic9M/s320/hi_res_vertical_lg.jpg" alt="" id="BLOGGER_PHOTO_ID_5363117354584879506" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;FT of image(left) Filter(right)&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2e0yqeE5I/AAAAAAAAAgc/7OAnXrtlB6k/s1600-h/moonlog.jpg"&gt;&lt;img style="cursor: pointer; width: 239px; height: 179px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2e0yqeE5I/AAAAAAAAAgc/7OAnXrtlB6k/s320/moonlog.jpg" alt="" id="BLOGGER_PHOTO_ID_5363117361058419602" border="0"&gt;&lt;/a&gt;     &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2e0sM64HI/AAAAAAAAAgU/effZwY3mXiM/s1600-h/moonfilter.jpg"&gt;&lt;img style="cursor: pointer; width: 240px; height: 180px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2e0sM64HI/AAAAAAAAAgU/effZwY3mXiM/s320/moonfilter.jpg" alt="" id="BLOGGER_PHOTO_ID_5363117359323865202" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;Final Image(left) FT of final image(right)&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2feVX5ldI/AAAAAAAAAgs/jqUxIuW4M30/s1600-h/moonfinal.jpg"&gt;&lt;img style="cursor: pointer; width: 240px; height: 180px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2feVX5ldI/AAAAAAAAAgs/jqUxIuW4M30/s320/moonfinal.jpg" alt="" id="BLOGGER_PHOTO_ID_5363118074750408146" border="0"&gt;&lt;/a&gt;     &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2e1O3tvVI/AAAAAAAAAgk/KAtm4PivT0E/s1600-h/moonlogfinal.jpg"&gt;&lt;img style="cursor: pointer; width: 239px; height: 179px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2e1O3tvVI/AAAAAAAAAgk/KAtm4PivT0E/s320/moonlogfinal.jpg" alt="" id="BLOGGER_PHOTO_ID_5363117368630164818" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;Images compared: Original (left) Without Vertical lines (right)&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2e0ajDsZI/AAAAAAAAAgM/TxuswCGic9M/s1600-h/hi_res_vertical_lg.jpg"&gt;&lt;img style="cursor: pointer; width: 240px; height: 178px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2e0ajDsZI/AAAAAAAAAgM/TxuswCGic9M/s320/hi_res_vertical_lg.jpg" alt="" id="BLOGGER_PHOTO_ID_5363117354584879506" border="0"&gt;&lt;/a&gt;    &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2feVX5ldI/AAAAAAAAAgs/jqUxIuW4M30/s1600-h/moonfinal.jpg"&gt;&lt;img style="cursor: pointer; width: 240px; height: 180px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2feVX5ldI/AAAAAAAAAgs/jqUxIuW4M30/s320/moonfinal.jpg" alt="" id="BLOGGER_PHOTO_ID_5363118074750408146" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;font style="font-weight: bold;"&gt;Canvas Weave Modeling and Removal&lt;/font&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The canvas weave pattern below obstructs a proper view of the painting. Once again, the FT of the original image was patterned for creating the filter. We have seen this pattern before. As a matter of fact, it represents sinusoids of different frequencies. It is necessary to block the dot signals shown in the FT of the image to succesfully eliminate the pattern.&lt;br /&gt;&lt;br /&gt;The final image is an enhanced version of the original one. This time, brush strokes are rendered clearly.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Original Image [1]:&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2gtUxtVoI/AAAAAAAAAg0/AhPUBuTr3e8/s1600-h/canvas.jpg"&gt;&lt;img style="cursor: pointer; width: 298px; height: 215px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2gtUxtVoI/AAAAAAAAAg0/AhPUBuTr3e8/s320/canvas.jpg" alt="" id="BLOGGER_PHOTO_ID_5363119431799887490" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Image FFT(left) Filter(right)&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2gtg6u5bI/AAAAAAAAAg8/1qpQfrl-K70/s1600-h/canvaslog.jpg"&gt;&lt;img style="cursor: pointer; width: 245px; height: 175px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2gtg6u5bI/AAAAAAAAAg8/1qpQfrl-K70/s320/canvaslog.jpg" alt="" id="BLOGGER_PHOTO_ID_5363119435058963890" border="0"&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2gt4-j-SI/AAAAAAAAAhE/sWNmjlN65HU/s1600-h/canvasfilter.jpg"&gt;&lt;img style="cursor: pointer; width: 242px; height: 175px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sm2gt4-j-SI/AAAAAAAAAhE/sWNmjlN65HU/s320/canvasfilter.jpg" alt="" id="BLOGGER_PHOTO_ID_5363119441517476130" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Final Image (without the canvas pattern)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2guKd_csI/AAAAAAAAAhM/Py9WYu-bPl4/s1600-h/canvasfinal.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 230px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2guKd_csI/AAAAAAAAAhM/Py9WYu-bPl4/s320/canvasfinal.jpg" alt="" id="BLOGGER_PHOTO_ID_5363119446212702914" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: center;"&gt;Weaving the Canvas&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Retrieving the canvas requires the initial step of inverting the filter. Once the image is convolved with the inverse filter, only the canvas passes through leaving behind the rstructure of the painting.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Inverse Filter(Left) Weaved Canvas(Right)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2guQSy9KI/AAAAAAAAAhU/DZENx8ZbYcA/s1600-h/invcanvas.jpg"&gt;&lt;img style="cursor: pointer; width: 297px; height: 189px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sm2guQSy9KI/AAAAAAAAAhU/DZENx8ZbYcA/s320/invcanvas.jpg" alt="" id="BLOGGER_PHOTO_ID_5363119447776359586" border="0"&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2hgmnj2bI/AAAAAAAAAhc/bv6MpYfI6Js/s1600-h/canvaspatternfinal.jpg"&gt;&lt;img style="cursor: pointer; width: 251px; height: 189px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sm2hgmnj2bI/AAAAAAAAAhc/bv6MpYfI6Js/s320/canvaspatternfinal.jpg" alt="" id="BLOGGER_PHOTO_ID_5363120312762489266" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Rating: 10&lt;br /&gt;I have fully understood the concepts tackled in this activity.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;References:&lt;br /&gt;[1] M. Soriano, "A7 – Enhancement in the Frequency Domain", 2009.&lt;br /&gt;[2] http://www.cs.tau.ac.il/~turkel/fingerprint_2.jpg&lt;br /&gt;[3] http://www.lpi.usra.edu/lunar/missions/apollo/apollo_11/images&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-2872302828271609085?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/2872302828271609085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/07/activity-7-enhancement-in-frequency.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/2872302828271609085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/2872302828271609085'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/07/activity-7-enhancement-in-frequency.html' title='Activity 7: Enhancement in the Frequency Domain'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_MVP54MAwK0Y/Sm2K_dvj5YI/AAAAAAAAAdc/Nazx5fNazec/s72-c/dotsmat.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-3190779091278350209</id><published>2009-07-09T01:57:00.000-07:00</published><updated>2009-07-23T12:20:28.126-07:00</updated><title type='text'>Activity 6: Properties of the 2D Fourier Transform</title><content type='html'>"... in the days of golden days&lt;br /&gt;when everybody knew what they wanted&lt;br /&gt;it aint here today"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Revised Version: The "[]" went missing in imshow. This command allows scilab to normalize the matrices to be displayed. It is noted that images should be of values between 0 and 1. Going beyond or below this range results to oversaturation or absence of visual information. Thanks Ma'am Jing for pointing this out.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Familiarization with FT of different 2d patterns&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Through different shapes (square, annulus/donut, square annulus, two slits and two dots) generated in scilab, the following FT moduli were obtained.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;legend: (a) aperture (b) fft&lt;br /&gt;&lt;br /&gt;A. Square&lt;br /&gt;side=5&lt;br /&gt;a.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Slxkp80JAXI/AAAAAAAAAUE/KF4TeyU4D0Y/s1600-h/5.jpg"&gt;&lt;img style="cursor: pointer; width: 146px; height: 146px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Slxkp80JAXI/AAAAAAAAAUE/KF4TeyU4D0Y/s320/5.jpg" alt="" id="BLOGGER_PHOTO_ID_5358268328526283122" border="0" /&gt;&lt;/a&gt;   b&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxkPr8AnOI/AAAAAAAAATc/eX9cCsbxJ_8/s1600-h/5fft.jpg"&gt;&lt;img style="cursor: pointer; width: 145px; height: 145px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxkPr8AnOI/AAAAAAAAATc/eX9cCsbxJ_8/s320/5fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358267877319285986" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;side=20&lt;br /&gt;a.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxkQL0Uy-I/AAAAAAAAATk/GImzUxLwiIg/s1600-h/20.jpg"&gt;&lt;img style="cursor: pointer; width: 147px; height: 142px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxkQL0Uy-I/AAAAAAAAATk/GImzUxLwiIg/s320/20.jpg" alt="" id="BLOGGER_PHOTO_ID_5358267885876988898" border="0" /&gt;&lt;/a&gt;   b.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxkQaF3wyI/AAAAAAAAATs/gDyM_WBleoQ/s1600-h/20fft.jpg"&gt;&lt;img style="cursor: pointer; width: 140px; height: 140px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxkQaF3wyI/AAAAAAAAATs/gDyM_WBleoQ/s320/20fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358267889708679970" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;side=80&lt;br /&gt;a.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxkQi4av4I/AAAAAAAAAT0/7ty6YaGNHjs/s1600-h/80.jpg"&gt;&lt;img style="cursor: pointer; width: 146px; height: 146px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxkQi4av4I/AAAAAAAAAT0/7ty6YaGNHjs/s320/80.jpg" alt="" id="BLOGGER_PHOTO_ID_5358267892068171650" border="0" /&gt;&lt;/a&gt;   b.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxkVHvEVgI/AAAAAAAAAT8/5_IlwvR0eEQ/s1600-h/80fft.jpg"&gt;&lt;img style="cursor: pointer; width: 147px; height: 147px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxkVHvEVgI/AAAAAAAAAT8/5_IlwvR0eEQ/s320/80fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358267970680542722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Observation: An opposite phenomenon happens in fourier space. Increasing the size of an aperture in real space results to a corresponding decrease in fourier space.&lt;br /&gt;&lt;br /&gt;mat=ones(256,256);&lt;br /&gt;mat_s=size(mat);&lt;br /&gt;cen=round(mat_s(1)/2);&lt;br /&gt;big=5;&lt;br /&gt;for i=1:1:mat_s(1),&lt;br /&gt;for j=1:1:mat_s(1),&lt;br /&gt;if abs(cen-i)&gt;=big then&lt;br /&gt;mat(i,j)=0;&lt;br /&gt;elseif abs(cen-j)&gt;=big then&lt;br /&gt;mat(i,j)=0;&lt;br /&gt;end;&lt;br /&gt;end;&lt;br /&gt;end&lt;br /&gt;xset('window',0);&lt;br /&gt;imshow(mat);&lt;br /&gt;mat=abs(fft2(mat));&lt;br /&gt;xset('window',1);&lt;br /&gt;imshow(fftshift(mat),[])&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;B. Donut&lt;br /&gt;outer radius= 20; inner radius=19&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlxfadHc6DI/AAAAAAAAASU/22Y0HWHIVg8/s1600-h/st%2820,19%29.jpg"&gt;a. &lt;img style="cursor: pointer; width: 139px; height: 139px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlxfadHc6DI/AAAAAAAAASU/22Y0HWHIVg8/s320/st%2820,19%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5358262564761167922" border="0" /&gt; b. &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Slxfarq1_wI/AAAAAAAAASc/d8jzGPuY_sY/s1600-h/stfft.jpg"&gt;&lt;img style="cursor: pointer; width: 136px; height: 138px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Slxfarq1_wI/AAAAAAAAASc/d8jzGPuY_sY/s320/stfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358262568667709186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;outer radius= 20; inner radius=10&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxfaiEsglI/AAAAAAAAASk/awb124jhrVw/s1600-h/sT%2820,10%29.jpg"&gt;a.&lt;img style="cursor: pointer; width: 135px; height: 135px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxfaiEsglI/AAAAAAAAASk/awb124jhrVw/s320/sT%2820,10%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5358262566091784786" border="0" /&gt; b. &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxfbA7eUEI/AAAAAAAAASs/C4ItTShcwH0/s1600-h/sT_fft.jpg"&gt;&lt;img style="cursor: pointer; width: 133px; height: 135px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxfbA7eUEI/AAAAAAAAASs/C4ItTShcwH0/s320/sT_fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358262574374604866" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;outer radius= 80; inner radius=79&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxfbV6vlrI/AAAAAAAAAS0/CsP0DjxpdeU/s1600-h/bt%2880,79%29.jpg"&gt;a.&lt;img style="cursor: pointer; width: 134px; height: 134px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxfbV6vlrI/AAAAAAAAAS0/CsP0DjxpdeU/s320/bt%2880,79%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5358262580008687282" border="0" /&gt; b.&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Slxfqh5FX2I/AAAAAAAAAS8/A2_nCDdsX6c/s1600-h/btfft.jpg"&gt;  &lt;img style="cursor: pointer; width: 132px; height: 133px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Slxfqh5FX2I/AAAAAAAAAS8/A2_nCDdsX6c/s320/btfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358262840920989538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;outer radius= 80; inner radius=50&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Slxfq0KGjfI/AAAAAAAAATE/k53ulkqkrw0/s1600-h/BT%2880,50%29.jpg"&gt;a.&lt;img style="cursor: pointer; width: 136px; height: 137px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Slxfq0KGjfI/AAAAAAAAATE/k53ulkqkrw0/s320/BT%2880,50%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5358262845824208370" border="0" /&gt; b.&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlxfrDu9omI/AAAAAAAAATM/kka-FTDCkkc/s1600-h/BT_fft.jpg"&gt;  &lt;img style="cursor: pointer; width: 137px; height: 137px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlxfrDu9omI/AAAAAAAAATM/kka-FTDCkkc/s320/BT_fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358262850005344866" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;mat=ones(256,256);&lt;br /&gt;mat_s=size(mat);&lt;br /&gt;cen=round(mat_s(1)/2);&lt;br /&gt;big_r=80;&lt;br /&gt;small_r=50;&lt;br /&gt;for i=1:1:mat_s(1),&lt;br /&gt;for j=1:1:mat_s(1),&lt;br /&gt;rsq=(i-cen)**2+(j-cen)**2;&lt;br /&gt;r=round(rsq**(1/2));&lt;br /&gt;if r&gt;=big_r then&lt;br /&gt;mat(i,j)=0;&lt;br /&gt;&lt;br /&gt;C. Square Annulus&lt;br /&gt;&lt;br /&gt;outer square=20, inner square=19 a.&lt;br /&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Slxpd3Cw9nI/AAAAAAAAAUc/nA9Gy7tosx4/s1600-h/%2820,19%29.jpg"&gt;a. &lt;img style="cursor: pointer; width: 132px; height: 132px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Slxpd3Cw9nI/AAAAAAAAAUc/nA9Gy7tosx4/s320/%2820,19%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5358273618376717938" border="0" /&gt;&lt;/a&gt;   b.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxpeI8IamI/AAAAAAAAAUk/g06RUsSc144/s1600-h/%2820,19%29fft.jpg"&gt;&lt;img style="cursor: pointer; width: 134px; height: 134px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxpeI8IamI/AAAAAAAAAUk/g06RUsSc144/s320/%2820,19%29fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358273623180733026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;outer square=20, inner square=10&lt;br /&gt;a.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxpcGKi4xI/AAAAAAAAAUM/003UASi1uw4/s1600-h/%2820,10%29.jpg"&gt;&lt;img style="cursor: pointer; width: 135px; height: 135px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxpcGKi4xI/AAAAAAAAAUM/003UASi1uw4/s320/%2820,10%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5358273588076143378" border="0" /&gt;&lt;/a&gt;   b.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxpdmY8VWI/AAAAAAAAAUU/0MtujzndNBc/s1600-h/%2820,10%29fft.jpg"&gt;&lt;img style="cursor: pointer; width: 134px; height: 135px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxpdmY8VWI/AAAAAAAAAUU/0MtujzndNBc/s320/%2820,10%29fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358273613906335074" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;outer square=80, inner square=79&lt;br /&gt;a.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxpqO9uzRI/AAAAAAAAAU8/VgRnBSMJU3g/s1600-h/%2880,79%29.jpg"&gt;&lt;img style="cursor: pointer; width: 138px; height: 138px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxpqO9uzRI/AAAAAAAAAU8/VgRnBSMJU3g/s320/%2880,79%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5358273830956485906" border="0" /&gt;&lt;/a&gt;   b.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Slxpr3gzTyI/AAAAAAAAAVE/qQYewkclbys/s1600-h/%2880,79%29fft.jpg"&gt;&lt;img style="cursor: pointer; width: 142px; height: 142px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Slxpr3gzTyI/AAAAAAAAAVE/qQYewkclbys/s320/%2880,79%29fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358273859020869410" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;outer square=80, inner square=50&lt;br /&gt;a.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlxtBKyJJII/AAAAAAAAAVM/WTce5VsK3ag/s1600-h/%2880,50%29.jpg"&gt;&lt;img style="cursor: pointer; width: 129px; height: 129px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlxtBKyJJII/AAAAAAAAAVM/WTce5VsK3ag/s320/%2880,50%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5358277523506013314" border="0" /&gt;&lt;/a&gt;   b.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxtBTwyGSI/AAAAAAAAAVU/CwKDWdvwOzo/s1600-h/%2880,50%29fft.jpg"&gt;&lt;img style="cursor: pointer; width: 129px; height: 131px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxtBTwyGSI/AAAAAAAAAVU/CwKDWdvwOzo/s320/%2880,50%29fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358277525916227874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Obsevation: Interestingly, a square annulus with thin edges behaves like two sets of parallel slits placed perpendicular with respect to the other. This is evident by examining its fourier transform.&lt;br /&gt;&lt;br /&gt;mat=ones(256,256);&lt;br /&gt;mat_s=size(mat);&lt;br /&gt;cen=round(mat_s(1)/2);&lt;br /&gt;big=80;&lt;br /&gt;small=50;&lt;br /&gt;for i=1:1:mat_s(1),&lt;br /&gt;for j=1:1:mat_s(1),&lt;br /&gt;if abs(cen-i)&gt;=small then&lt;br /&gt;mat(i,j)=0;&lt;br /&gt;elseif abs(cen-j)&gt;=small then&lt;br /&gt;mat(i,j)=0;&lt;br /&gt;end;&lt;br /&gt;end;&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;dummy=ones(256,256);&lt;br /&gt;for i=1:1:mat_s(1),&lt;br /&gt;for j=1:1:mat_s(1),&lt;br /&gt;if abs(cen-i)&gt;=big then&lt;br /&gt;dummy(i,j)=0;&lt;br /&gt;elseif abs(cen-j)&gt;=big then&lt;br /&gt;dummy(i,j)=0;&lt;br /&gt;end;&lt;br /&gt;end;&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;MAT=dummy-mat;&lt;br /&gt;//imshow(MAT)&lt;br /&gt;xset('window',0);&lt;br /&gt;imshow(MAT);&lt;br /&gt;xset('window',1);&lt;br /&gt;imshow((abs(fftshift(fft2(MAT)))),[]);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;D. Two Slits&lt;br /&gt;&lt;br /&gt;distance between slits: 8&lt;br /&gt;a.&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Slx0wEpH8TI/AAAAAAAAAWs/pPu5WMx2Y50/s1600-h/%2820%29.jpg"&gt;&lt;img style="cursor: pointer; width: 131px; height: 128px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Slx0wEpH8TI/AAAAAAAAAWs/pPu5WMx2Y50/s320/%2820%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5358286025892819250" border="0" /&gt;&lt;/a&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;  b.&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Slx0wdtmTAI/AAAAAAAAAW0/2MfkHNtz-xc/s1600-h/%2820%29fft.jpg"&gt;&lt;img style="cursor: pointer; width: 130px; height: 131px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Slx0wdtmTAI/AAAAAAAAAW0/2MfkHNtz-xc/s320/%2820%29fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358286032622472194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;br /&gt;distance between slits: 20&lt;br /&gt;&lt;/small_r&gt;&lt;br /&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;a.&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Slx0oeaex_I/AAAAAAAAAWc/GeCWlvdReUQ/s1600-h/%284%29.jpg"&gt;&lt;img style="cursor: pointer; width: 130px; height: 130px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Slx0oeaex_I/AAAAAAAAAWc/GeCWlvdReUQ/s320/%284%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5358285895371769842" border="0" /&gt;&lt;/a&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;  b.&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Slx0vzgfgII/AAAAAAAAAWk/l9_UkN8zOkw/s1600-h/%284%29fft.jpg"&gt;&lt;img style="cursor: pointer; width: 134px; height: 134px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Slx0vzgfgII/AAAAAAAAAWk/l9_UkN8zOkw/s320/%284%29fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358286021293211778" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Observation: A slit spanning the vertical length (horizontal) corresponds to an orientation perpendicular to it in fourier space. As shown earlier, when distance between two slits is increased, spaces found in its fourier transform (sinusoid) is decreased.&lt;br /&gt;&lt;br /&gt;mat=zeros(256,256);&lt;br /&gt;s=size(mat);&lt;br /&gt;cen=round(s(1)/2);&lt;br /&gt;j1=cen-20;&lt;br /&gt;j2=cen+20;&lt;br /&gt;for i=1:1:s(1),&lt;br /&gt;mat(i,j1)=1;&lt;br /&gt;mat(i,j2)=1;end&lt;br /&gt;//imshow(mat)&lt;br /&gt;xset('window',0);&lt;br /&gt;imshow(mat,[]);&lt;br /&gt;mat=abs(fft2(mat));&lt;br /&gt;xset('window',1);&lt;br /&gt;imshow(fftshift(mat),[]);&lt;br /&gt;&lt;br /&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;br /&gt;E. Two Dots&lt;br /&gt;distance between dots: 8&lt;br /&gt;a.&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxyPV6LtfI/AAAAAAAAAVc/LSSJb-YTqjE/s1600-h/1%284%29.jpg"&gt;&lt;img style="cursor: pointer; width: 131px; height: 131px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxyPV6LtfI/AAAAAAAAAVc/LSSJb-YTqjE/s320/1%284%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5358283264568833522" border="0" /&gt;&lt;/a&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt; b  .&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxyPyLIB-I/AAAAAAAAAVk/BYTWiIYOVIU/s1600-h/1fft.jpg"&gt;&lt;img style="cursor: pointer; width: 132px; height: 131px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxyPyLIB-I/AAAAAAAAAVk/BYTWiIYOVIU/s320/1fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358283272156088290" border="0" /&gt;&lt;/a&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/small_r&gt;distance between dots: 40&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;br /&gt;a.&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxyQFpW0WI/AAAAAAAAAVs/yFid0rk2rso/s1600-h/2%2820%29.jpg"&gt;&lt;img style="cursor: pointer; width: 129px; height: 128px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxyQFpW0WI/AAAAAAAAAVs/yFid0rk2rso/s320/2%2820%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5358283277383160162" border="0" /&gt;&lt;/a&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;   b.&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxyQcpuK8I/AAAAAAAAAV0/0Hz6DsDD824/s1600-h/2%2820%29fft.jpg"&gt;&lt;img style="cursor: pointer; width: 130px; height: 130px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxyQcpuK8I/AAAAAAAAAV0/0Hz6DsDD824/s320/2%2820%29fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358283283558706114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Obsevation: Increase in distance in real space corresponds to a decrease in fourier space.&lt;br /&gt;&lt;br /&gt;mat=zeros(256,256);&lt;br /&gt;s=size(mat);&lt;br /&gt;cen=round(s(1)/2);&lt;br /&gt;j1=cen-20;&lt;br /&gt;j2=cen+20;&lt;br /&gt;mat(cen,j1)=1;&lt;br /&gt;mat(cen,j2)=1;&lt;br /&gt;xset('window',0);&lt;br /&gt;imshow(mat);&lt;br /&gt;mat=abs(fft2(mat));&lt;br /&gt;xset('window',1);&lt;br /&gt;imshow(mat);&lt;br /&gt;&lt;br /&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;br /&gt;&lt;br /&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;span style="font-weight: bold;"&gt;Anamorphic property of the Fourier Transform&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. 2D sinusoid using Scilab in the X direction&lt;br /&gt;&lt;br /&gt;sinusoid at f=4&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlXMx5utfyI/AAAAAAAAAO0/ZmLZ3HIqU5Q/s1600-h/f4.bmp"&gt;&lt;img style="cursor: pointer; width: 167px; height: 166px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlXMx5utfyI/AAAAAAAAAO0/ZmLZ3HIqU5Q/s320/f4.bmp" alt="" id="BLOGGER_PHOTO_ID_5356412489509469986" border="0" /&gt;&lt;/a&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;br /&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;br /&gt;2. Fourier Transform of 2D sinusoid shown in (1)&lt;br /&gt;&lt;br /&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Slx9JN6YN-I/AAAAAAAAAXM/mJkZAbypgpw/s1600-h/4freqfft.jpg"&gt;&lt;img style="cursor: pointer; width: 166px; height: 166px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Slx9JN6YN-I/AAAAAAAAAXM/mJkZAbypgpw/s320/4freqfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358295253970860002" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;3.  Frequency change:&lt;br /&gt;&lt;br /&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;(a) sinusoid at f=1 (b) fft&lt;br /&gt;a.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Slx9Is2GojI/AAAAAAAAAW8/wIwJ61T9Pwg/s1600-h/1freq.jpg"&gt;&lt;img style="cursor: pointer; width: 180px; height: 181px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Slx9Is2GojI/AAAAAAAAAW8/wIwJ61T9Pwg/s320/1freq.jpg" alt="" id="BLOGGER_PHOTO_ID_5358295245094560306" border="0" /&gt;&lt;/a&gt;b.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlyONk7OFFI/AAAAAAAAAYM/IlLKDE28wW4/s1600-h/1freqfft.jpg"&gt;&lt;img style="cursor: pointer; width: 177px; height: 177px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlyONk7OFFI/AAAAAAAAAYM/IlLKDE28wW4/s320/1freqfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358314020565554258" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(a) sinusoid at f=40 (b) fft&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;a.&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Slx9JbxbqhI/AAAAAAAAAXU/to1k08hw2A0/s1600-h/40freq.jpg"&gt;&lt;img style="cursor: pointer; width: 184px; height: 183px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Slx9JbxbqhI/AAAAAAAAAXU/to1k08hw2A0/s320/40freq.jpg" alt="" id="BLOGGER_PHOTO_ID_5358295257691433490" border="0" /&gt;&lt;/a&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;b.&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlyON9OzdmI/AAAAAAAAAYU/A2vUCeDEbyE/s1600-h/40freqfft.jpg"&gt;&lt;img style="cursor: pointer; width: 181px; height: 183px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlyON9OzdmI/AAAAAAAAAYU/A2vUCeDEbyE/s320/40freqfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358314027090146914" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Obsevation: Increasing the frequency in fourier space decreases the gaps in real space. It is however expected that the spaces between the dots in fourier space should also increase since this is in the frequency domain.&lt;br /&gt;&lt;/div&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;br /&gt;&lt;br /&gt;4. Addition of constant bias&lt;br /&gt;Digital images have no negative values. Intuition tells us that the sinusoid generated in (1)  has values ranging from -1 to 1. It is therefore necessary to introduce bias in order to achieve positive image values.&lt;br /&gt;&lt;br /&gt;I. constant bias (by subtracting a constant value which corresponds to the minimum data point of the original sinusoid)&lt;br /&gt;&lt;br /&gt;(a) sinusoid with constant bias (b) fft&lt;br /&gt;a.&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlXSyDiX28I/AAAAAAAAAP8/pKO8m4GU-jg/s1600-h/bias4.bmp"&gt;&lt;img style="cursor: pointer; width: 159px; height: 159px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlXSyDiX28I/AAAAAAAAAP8/pKO8m4GU-jg/s320/bias4.bmp" alt="" id="BLOGGER_PHOTO_ID_5356419089211841474" border="0" /&gt;&lt;/a&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt; b.&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlyA0ucTOxI/AAAAAAAAAXk/mrFtLgP0wCI/s1600-h/constbiasfft.jpg"&gt;&lt;img style="cursor: pointer; width: 156px; height: 158px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlyA0ucTOxI/AAAAAAAAAXk/mrFtLgP0wCI/s320/constbiasfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358299299972332306" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Observation:&lt;br /&gt;Constant bias added(or subtracted) in real space did not change the appearance of the sinusoid. The imshow command together with the "[]" symbol automatically normalizes the image making it appear the same way as the unbiased sonusoid. Thus, scilab displays the images already biased (all values are positive). In fourier space however, three dots appeared instead of the original two shown in number 2. The appearance of the brighter center dot emphasizes this constant bias.&lt;br /&gt;&lt;/div&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;br /&gt;&lt;br /&gt;II. non-constant bias (subtracting another sinusoid with freq 1 from the original sinusoid)&lt;br /&gt;(a) sinusoid with nonconstant bias (b) fft&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;a.&lt;/span&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlyA0pV5Q2I/AAAAAAAAAXs/DKF_NBfUAas/s1600-h/nonconstbias.jpg"&gt;&lt;img style="cursor: pointer; width: 152px; height: 152px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlyA0pV5Q2I/AAAAAAAAAXs/DKF_NBfUAas/s320/nonconstbias.jpg" alt="" id="BLOGGER_PHOTO_ID_5358299298603287394" border="0" /&gt;&lt;/a&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;span style="text-decoration: underline;"&gt; b.&lt;/span&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlyA09z0wkI/AAAAAAAAAX0/CK-LA0UgJmc/s1600-h/nonconstbiasfft.jpg"&gt;&lt;img style="cursor: pointer; width: 151px; height: 153px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlyA09z0wkI/AAAAAAAAAX0/CK-LA0UgJmc/s320/nonconstbiasfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358299304097530434" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;br /&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;An interferogram is a CCD camera recording of an optical interferenc pattern caused from laser light beam shearing between incoming and outgoing beam of the interferometer[1]. For Young's double slit experiment, wavelength can be readily calculated based on the equation lamba=(fringe distance)(separation distance between slits)/(slit-screen distance) [2]. From computed wavelength values, actual frequencies can be obtained.&lt;br /&gt;&lt;br /&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;Conclusion:&lt;br /&gt;5. rotated sinusoid&lt;br /&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;(a) sinusoid rotated at 30 degrees (b) fft&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;br /&gt;a.&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlXRlWzxyiI/AAAAAAAAAPs/kXWRQcHK0UY/s1600-h/rotate.bmp"&gt;&lt;img style="cursor: pointer; width: 158px; height: 158px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlXRlWzxyiI/AAAAAAAAAPs/kXWRQcHK0UY/s320/rotate.bmp" alt="" id="BLOGGER_PHOTO_ID_5356417771535190562" border="0" /&gt;&lt;/a&gt; &lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;b.&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlyDR1VVVHI/AAAAAAAAAX8/Zyw_XYyu0K4/s1600-h/rotatedfft.jpg"&gt;&lt;img style="cursor: pointer; width: 156px; height: 156px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlyDR1VVVHI/AAAAAAAAAX8/Zyw_XYyu0K4/s320/rotatedfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358301999061619826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Observation: A rotated image in real space also produced a rotated fourier transform.&lt;br /&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;br /&gt;&lt;br /&gt;6. combination of sinusoids in X and Y&lt;br /&gt;&lt;br /&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;(a) combination sinusoid (b) fft&lt;br /&gt;a&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlyDSHh96pI/AAAAAAAAAYE/JU1cb4I-wSA/s1600-h/combfft.jpg"&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlXURDRsdRI/AAAAAAAAAQM/e1elHP8mpak/s1600-h/comb.bmp"&gt;&lt;img style="cursor: pointer; width: 159px; height: 159px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlXURDRsdRI/AAAAAAAAAQM/e1elHP8mpak/s320/comb.bmp" alt="" id="BLOGGER_PHOTO_ID_5356420721229460754" border="0" /&gt;&lt;/a&gt;b.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlyDSHh96pI/AAAAAAAAAYE/JU1cb4I-wSA/s1600-h/combfft.jpg"&gt;&lt;img style="cursor: pointer; width: 158px; height: 159px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlyDSHh96pI/AAAAAAAAAYE/JU1cb4I-wSA/s320/combfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358302003946449554" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Obervation: Combination of sinusoids in which each span a specific axis (x and y) outputs a checkered image when plotted. Corresponding orientation of dots were formed as shown above. Recall that two dots lying in the x axis (E, two dots, previously presented) outputs vertical sinusoids in fourier space. The opposite happens when a vertical sinusoid in real space is projected unto fourier space. A horizontal sinusoid traversing in real space however projects dots which lie along the y axis in fourier space. The above image is thus a combination of the said properties.&lt;br /&gt;&lt;br /&gt;7.Addition of Several Rotated sinusoids to 6&lt;br /&gt;&lt;br /&gt;Right below are the FT images of (6),(5), sinusoid rotated at 120 degrees and the sum of all FTs consecutively.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlyDSHh96pI/AAAAAAAAAYE/JU1cb4I-wSA/s1600-h/combfft.jpg"&gt;&lt;img style="cursor: pointer; width: 142px; height: 143px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlyDSHh96pI/AAAAAAAAAYE/JU1cb4I-wSA/s320/combfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358302003946449554" border="0" /&gt;&lt;/a&gt; + &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlyDR1VVVHI/AAAAAAAAAX8/Zyw_XYyu0K4/s1600-h/rotatedfft.jpg"&gt;&lt;img style="cursor: pointer; width: 143px; height: 143px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlyDR1VVVHI/AAAAAAAAAX8/Zyw_XYyu0K4/s320/rotatedfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358301999061619826" border="0" /&gt;&lt;/a&gt; +&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SmirH7JCb-I/AAAAAAAAAY0/bkt39ZkE5zY/s1600-h/rot120fft.jpg"&gt;&lt;img style="cursor: pointer; width: 144px; height: 144px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SmirH7JCb-I/AAAAAAAAAY0/bkt39ZkE5zY/s320/rot120fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5361723509007609826" border="0" /&gt;&lt;/a&gt; = &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SmirHXAMMZI/AAAAAAAAAYk/ACsAsh_ly9c/s1600-h/totfft.jpg"&gt;&lt;img style="cursor: pointer; width: 145px; height: 145px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SmirHXAMMZI/AAAAAAAAAYk/ACsAsh_ly9c/s320/totfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5361723499306824082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Images below are the corresponding images of sinusoids with FTs given above.&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlXURDRsdRI/AAAAAAAAAQM/e1elHP8mpak/s1600-h/comb.bmp"&gt;&lt;img style="cursor: pointer; width: 148px; height: 148px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlXURDRsdRI/AAAAAAAAAQM/e1elHP8mpak/s320/comb.bmp" alt="" id="BLOGGER_PHOTO_ID_5356420721229460754" border="0" /&gt;&lt;/a&gt; +&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlXRlWzxyiI/AAAAAAAAAPs/kXWRQcHK0UY/s1600-h/rotate.bmp"&gt;&lt;img style="cursor: pointer; width: 148px; height: 148px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlXRlWzxyiI/AAAAAAAAAPs/kXWRQcHK0UY/s320/rotate.bmp" alt="" id="BLOGGER_PHOTO_ID_5356417771535190562" border="0" /&gt;&lt;/a&gt; +&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SmirHGGMDVI/AAAAAAAAAYc/v8eo97e7BFk/s1600-h/rot120.jpg"&gt;&lt;img style="cursor: pointer; width: 146px; height: 146px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SmirHGGMDVI/AAAAAAAAAYc/v8eo97e7BFk/s320/rot120.jpg" alt="" id="BLOGGER_PHOTO_ID_5361723494768577874" border="0" /&gt;&lt;/a&gt; =&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SmirHvKMM2I/AAAAAAAAAYs/ECxXHlH58AY/s1600-h/tot.jpg"&gt;&lt;img style="cursor: pointer; width: 148px; height: 148px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SmirHvKMM2I/AAAAAAAAAYs/ECxXHlH58AY/s320/tot.jpg" alt="" id="BLOGGER_PHOTO_ID_5361723505791218530" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Observation:&lt;br /&gt;It was easily predicted that the sum of all three types of sinusoids is just the superposition of all waves in real and fourier space.&lt;br /&gt;&lt;br /&gt;nx = 100; ny = 100;&lt;br /&gt;x = linspace(-1,1,nx);&lt;br /&gt;y = linspace(-1,1,ny);&lt;br /&gt;[X,Y] = ndgrid(x,y);&lt;br /&gt;f = 4&lt;br /&gt;z = sin(2*%pi*f*X);&lt;br /&gt;&lt;br /&gt;//xset('window',0);&lt;br /&gt;//imshow(z,[]);&lt;br /&gt;zfft=abs(fft2(z));&lt;br /&gt;//xset('window',1);&lt;br /&gt;//imshow(fftshift(zfft),[]);&lt;br /&gt;&lt;br /&gt;zb = z-min(z);&lt;br /&gt;//xset('window',2);&lt;br /&gt;//imshow(zb,[]);&lt;br /&gt;zfftb=fft2(zb);&lt;br /&gt;//xset('window',3);&lt;br /&gt;//imshow(abs(fftshift(zfftb)),[]);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;fnew = 1&lt;br /&gt;znew = z-sin(2*%pi*fnew*X);&lt;br /&gt;//xset('window',4);&lt;br /&gt;//imshow(znew,[]);&lt;br /&gt;zfftnew=fft2(znew);&lt;br /&gt;//xset('window',5);&lt;br /&gt;//imshow(abs(fftshift(zfftnew)),[]);&lt;br /&gt;&lt;br /&gt;theta = 30;&lt;br /&gt;ftheta=4;&lt;br /&gt;z = sin(2*%pi*ftheta*(Y*sin(theta) + X*cos(theta)));&lt;br /&gt;//xset('window',6);&lt;br /&gt;//imshow(abs(fftshift(fft2(z))),[]);&lt;br /&gt;&lt;br /&gt;z = sin(2*%pi*4*X).*sin(2*%pi*4*Y);&lt;br /&gt;//xset('window',7);&lt;br /&gt;//imshow(abs(fftshift(fft2(z))),[]);&lt;br /&gt;&lt;br /&gt;Rating: 9&lt;br /&gt;I have understood the concepts behind two dimensional fourier transforms fairly well. However, Im not sure if I have answered the Double Slit problem correctly.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;[1] http://www.opticalguidancesystems.com/interferogram.htm&lt;br /&gt;[2] http://en.wikipedia.org/wiki/Double-slit_experiment&lt;br /&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlyDSHh96pI/AAAAAAAAAYE/JU1cb4I-wSA/s1600-h/combfft.jpg"&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" annulus="" outer="" inner="" square=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus=""&gt;&lt;small_r then="" end="" mat="abs(fft2(mat));" window="" square="" annulus="" slit="" dots=""&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/small_r&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-3190779091278350209?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/3190779091278350209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/07/activity-6-properties-of-2d-fourier.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/3190779091278350209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/3190779091278350209'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/07/activity-6-properties-of-2d-fourier.html' title='Activity 6: Properties of the 2D Fourier Transform'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_MVP54MAwK0Y/Slxkp80JAXI/AAAAAAAAAUE/KF4TeyU4D0Y/s72-c/5.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-3675080370544343166</id><published>2009-07-06T20:28:00.000-07:00</published><updated>2009-07-14T06:14:19.432-07:00</updated><title type='text'>Activity 5: Fourier Transform Model of Image Formation</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;"...From this time unchained&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; We're all looking at a different picture&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; Thru this new frame of mind&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; A thousand flowers ould bloom&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; Move over, and give us some room"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Revised version:&lt;br /&gt;Special thanks to Ma'am Jing for pointing out what seemed to be the problem in the code. Apparently, it was the absence of "[ ]" in the imshow command.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For this activity, we investigate the effect of fourier transformation, convolution and correlation among images.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Familiarization with discrete FFT&lt;br /&gt;a. CIRCLE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlLQm65jzTI/AAAAAAAAAIs/Wxd-dgdAd34/s1600-h/0.bmp"&gt;a. &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlxRkHLZBUI/AAAAAAAAAQs/efPIU-RvmeU/s1600-h/0.jpg"&gt;&lt;img style="cursor: pointer; width: 146px; height: 146px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlxRkHLZBUI/AAAAAAAAAQs/efPIU-RvmeU/s320/0.jpg" alt="" id="BLOGGER_PHOTO_ID_5358247337508013378" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlLQm65jzTI/AAAAAAAAAIs/Wxd-dgdAd34/s1600-h/0.bmp"&gt; b. &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxRkfl_4QI/AAAAAAAAAQ0/ZL6YKN16NoQ/s1600-h/1.jpg"&gt;&lt;img style="cursor: pointer; width: 150px; height: 150px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxRkfl_4QI/AAAAAAAAAQ0/ZL6YKN16NoQ/s320/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5358247344062062850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlLQm65jzTI/AAAAAAAAAIs/Wxd-dgdAd34/s1600-h/0.bmp"&gt; &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlLQnGeHwEI/AAAAAAAAAI0/giPLxgSV9Ps/s1600-h/1.bmp"&gt;c. &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlxRkoGXKUI/AAAAAAAAAQ8/3Xe5_VoL8XA/s1600-h/2.jpg"&gt;&lt;img style="cursor: pointer; width: 149px; height: 149px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlxRkoGXKUI/AAAAAAAAAQ8/3Xe5_VoL8XA/s320/2.jpg" alt="" id="BLOGGER_PHOTO_ID_5358247346345290050" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlLQncEu62I/AAAAAAAAAI8/HroCzDidUTs/s1600-h/2.bmp"&gt; d. &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxR-2J0s7I/AAAAAAAAARE/jQ7Tu7yyWW0/s1600-h/3.jpg"&gt;&lt;img style="cursor: pointer; width: 152px; height: 149px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxR-2J0s7I/AAAAAAAAARE/jQ7Tu7yyWW0/s320/3.jpg" alt="" id="BLOGGER_PHOTO_ID_5358247796794504114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(a) original image (b) fft (c) shifted fft (d) twice fft&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Igray = gray_imread('F:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A5\Images\sssscircle.bmp');&lt;br /&gt;xset('window',0);&lt;br /&gt;imshow(Igray);&lt;br /&gt;&lt;br /&gt;xset('window',1);&lt;br /&gt;imshow(abs(fft2(Igray)),[]);&lt;br /&gt;&lt;br /&gt;xset('window',2);&lt;br /&gt;imshow(abs(fftshift(fft2((Igray)))),[]);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;xset('window',3);&lt;br /&gt;imshow(abs(fft2(fft2(Igray))),[]);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;b. CIRCLE drawn in scilab&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLTFshacCI/AAAAAAAAAJM/tDhfoYDVYug/s1600-h/0.bmp"&gt;a. &lt;img style="cursor: pointer; width: 157px; height: 157px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLTFshacCI/AAAAAAAAAJM/tDhfoYDVYug/s200/0.bmp" alt="" id="BLOGGER_PHOTO_ID_5355575001701052450" border="0" /&gt; b&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLTFshacCI/AAAAAAAAAJM/tDhfoYDVYug/s1600-h/0.bmp"&gt;.&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxR_WSiddI/AAAAAAAAARM/UjNwry3M6_Q/s1600-h/fft.jpg"&gt;&lt;img style="cursor: pointer; width: 160px; height: 159px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxR_WSiddI/AAAAAAAAARM/UjNwry3M6_Q/s320/fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358247805420991954" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlLTF78mnMI/AAAAAAAAAJU/fMf7A4fHUZ8/s1600-h/1.bmp"&gt;c. &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxR_bXd8rI/AAAAAAAAARU/u4V2__-vPwA/s1600-h/shiftfft.jpg"&gt;&lt;img style="cursor: pointer; width: 156px; height: 156px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxR_bXd8rI/AAAAAAAAARU/u4V2__-vPwA/s320/shiftfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358247806783845042" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlLTGCVWixI/AAAAAAAAAJc/2H8KxrZq4Yw/s1600-h/2.bmp"&gt; d.&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlLTGPmh-2I/AAAAAAAAAJk/FgLNR1TfZ3o/s1600-h/3.bmp"&gt;&lt;img style="cursor: pointer; width: 160px; height: 160px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlLTGPmh-2I/AAAAAAAAAJk/FgLNR1TfZ3o/s200/3.bmp" alt="" id="BLOGGER_PHOTO_ID_5355575011117759330" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(a) original image (b) fft (c) shifted fft (d) twice fft&lt;br /&gt;&lt;br /&gt;x = [-1:0.1:1];&lt;br /&gt;[X,Y] = meshgrid(x);&lt;br /&gt;r = sqrt(X.^2 + Y.^2);&lt;br /&gt;circle = zeros(size(X,1), size(X,2));&lt;br /&gt;circle(find (r &lt;=0.5)) = 1.0;  xset('window',0); imshow(circle,[]);  xset('window',1); imshow(abs(fft2(circle)),[]);  xset('window',2); imshow(abs(fftshift(fft2(circle))),[]);  xset('window',3); imshow(fft2(fft2(circle)));&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;A&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLUfJDog7I/AAAAAAAAAJ0/q64NH310l_A/s1600-h/1.bmp"&gt;a.&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlLUd9GXU6I/AAAAAAAAAJs/n5OW4wJj6QM/s1600-h/0.bmp"&gt;&lt;img style="cursor: pointer; width: 155px; height: 155px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlLUd9GXU6I/AAAAAAAAAJs/n5OW4wJj6QM/s200/0.bmp" alt="" id="BLOGGER_PHOTO_ID_5355576517979493282" border="0" /&gt; b.&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxRjs4xlHI/AAAAAAAAAQc/_cscROnsL5k/s1600-h/fft.jpg"&gt;&lt;img style="cursor: pointer; width: 156px; height: 156px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxRjs4xlHI/AAAAAAAAAQc/_cscROnsL5k/s320/fft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358247330450609266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLUfJDog7I/AAAAAAAAAJ0/q64NH310l_A/s1600-h/1.bmp"&gt;c.&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxRjzzNbpI/AAAAAAAAAQk/HP46gz4cO4E/s1600-h/shiftfft.jpg"&gt;&lt;img style="cursor: pointer; width: 154px; height: 154px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlxRjzzNbpI/AAAAAAAAAQk/HP46gz4cO4E/s320/shiftfft.jpg" alt="" id="BLOGGER_PHOTO_ID_5358247332306316946" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlLUf-sQKoI/AAAAAAAAAJ8/B4aAhGsi4mM/s1600-h/2.bmp"&gt; d. &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLUhdwHbnI/AAAAAAAAAKE/vNL_4UFRd4g/s1600-h/3.bmp"&gt;&lt;img style="cursor: pointer; width: 157px; height: 153px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLUhdwHbnI/AAAAAAAAAKE/vNL_4UFRd4g/s200/3.bmp" alt="" id="BLOGGER_PHOTO_ID_5355576578284154482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(a) original image (b) fft (c) shifted fft (d) twice fft&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Igray = gray_imread('F:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A5\Images\A.bmp');&lt;br /&gt;Igray=1-Igray;&lt;br /&gt;xset('window',0);&lt;br /&gt;imshow(Igray);&lt;br /&gt;&lt;br /&gt;xset('window',1);&lt;br /&gt;imshow(abs(fft2(Igray)),[]);&lt;br /&gt;&lt;br /&gt;xset('window',2);&lt;br /&gt;imshow(abs(fftshift(fft2(Igray))),[]);&lt;br /&gt;&lt;br /&gt;xset('window',3);&lt;br /&gt;imshow(fft2(fft2(Igray)));&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Observations:&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;1. Applying fftshift displaces the image in the area of focus. Periodic boundary conditions also apply.&lt;br /&gt;2. Applying fft unto the image results to an indecipherable image.&lt;br /&gt;3. Applying the fft twice changes the image back to its original form. Only this time, the image is inverted.&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Simulation of an imaging device.&lt;br /&gt;VIP and Circle&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlLVMogcjrI/AAAAAAAAAKM/x_txZ-RbSTc/s1600-h/0.bmp"&gt;a.  &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlLVMogcjrI/AAAAAAAAAKM/x_txZ-RbSTc/s1600-h/0.bmp"&gt;&lt;img style="cursor: pointer; width: 151px; height: 151px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlLVMogcjrI/AAAAAAAAAKM/x_txZ-RbSTc/s200/0.bmp" alt="" id="BLOGGER_PHOTO_ID_5355577319905595058" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlLVMogcjrI/AAAAAAAAAKM/x_txZ-RbSTc/s1600-h/0.bmp"&gt;b.&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxToy8wYjI/AAAAAAAAARs/a-Hcvp4s23I/s1600-h/bigcircle.bmp"&gt;  &lt;img style="cursor: pointer; width: 150px; height: 150px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxToy8wYjI/AAAAAAAAARs/a-Hcvp4s23I/s320/bigcircle.bmp" alt="" id="BLOGGER_PHOTO_ID_5358249617000522290" border="0" /&gt;&lt;/a&gt;   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlPw5Ti39qI/AAAAAAAAANM/QOiQ-v4AM2M/s1600-h/bigVIP.bmp"&gt;&lt;img style="cursor: pointer; width: 151px; height: 151px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlPw5Ti39qI/AAAAAAAAANM/QOiQ-v4AM2M/s320/bigVIP.bmp" alt="" id="BLOGGER_PHOTO_ID_5355889249163409058" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlLVMogcjrI/AAAAAAAAAKM/x_txZ-RbSTc/s1600-h/0.bmp"&gt; c.  &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxYt2Rz7aI/AAAAAAAAASM/AYg1k9B0758/s1600-h/smallc.bmp"&gt;&lt;img style="cursor: pointer; width: 152px; height: 152px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxYt2Rz7aI/AAAAAAAAASM/AYg1k9B0758/s320/smallc.bmp" alt="" id="BLOGGER_PHOTO_ID_5358255201351626146" border="0" /&gt;&lt;/a&gt;    &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlPw5lu2cpI/AAAAAAAAANU/h-9FmwTkTLs/s1600-h/medVIP.bmp"&gt;&lt;img style="cursor: pointer; width: 154px; height: 154px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlPw5lu2cpI/AAAAAAAAANU/h-9FmwTkTLs/s320/medVIP.bmp" alt="" id="BLOGGER_PHOTO_ID_5355889254045479570" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlLVMogcjrI/AAAAAAAAAKM/x_txZ-RbSTc/s1600-h/0.bmp"&gt; d. &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxTpSeZbII/AAAAAAAAAR8/_tz2noCaAts/s1600-h/sssscircle.bmp"&gt;&lt;img style="cursor: pointer; width: 151px; height: 151px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxTpSeZbII/AAAAAAAAAR8/_tz2noCaAts/s320/sssscircle.bmp" alt="" id="BLOGGER_PHOTO_ID_5358249625463123074" border="0" /&gt;&lt;/a&gt;     &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlPw509oRXI/AAAAAAAAANc/zBgJSDf2_8s/s1600-h/smallVIP.bmp"&gt;&lt;img style="cursor: pointer; width: 153px; height: 153px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlPw509oRXI/AAAAAAAAANc/zBgJSDf2_8s/s320/smallVIP.bmp" alt="" id="BLOGGER_PHOTO_ID_5355889258133996914" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(a) original image (b) big aperture (c) medium aperture (d) small aperture&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;r=gray_imread('F:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A5\Images\bigcircle.bmp');&lt;br /&gt;a=gray_imread('F:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A5\Images\VIP.bmp');&lt;br /&gt;a=1-a;&lt;br /&gt;xset('window',0);&lt;br /&gt;imshow(r);&lt;br /&gt;Fr = fftshift(r);&lt;br /&gt;Fa = fft2(a);&lt;br /&gt;FRA = Fr.*(Fa);&lt;br /&gt;IRA = fft2(FRA);&lt;br /&gt;FImage = abs(IRA);&lt;br /&gt;xset('window',1);&lt;br /&gt;imshow(FImage, [ ]);&lt;br /&gt;&lt;br /&gt;r=gray_imread('F:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A5\Images\smallc.bmp');&lt;br /&gt;a=gray_imread('F:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A5\Images\VIP.bmp');&lt;br /&gt;a=1-a;&lt;br /&gt;xset('window',2);&lt;br /&gt;imshow(r);&lt;br /&gt;Fr = fftshift(r);&lt;br /&gt;Fa = fft2(a);&lt;br /&gt;FRA = Fr.*(Fa);&lt;br /&gt;IRA = fft2(FRA);&lt;br /&gt;FImage = abs(IRA);&lt;br /&gt;xset('window',3);&lt;br /&gt;imshow(FImage, [ ]);&lt;br /&gt;&lt;br /&gt;r=gray_imread('F:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A5\Images\sssscircle.bmp');&lt;br /&gt;a=gray_imread('F:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A5\Images\VIP.bmp');&lt;br /&gt;a=1-a;&lt;br /&gt;xset('window',4);&lt;br /&gt;imshow(r);&lt;br /&gt;Fr = fftshift(r);&lt;br /&gt;Fa = fft2(a);&lt;br /&gt;FRA = Fr.*(Fa);&lt;br /&gt;IRA = fft2(FRA);&lt;br /&gt;FImage = abs(IRA);&lt;br /&gt;xset('window',5);&lt;br /&gt;imshow(FImage, [ ]);&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;Observation:&lt;br /&gt;Correlation allows one to look for a duplicate of an image in an even larger image. The white spots indicate the positions of the letter A in the phrase "the rain in spain stays mainly in the plain". It is however crucial that both font and fontsize of both images perfectly match.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Edge detection using the convolution integral&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;VIP and Pattern&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLWgGq0uMI/AAAAAAAAAK8/FuCrUncuq7A/s1600-h/0.bmp"&gt;a.&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxR_oDIDlI/AAAAAAAAARc/4-9C9uHx08k/s1600-h/1.jpg"&gt;&lt;img style="cursor: pointer; width: 124px; height: 124px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlxR_oDIDlI/AAAAAAAAARc/4-9C9uHx08k/s320/1.jpg" alt="" id="BLOGGER_PHOTO_ID_5358247810188185170" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLWgGq0uMI/AAAAAAAAAK8/FuCrUncuq7A/s1600-h/0.bmp"&gt;     &lt;img style="cursor: pointer; width: 124px; height: 124px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLWgGq0uMI/AAAAAAAAAK8/FuCrUncuq7A/s200/0.bmp" alt="" id="BLOGGER_PHOTO_ID_5355578753931327682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLWgGq0uMI/AAAAAAAAAK8/FuCrUncuq7A/s1600-h/0.bmp"&gt;b.&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxR_8IwDVI/AAAAAAAAARk/irNsQBmTAE4/s1600-h/2.jpg"&gt;&lt;img style="cursor: pointer; width: 123px; height: 122px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxR_8IwDVI/AAAAAAAAARk/irNsQBmTAE4/s320/2.jpg" alt="" id="BLOGGER_PHOTO_ID_5358247815580486994" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlLWgaKAmjI/AAAAAAAAALE/dLuc5GWRlMA/s1600-h/1.bmp"&gt;    &lt;img style="cursor: pointer; width: 124px; height: 124px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlLWgaKAmjI/AAAAAAAAALE/dLuc5GWRlMA/s200/1.bmp" alt="" id="BLOGGER_PHOTO_ID_5355578759162403378" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlLWgaKAmjI/AAAAAAAAALE/dLuc5GWRlMA/s1600-h/1.bmp"&gt;c. &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxTpuzJ3dI/AAAAAAAAASE/vdkODwsG-DI/s1600-h/3.jpg"&gt;&lt;img style="cursor: pointer; width: 121px; height: 121px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlxTpuzJ3dI/AAAAAAAAASE/vdkODwsG-DI/s320/3.jpg" alt="" id="BLOGGER_PHOTO_ID_5358249633066376658" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLWgvHCAvI/AAAAAAAAALM/OwtkjBFdkx8/s1600-h/2.bmp"&gt;    &lt;img style="cursor: pointer; width: 123px; height: 123px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlLWgvHCAvI/AAAAAAAAALM/OwtkjBFdkx8/s200/2.bmp" alt="" id="BLOGGER_PHOTO_ID_5355578764787057394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(a)&lt;span&gt; [-1 -1 -1; 2 2 2; -1 -1 -1] &lt;/span&gt; (b) &lt;span&gt; [-1 2 -1; -1 2 -1; -1 2 -1] (c) &lt;/span&gt;&lt;span&gt; [-1 -1 -1; -1 8 -1; -1 -1 -1]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;pattern = [-1 -1 -1; 2 2 2; -1 -1 -1];&lt;br /&gt;xset('window',3);&lt;br /&gt;imshow(pattern);&lt;br /&gt;a=gray_imread('F:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A5\Images\VIP.bmp');&lt;br /&gt;&lt;br /&gt;C=imcorrcoef(a,pattern);&lt;br /&gt;xset('window',0);&lt;br /&gt;imshow(C);&lt;br /&gt;&lt;br /&gt;pattern = [-1 2 -1; -1 2 -1; -1 2 -1];&lt;br /&gt;xset('window',4);&lt;br /&gt;imshow(pattern);&lt;br /&gt;C=imcorrcoef(a,pattern);&lt;br /&gt;xset('window',1);&lt;br /&gt;imshow(C);&lt;br /&gt;&lt;br /&gt;pattern = [-1 -1 -1; -1 8 -1; -1 -1 -1];&lt;br /&gt;xset('window',5);&lt;br /&gt;imshow(pattern);&lt;br /&gt;C=imcorrcoef(a,pattern);&lt;br /&gt;xset('window',2);&lt;br /&gt;imshow(C);&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;Observation:&lt;br /&gt;Similar numbers used to form horizontal or vertical pattern result to images with enhanced horizontal and vertical edges respectively.&lt;/span&gt;&lt;span&gt; Numbers of the same value located at the contour of the matrix used as basis for patterns also result to images with enhanced overall edges.&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;Thanks &lt;/span&gt;&lt;span&gt;to martin for suggesting fftshift and interpreting the final image in edge detection.&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Rating: 9, code error.&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-3675080370544343166?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/3675080370544343166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/07/activity-5.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/3675080370544343166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/3675080370544343166'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/07/activity-5.html' title='Activity 5: Fourier Transform Model of Image Formation'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_MVP54MAwK0Y/SlxRkHLZBUI/AAAAAAAAAQs/efPIU-RvmeU/s72-c/0.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-8198264642742138555</id><published>2009-06-29T18:31:00.000-07:00</published><updated>2009-07-23T12:23:14.931-07:00</updated><title type='text'>Activity 4: Enhancement by Histogram Manipulation</title><content type='html'>"...I wonder why&lt;br /&gt;I don't know what you see&lt;br /&gt;Of course I care&lt;br /&gt;I won't pretend"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Image enhancement, one of the most basic methods in image processing makes details more obvious[1]. Planetary scientists use the technology of image processing in order to enhance images of planets such as Mars, Venus and other planets. It is also important to doctors since they use it to manipulate CAT scans and MRI images [2]. More often than not, photographs need more enhancing in order for them to be appreciated and thus need to be enhanced. One way to enhance an image is through the manipulation of its histogram. Given the cumulative distribution function (CDF) of a desired PDF, the grayscale PDF of an image can be modified by backprojecting the grayscale calues using the CDF.&lt;br /&gt;&lt;br /&gt;The following process was implemented on the image.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlIPBHt14rI/AAAAAAAAAF8/CU7lpClEH-Y/s1600-h/process.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 360px; height: 200px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlIPBHt14rI/AAAAAAAAAF8/CU7lpClEH-Y/s320/process.bmp" alt="" id="BLOGGER_PHOTO_ID_5355359418822550194" border="0" /&gt;&lt;/a&gt;Once the image's CDF is plotted and an equation for the ideal CDF is known, the easiest way to do backprojection is through the input of original image's CDF Y values into the ideal equation  (linnear, exponential, logarithmic) to compute their corresponding X values. These x values are then exchanged with the pixel values known to represent the original image depending on the position of the original image's pixel values (x coordinates).  The new image is then plotted. This gives the enhanced version of the origianal image.&lt;br /&gt;&lt;br /&gt;Results:&lt;br /&gt;(please click on the images below to see its clearer version)&lt;br /&gt;&lt;br /&gt;I. Linear Ideal CDF&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlIUW6uUTGI/AAAAAAAAAGE/NaFVSUvZkoU/s1600-h/ideal.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 239px; height: 195px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlIUW6uUTGI/AAAAAAAAAGE/NaFVSUvZkoU/s320/ideal.bmp" alt="" id="BLOGGER_PHOTO_ID_5355365290850143330" border="0" /&gt;&lt;/a&gt;Ideal Linear CDF&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlIbtHr7VaI/AAAAAAAAAGk/zEfQpMHXN-I/s1600-h/girl.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 341px; height: 189px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlIbtHr7VaI/AAAAAAAAAGk/zEfQpMHXN-I/s320/girl.bmp" alt="" id="BLOGGER_PHOTO_ID_5355373368868296098" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photogiftsworld.com/imagenes/catalogo/restaurar/antes_faded-1-final.jpg.jpg"&gt;http://photogiftsworld.com/imagen&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photogiftsworld.com/imagenes/catalogo/restaurar/antes_faded-1-final.jpg.jpg"&gt;es/c&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photogiftsworld.com/imagenes/catalogo/restaurar/antes_faded-1-final.jpg.jpg"&gt;atalogo/resta&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photogiftsworld.com/imagenes/catalogo/restaurar/antes_faded-1-final.jpg.jpg"&gt;urar/antes_faded-1-final.jpg.jpg&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlIabLaF5KI/AAAAAAAAAGU/4gyCLqTuEzo/s1600-h/eC.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 332px; height: 184px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlIabLaF5KI/AAAAAAAAAGU/4gyCLqTuEzo/s320/eC.bmp" alt="" id="BLOGGER_PHOTO_ID_5355371961117959330" border="0" /&gt;&lt;/a&gt;(&lt;a href="http://www.joyfulimages.com/images/emma%20and%20charles2.jpg"&gt;http://www.joyfulimages.com/im&lt;/a&gt;&lt;a href="http://www.joyfulimages.com/images/emma%20and%20charles2.jpg"&gt;ages/&lt;/a&gt;&lt;a href="http://www.joyfulimages.com/images/emma%20and%20charles2.jpg"&gt;emma%20an&lt;/a&gt;&lt;a href="http://www.joyfulimages.com/images/emma%20and%20charles2.jpg"&gt;d%20charles2.jpg&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlIhwP7vjnI/AAAAAAAAAHE/dNPKyRc_Wsc/s1600-h/scan.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlIhwP7vjnI/AAAAAAAAAHE/dNPKyRc_Wsc/s320/scan.bmp" alt="" id="BLOGGER_PHOTO_ID_5355380019691490930" border="0" /&gt;&lt;/a&gt;&lt;a href="http://www.neuroguidance.com/Li_MRI_faded.jpg"&gt;(http://www.neuroguidance.com/Li_M&lt;/a&gt;&lt;a href="http://www.neuroguidance.com/Li_MRI_faded.jpg"&gt;RI_faded.jpg&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlImeYZmrcI/AAAAAAAAAHU/KaBw8_ALq0E/s1600-h/s.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlImeYZmrcI/AAAAAAAAAHU/KaBw8_ALq0E/s320/s.bmp" alt="" id="BLOGGER_PHOTO_ID_5355385210284715458" border="0" /&gt;&lt;/a&gt;&lt;a href="http://www.neurosurgicalassociates.com.au/images/MRI-2.jpg"&gt;(http://www.neurosurgicalassociates.com.au/images/MRI-2.jpg&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;II. Exponential Ideal CDF&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlIe0Q5DWOI/AAAAAAAAAG0/SkFPfhmJs3o/s1600-h/exp.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlIe0Q5DWOI/AAAAAAAAAG0/SkFPfhmJs3o/s320/exp.bmp" alt="" id="BLOGGER_PHOTO_ID_5355376790133233890" border="0" /&gt;&lt;/a&gt;Ideal Exponential CDF&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlIdO5hXmaI/AAAAAAAAAGs/9NpW2f44jTI/s1600-h/girlExp.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 319px; height: 177px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlIdO5hXmaI/AAAAAAAAAGs/9NpW2f44jTI/s320/girlExp.bmp" alt="" id="BLOGGER_PHOTO_ID_5355375048693094818" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photogiftsworld.com/imagenes/catalogo/restaurar/antes_faded-1-final.jpg.jpg"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlIf67L4ZkI/AAAAAAAAAG8/Fq6CqYtLcus/s1600-h/EcExp.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlIf67L4ZkI/AAAAAAAAAG8/Fq6CqYtLcus/s320/EcExp.bmp" alt="" id="BLOGGER_PHOTO_ID_5355378004077340226" border="0" /&gt;&lt;/a&gt;&lt;a href="http://www.joyfulimages.com/images/emma%20and%20charles2.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlIibPgaWDI/AAAAAAAAAHM/-QFlEeml_Ug/s1600-h/scanExp.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlIibPgaWDI/AAAAAAAAAHM/-QFlEeml_Ug/s320/scanExp.bmp" alt="" id="BLOGGER_PHOTO_ID_5355380758311229490" border="0" /&gt;&lt;/a&gt;&lt;a href="http://www.neurosurgicalassociates.com.au/images/MRI-2.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlIoJObJ_EI/AAAAAAAAAHc/hnwz8c8nEL8/s1600-h/sExp.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlIoJObJ_EI/AAAAAAAAAHc/hnwz8c8nEL8/s320/sExp.bmp" alt="" id="BLOGGER_PHOTO_ID_5355387045852871746" border="0" /&gt;&lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://www.neurosurgicalassociates.com.au/images/MRI-2.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;III. Logarithmic Ideal CDF (human eye)&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlI1DxXneII/AAAAAAAAAH0/rnuIlQl-K4Q/s1600-h/Log.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlI1DxXneII/AAAAAAAAAH0/rnuIlQl-K4Q/s320/Log.bmp" alt="" id="BLOGGER_PHOTO_ID_5355401245805213826" border="0" /&gt;&lt;/a&gt;Logarithmic Ideal CDF&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlI22-lCcDI/AAAAAAAAAIE/AICd-hOxRmU/s1600-h/girlLog.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlI22-lCcDI/AAAAAAAAAIE/AICd-hOxRmU/s320/girlLog.bmp" alt="" id="BLOGGER_PHOTO_ID_5355403225036124210" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlI0nn2NATI/AAAAAAAAAHs/q-JvV2wejZo/s1600-h/EcLog.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlI0nn2NATI/AAAAAAAAAHs/q-JvV2wejZo/s320/EcLog.bmp" alt="" id="BLOGGER_PHOTO_ID_5355400762212811058" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlI2CTjxDFI/AAAAAAAAAH8/X6X4PqQ68Zw/s1600-h/scanLog.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlI2CTjxDFI/AAAAAAAAAH8/X6X4PqQ68Zw/s320/scanLog.bmp" alt="" id="BLOGGER_PHOTO_ID_5355402320134868050" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlIzzRR_wVI/AAAAAAAAAHk/aMdCNtQcE5g/s1600-h/sLog.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlIzzRR_wVI/AAAAAAAAAHk/aMdCNtQcE5g/s320/sLog.bmp" alt="" id="BLOGGER_PHOTO_ID_5355399862802170194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;IV. Code&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;//automatic plotting&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;stacksize(3e7);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;image=gray_imread('C:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A4\images\MRI-2.jpg');&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;subplot(241);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;imshow(image);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;title('Original Image');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;image=image*255;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;subplot(242);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;histplot(255,image);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;title('Histogram of Original Image');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;//PDF original&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;tick=1;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;temp=0;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;x_pdf=[];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;y_pdf=[];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;for i=0:1:255,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;[x,y]=find(image&lt;=i);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;x_pdf(tick)=i;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;y_pdf(tick)=length(x)-temp;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;temp=length(x);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;tick=tick+1;end&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;subplot(243);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;y_pdfnorm=y_pdf/max(y_pdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;plot(x_pdf, y_pdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;title('PDF of Original Image');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;//CDF original&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;x_cdf=0:1:255;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;y_cdf=cumsum(y_pdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;subplot(244);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;plot(x_cdf,y_cdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;title('CDF of Original Image');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;//CDF ideal Linear&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;x_cdfi=0:1:255;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;y_cdfi=(max(y_cdf)/max(x_cdf))*x_cdfi;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;//Backtrack Linear&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;image_copy=image;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;image_r=int(image);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;x_int=min(x_pdf):(max(x_pdf)-min(x_pdf))/255:max(x_pdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;for i = 1:1:length(x_cdf),&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;  x_seek=int((max(x_cdf)/max(y_cdf))*y_cdf(i));&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;  loc=find(image_r==i);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;  image_copy(loc)=x_seek;end&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;subplot(245);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;imshow(image_copy/255);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;title('Enhanced Image');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//CDF ideal Exp&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//x_cdfi=0:2/255:2;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//y_cdfi=1-exp(-x_cdfi**3);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//x_cdfi=x_cdfi*255/2;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//y_copy=y_cdfi;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//y_cdfi=y_cdfi*max(y_cdf)/max(y_cdfi);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//Backtrack Exp&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//image_copy=image;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//image_r=int(image);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//y_prep=y_cdf*max(y_copy)/max(y_cdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//x_int=min(x_pdf):(max(x_pdf)-min(x_pdf))/255:max(x_pdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//for i = 1:1:length(x_cdf),&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//  x_seek=(-log(1-y_prep(i)))**(1/3);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//  loc=find(image_r==i);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//  image_copy(loc)=int(x_seek*255/2);end&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//subplot(245);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//imshow(image_copy/255);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;//title('Enhanced Image');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//CDF ideal Log&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//x_cdfi=1:1:255;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//y_cdfi=log(x_cdfi);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//y_copy=y_cdfi;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//y_cdfi=y_cdfi*max(y_cdf)/max(y_cdfi);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//Backtrack Log&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//image_copy=image;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//image_r=int(image);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//y_prep=y_cdf*max(y_copy)/max(y_cdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//x_int=min(x_pdf):(max(x_pdf)-min(x_pdf))/255:max(x_pdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//for i = 1:1:length(x_cdf),&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//  x_seek=exp(y_prep(i));&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//  loc=find(image_r==i);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//  image_copy(loc)=int(x_seek);end&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//subplot(245);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//imshow(image_copy/255);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;//title('Enhanced Image');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;subplot(246);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;histplot(255,image_copy);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;title('Histogram of Enhanced Image');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;//PDF of New Image&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;tick=1;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;temp=0;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;x_pdf=[];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;y_pdf=[];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;for i=0:1:255,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;[x,y]=find(image_copy&lt;=i);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;x_pdf(tick)=i;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;y_pdf(tick)=length(x)-temp;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;temp=length(x);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;tick=tick+1;end&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;subplot(247);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;y_pdfnorm=y_pdf/max(y_pdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;plot(x_pdf, y_pdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;title('PDF of Enhanced Image');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;//CDF of New Image&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;x_cdf=0:1:255;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;y_cdf=cumsum(y_pdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;subplot(248);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;plot(x_cdf,y_cdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;title('CDF of Enhanced Image');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;xset('window',1);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;plot(x_cdfi,y_cdfi);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;title('Ideal CDF (linear)');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Results show that most images are enhanced better when a linear ideal CDF was used as reference rather than exponential. Original images used were of low contrast. PDF's plotted above do not span the range of values for all pixels. Most images have pixel values (in terms of brightness) skewed either to the left or to the right. This means that the image might be too bright or too dark thus making it hard to look through the image. Plotted CDF's also vary in shape depending on their PDFs. In order to enhance the images, CDFs should follow an ideal form: (1) linear and (2) exponential. Through backprojecting, enhanced images achieved PDFs which are scattered/stretched over all ranges of pixel values (0-1). Their CDF's imitates that of the ideal CDFs.&lt;br /&gt;&lt;br /&gt;The human eye mimics the CDF of a logarithmic plot. Backprojecting the sample images above resulted to even darker images. In summary, exponential less than linear less than garithmic where exponential exhibited more of the smaller pixel values (light colors).&lt;br /&gt;&lt;br /&gt;Rating: 10&lt;br /&gt;I have enhanced all images properly. This activity is a fulfilling one.&lt;br /&gt;&lt;br /&gt;Thanks to mandee for useful discussions and insights on problem analysis.&lt;br /&gt;&lt;br /&gt;reference:&lt;br /&gt;[1] http://radiographics.rsnajnls.org/cgi/reprint/8/4/771.pdf&lt;br /&gt;[2] http://www.the-aps.org/education/k12curric/activities/pdfs/rapp.pdf &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-8198264642742138555?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/8198264642742138555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/06/activity-4-enhancement-by-histogram.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/8198264642742138555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/8198264642742138555'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/06/activity-4-enhancement-by-histogram.html' title='Activity 4: Enhancement by Histogram Manipulation'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_MVP54MAwK0Y/SlIPBHt14rI/AAAAAAAAAF8/CU7lpClEH-Y/s72-c/process.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-1224277231541186540</id><published>2009-06-22T19:41:00.000-07:00</published><updated>2009-07-23T12:27:04.451-07:00</updated><title type='text'>Activity 3: Image Types and Basic Image Enhancement</title><content type='html'>&lt;span style="font-style: italic;"&gt;"...Wandering stars, for whom it is reserved&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;The blackness of darkness forever"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;I. Image Types&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;Binary Image&lt;/span&gt;&lt;span&gt;&lt;br /&gt;Have pixel values of either 1 or 0. We usually see them as black or white images&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;[1].&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SkCgGxQ_bPI/AAAAAAAAACU/m6ygJs4IWtE/s1600-h/plaid_bw200.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 218px; height: 320px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SkCgGxQ_bPI/AAAAAAAAACU/m6ygJs4IWtE/s320/plaid_bw200.bmp" alt="" id="BLOGGER_PHOTO_ID_5350452395480411378" border="0" /&gt;&lt;/a&gt;(source: &lt;a href="http://www.mattmahoney.net/ocr/plaid_bw200.bmp"&gt;http://www.mattmahoney.net/ocr/plaid_bw200.bmp&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;PROPERTIES:&lt;br /&gt;Bit Depth: 1&lt;br /&gt;Pixel dimensions: 853 x 1253 pixels&lt;br /&gt;Print Size: 300.92 x 442.03 millimeters&lt;br /&gt;Resolution: 72 x 72 ppi&lt;br /&gt;Color Space: Indexed color (2 colors)&lt;br /&gt;File Size: 132.2 KB&lt;br /&gt;File Type: Windows BMP image&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SkBJez_p-pI/AAAAAAAAACM/U_il8CPz-m0/s1600-h/13.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 197px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SkBJez_p-pI/AAAAAAAAACM/U_il8CPz-m0/s320/13.jpg" alt="" id="BLOGGER_PHOTO_ID_5350357151018252946" border="0" /&gt;&lt;/a&gt;(source: &lt;a href="http://www.20x200.com/blog/blogimages/miyazaki_kevin_blog.jpg"&gt;http://www.20x200.com/blog/blogimages/miyazaki_kevin_blog.jpg&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;PROPERTIES:&lt;br /&gt;Pixel dimensions: 610 x 375 pixels&lt;br /&gt;Print Size: 84.72 x 52.08 millimeters&lt;br /&gt;Resolution: 7.2 x 7.2 pixels/mm&lt;br /&gt;Color Space: Grayscale&lt;br /&gt;File Size: 101.5 KB&lt;br /&gt;File Type: Windows JPEG image&lt;br /&gt;Horizontal Resolution: 182 dpi&lt;br /&gt;Vertical Resolution: 182 dpi&lt;br /&gt;Bit Depth: 8&lt;br /&gt;Frame Coount: 1&lt;br /&gt;Equipment Make: Canon&lt;br /&gt;Camera Model: Canon EOS 5D&lt;br /&gt;Copyright: Kevin J. Miyazaki&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;True Color&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SkBIz-3xl0I/AAAAAAAAAB8/iqLTqCkWs_8/s1600-h/10.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 319px; height: 320px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SkBIz-3xl0I/AAAAAAAAAB8/iqLTqCkWs_8/s320/10.jpg" alt="" id="BLOGGER_PHOTO_ID_5350356415203612482" border="0" /&gt;&lt;/a&gt;(source: &lt;a href="http://www.20x200.com/blog/blogimages/padberg_verlag3_500px_artworkimage.jpg"&gt;http://www.20x200.com/blog/blogimages/padberg_verlag3_500px_artworkimage.jpg&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;PROPERTIES:&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Bit Depth: 24&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;pixel dimensions: 500 x 501 pixels&lt;br /&gt;print size: 1.667 x 1.670 inches&lt;br /&gt;resolution: 300 x 300 ppi&lt;br /&gt;color space: RGB color&lt;br /&gt;File Size: 49.9 KB&lt;br /&gt;File Type: JPEG image&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Index Image&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SkBJKga1nSI/AAAAAAAAACE/9KsUDCpOIIs/s1600-h/1.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 274px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SkBJKga1nSI/AAAAAAAAACE/9KsUDCpOIIs/s320/1.gif" alt="" id="BLOGGER_PHOTO_ID_5350356802166168866" border="0" /&gt;&lt;/a&gt;(source: &lt;a href="http://www-zeus.desy.de/img/home.05.i.gif"&gt;http://www-zeus.desy.de/img/home.05.i.gif&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;PROPERTIES:&lt;br /&gt;Bit Depth: 8&lt;br /&gt;pixel dimensions: 506 x 433 pixels&lt;br /&gt;print size: 7.028 x 6.014 inches&lt;br /&gt;resolution: 72 x 72 ppi&lt;br /&gt;color space: indexed color (3 colors)&lt;br /&gt;File Size: 3.65 KB&lt;br /&gt;File Type: GIF image&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Scanned Image&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;a.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlON-0kv_-I/AAAAAAAAALU/0DZzCRsRmww/s1600-h/lock.bmp"&gt;&lt;img style="cursor: pointer; width: 203px; height: 211px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlON-0kv_-I/AAAAAAAAALU/0DZzCRsRmww/s320/lock.bmp" alt="" id="BLOGGER_PHOTO_ID_5355780492277841890" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;b. &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlPdXHNwQGI/AAAAAAAAALk/wnOZcJn8iXU/s1600-h/lock_con.bmp"&gt;&lt;img style="cursor: pointer; width: 377px; height: 209px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlPdXHNwQGI/AAAAAAAAALk/wnOZcJn8iXU/s320/lock_con.bmp" alt="" id="BLOGGER_PHOTO_ID_5355867771017117794" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(a) original image (b) image with contour&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;I used the following code for area calculation. This is a recycled code from actvity 2, only with the addition of imfinfo.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;AREA CALCULATION&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;//contour&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;stacksize(3e7);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;Img=gray_imread('C:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A3\images\lock.bmp');&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;info=imfinfo('C:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A3\images\lock.bmp');&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;imshow(Img)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;bw=im2bw(Img,0.7);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;imshow(bw);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;[x,y]=follow(bw);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;plot(x,y);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;//area computation&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;xsize=size(x);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;xs=xsize(1);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;ysize=size(y);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;ys=ysize(1);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;total=0;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;for i = 1:xs-1, total = total+0.5*(x(i)*y(i+1)-y(i)*x(i+1));end;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;actual=total+0.5*(x(xsize)*y(1)-y(ysize)*x(1))&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;theory=((max(y)-min(y))/2)^2*%pi;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;total=0;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;for i = 1:xs-1, total = total+0.5*(x(i)*y(i+1)-y(i)*x(i+1));end;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;actual=total+0.5*(x(xsize)*y(1)-y(ysize)*x(1))&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The code shows how to  do automatic and manual plotting of the image histogram in scilab. To start with, the image is binary. So we expect that the histogram would have a wide dent within its middle x range. Minimum and maximum values corresponding to pixel values (0-1 when normalized, but in my case, since i prefer not to normalize it to allow easy viewing, range is at 0-255) are the only ones occupied as seen below.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;a. &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlPiGIIDd4I/AAAAAAAAAL8/x7qvNUDhcoQ/s1600-h/histscilab.bmp"&gt;&lt;img style="cursor: pointer; width: 320px; height: 178px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlPiGIIDd4I/AAAAAAAAAL8/x7qvNUDhcoQ/s320/histscilab.bmp" alt="" id="BLOGGER_PHOTO_ID_5355872976762009474" border="0" /&gt;&lt;/a&gt;b.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlPiGuT0zDI/AAAAAAAAAME/SDramt11AIY/s1600-h/histmanual.bmp"&gt;&lt;img style="cursor: pointer; width: 320px; height: 178px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlPiGuT0zDI/AAAAAAAAAME/SDramt11AIY/s320/histmanual.bmp" alt="" id="BLOGGER_PHOTO_ID_5355872987011927090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(a) automatic plotting (b) manual plotting&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;HISTOGR&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;AM&lt;/span&gt; (bonus)&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;//automatic histogram&lt;/span&gt; &lt;span style="color: rgb(51, 102, 102);"&gt;image=gray_imread('C:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A3\images\lock.bmp');&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;xset('window',0);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;imshow(image);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;xset('window',1);&lt;/span&gt; &lt;span style="color: rgb(51, 102, 102);"&gt;&lt;br /&gt;image=image*255;&lt;/span&gt; &lt;span style="color: rgb(51, 102, 102);"&gt;histplot(255,image);&lt;/span&gt;  &lt;span style="color: rgb(51, 102, 102);"&gt;//manual histogram&lt;/span&gt; &lt;span style="color: rgb(51, 102, 102);"&gt;&lt;br /&gt;tick=1;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;x_pdf=[];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;y_pdf=[];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;temp=0;&lt;/span&gt; &lt;span style="color: rgb(51, 102, 102);"&gt;&lt;br /&gt;for i=0:1:255,&lt;/span&gt; &lt;span style="color: rgb(51, 102, 102);"&gt;[x,y]=find(image&lt;=i);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;x_pdf(tick)=i; &lt;/span&gt; &lt;span style="color: rgb(51, 102, 102);"&gt;&lt;br /&gt;y_pdf(tick)=length(x)-temp;&lt;/span&gt; &lt;span style="color: rgb(51, 102, 102);"&gt;&lt;br /&gt;temp=length(x);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;tick=tick+1;&lt;br /&gt;end&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;xset('window',2);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;y_pdfnorm=y_pdf/max(y_pdf);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;plot(x_pdf, y_pdfnorm);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Image information (through iminfo): &lt;/span&gt;&lt;br /&gt;FileName  FileSize  Format  Width  Height  Depth  StorageType  NumberOfColors&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Filename: &lt;/span&gt;C:\Documents and Settings\avabs\My Documents\papel\physics\physics 186\A3\images\lock.bmp&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Format:&lt;/span&gt; BMP&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Filesize: &lt;/span&gt;384438.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Width&lt;/span&gt;: 352.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Height:&lt;/span&gt; 364.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Depth&lt;/span&gt;: 8.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;StorageType:&lt;/span&gt; truecolor&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Area using Green's Theorem:&lt;/span&gt; 19235.5&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Area through Pixel Count:&lt;/span&gt; 19590&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Theoretical Area (rectangle+circle):&lt;/span&gt;  19294.138&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlPdX1E89aI/AAAAAAAAAL0/-PHKAX64_gw/s1600-h/rectangle.bmp"&gt;&lt;img style="cursor: pointer; width: 136px; height: 141px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlPdX1E89aI/AAAAAAAAAL0/-PHKAX64_gw/s320/rectangle.bmp" alt="" id="BLOGGER_PHOTO_ID_5355867783328232866" border="0" /&gt;&lt;/a&gt;      plus       &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlPdXiDkbLI/AAAAAAAAALs/ddPCVQNHTiA/s1600-h/circle.bmp"&gt;&lt;img style="cursor: pointer; width: 138px; height: 143px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlPdXiDkbLI/AAAAAAAAALs/ddPCVQNHTiA/s320/circle.bmp" alt="" id="BLOGGER_PHOTO_ID_5355867778222156978" border="0" /&gt;&lt;/a&gt;  equals &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlON-0kv_-I/AAAAAAAAALU/0DZzCRsRmww/s1600-h/lock.bmp"&gt;&lt;img style="cursor: pointer; width: 137px; height: 142px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/SlON-0kv_-I/AAAAAAAAALU/0DZzCRsRmww/s320/lock.bmp" alt="" id="BLOGGER_PHOTO_ID_5355780492277841890" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;We can also apply this to other images like the one below.&lt;br /&gt;a.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlPl34nJB_I/AAAAAAAAAMk/ZCMWz-lQycg/s1600-h/9.jpg"&gt;&lt;img style="cursor: pointer; width: 170px; height: 170px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlPl34nJB_I/AAAAAAAAAMk/ZCMWz-lQycg/s320/9.jpg" alt="" id="BLOGGER_PHOTO_ID_5355877130125772786" border="0" /&gt;&lt;/a&gt; b.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlPl25E27nI/AAAAAAAAAMM/VsAmGWW8OoA/s1600-h/9gray.bmp"&gt;&lt;img style="cursor: pointer; width: 170px; height: 170px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SlPl25E27nI/AAAAAAAAAMM/VsAmGWW8OoA/s320/9gray.bmp" alt="" id="BLOGGER_PHOTO_ID_5355877113070546546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;c.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlPmbkG2s8I/AAAAAAAAAMs/_zmn0npKD3g/s1600-h/9cont.bmp"&gt;&lt;img style="cursor: pointer; width: 252px; height: 140px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlPmbkG2s8I/AAAAAAAAAMs/_zmn0npKD3g/s320/9cont.bmp" alt="" id="BLOGGER_PHOTO_ID_5355877743096935362" border="0" /&gt;&lt;/a&gt; d.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlPl3CsLEZI/AAAAAAAAAMU/rFbb2SkwSlU/s1600-h/9histauto.bmp"&gt;&lt;img style="cursor: pointer; width: 263px; height: 140px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SlPl3CsLEZI/AAAAAAAAAMU/rFbb2SkwSlU/s320/9histauto.bmp" alt="" id="BLOGGER_PHOTO_ID_5355877115651363218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;e.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlPl3t_OgVI/AAAAAAAAAMc/AgGeNQFkPJw/s1600-h/9manual.bmp"&gt;&lt;img style="cursor: pointer; width: 292px; height: 162px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SlPl3t_OgVI/AAAAAAAAAMc/AgGeNQFkPJw/s320/9manual.bmp" alt="" id="BLOGGER_PHOTO_ID_5355877127274004818" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(a) original image (b) grayscale (c) contour (d) automatic histogram (e) manual plot&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Area using Green's Theorem:&lt;/span&gt; 138381.5&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Area through Pixel Count:&lt;/span&gt;  145489.&lt;br /&gt;&lt;br /&gt;Rating: 9&lt;br /&gt;I think i did what was being asked and have understood all concepts fully. This blog however lacks more discussions.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;[1]  Activity 3 Handout, M. Soriano, 2009&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-1224277231541186540?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/1224277231541186540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/06/activity-3-image-types-and-basic-image.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/1224277231541186540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/1224277231541186540'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/06/activity-3-image-types-and-basic-image.html' title='Activity 3: Image Types and Basic Image Enhancement'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_MVP54MAwK0Y/SkCgGxQ_bPI/AAAAAAAAACU/m6ygJs4IWtE/s72-c/plaid_bw200.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-5218759070372768551</id><published>2009-06-22T19:38:00.000-07:00</published><updated>2009-06-29T17:10:11.760-07:00</updated><title type='text'>Activity 2: Area Estimation of Images with Defined Edges</title><content type='html'>"...Tempted in our minds&lt;br /&gt;Tormented inside lie&lt;br /&gt;Wounded and afraid&lt;br /&gt;Inside my head&lt;br /&gt;Falling through changes"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here are some examples of black and white regular geometric images I have drawn in paint. All images are of 256x256 pixels.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SkLUSEYcCuI/AAAAAAAAAC8/MeE72eDNAtg/s1600-h/circle,bmp.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 190px; height: 190px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SkLUSEYcCuI/AAAAAAAAAC8/MeE72eDNAtg/s320/circle,bmp.bmp" alt="" id="BLOGGER_PHOTO_ID_5351072714148547298" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: center; font-weight: bold;"&gt;circle&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Skax_Dq3LtI/AAAAAAAAAEE/aebvrjfAkD4/s1600-h/rectangle.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 256px; height: 256px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Skax_Dq3LtI/AAAAAAAAAEE/aebvrjfAkD4/s320/rectangle.bmp" alt="" id="BLOGGER_PHOTO_ID_5352160904051371730" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;rectangle&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SkLUaWgs2qI/AAAAAAAAADM/jDAlw2bWuFo/s1600-h/square.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 171px; height: 171px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/SkLUaWgs2qI/AAAAAAAAADM/jDAlw2bWuFo/s320/square.bmp" alt="" id="BLOGGER_PHOTO_ID_5351072856453995170" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;square&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The aim of this activity is to be able to estimate the area of a geometrical image with defined edges using Green's theorem. Knowledge on the image's edge would suffice and allow one to estimate it's area. After which, results can be verified analytically since the geometrical images listed above have known area. Green's theorem is summarized by the following formula:&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SkY4CYHfPQI/AAAAAAAAADU/8AhlhCfm4tQ/s1600-h/eqn.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 270px; height: 84px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SkY4CYHfPQI/AAAAAAAAADU/8AhlhCfm4tQ/s320/eqn.JPG" alt="" id="BLOGGER_PHOTO_ID_5352026820661165314" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;Green's Theorem&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xi: x coordinates&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;yi: y coordinates&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Nb: total number of pixels around a contour&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;There is a function in scilab called "follow" which gives the contour values in x and y coordinates. Executing this command into the images listed above only resulted to a contour around the square template of the image. Two options remain, it's either to invert the colors of the image manually (using Paint or GIMP) or to invert them digitally using scilab SIP toolbox. I chose to do it digitally. So here's a snippet of the code:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SkbO5VTJwdI/AAAAAAAAAEc/LSnBItFZZ5I/s1600-h/program.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 130px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SkbO5VTJwdI/AAAAAAAAAEc/LSnBItFZZ5I/s320/program.bmp" alt="" id="BLOGGER_PHOTO_ID_5352192691541754322" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;Program Code for Area Estimation of a Circle&lt;/span&gt;&lt;br /&gt;(click to zoom in)&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The first half of the program imports the image, inverts the black color to white and vice versa, converts the image to binary, outputs the original image and plots its edge contour over it. Here's how it looked like after program execution:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: justify;"&gt;The following image shows the contour (blue circle) along the edge of the circle image. However, it can be observed that the contour is not a perfect superposition of the original edge of the image. The rest of the shapes also followed this trend.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SkavsTMVqaI/AAAAAAAAAD8/g8K-KWs02Ls/s1600-h/contour.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 241px; height: 241px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SkavsTMVqaI/AAAAAAAAAD8/g8K-KWs02Ls/s320/contour.bmp" alt="" id="BLOGGER_PHOTO_ID_5352158382777543074" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;A. contour for circle&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MVP54MAwK0Y/Ska3LgfZwkI/AAAAAAAAAEM/SCulodBXuHY/s1600-h/contour_r.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 243px; height: 242px;" src="http://4.bp.blogspot.com/_MVP54MAwK0Y/Ska3LgfZwkI/AAAAAAAAAEM/SCulodBXuHY/s320/contour_r.bmp" alt="" id="BLOGGER_PHOTO_ID_5352166615504503362" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;B. contour for rectangle&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Ska4-huvtpI/AAAAAAAAAEU/-fc29KW0b0M/s1600-h/contour_s.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 234px; height: 234px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Ska4-huvtpI/AAAAAAAAAEU/-fc29KW0b0M/s320/contour_s.bmp" alt="" id="BLOGGER_PHOTO_ID_5352168591522248338" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;C. contour for square&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The bottom half of the program aims to compute the area bounded by the contour by implementing Green's Theorem. After which, results were compared with the theoretical areas of each of the images. The table below summarizes these results.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/SkbfrI2Fw_I/AAAAAAAAAE8/5vBg_A82o7E/s1600-h/table.bmp"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SkblHWdlUtI/AAAAAAAAAFM/Z4DltuhjL1E/s1600-h/table.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 106px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SkblHWdlUtI/AAAAAAAAAFM/Z4DltuhjL1E/s400/table.bmp" alt="" id="BLOGGER_PHOTO_ID_5352217121627919058" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;Summary Table&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;r: radius of circle&lt;br /&gt;s: side of square&lt;br /&gt;l: length&lt;br /&gt;w:width&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Theoretical values were computed by calculating the "lengths" of both the x and y axis and substituting them into corresponding area equations shown above.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Area estimation using Green's Theorem exhibited the greatest error among the three shapes. Figure &lt;span style="font-weight: bold;"&gt;A&lt;/span&gt; shows that the contour (blue line along the circle's edge) does not perfectly match the circle's edge. As we zoom into the image further, the contour actually does not follow a perfect circular path. Instead, it is composed of a series of short straight lines which appear jagged when zoomed in but appear circular when zoomed out. This observation might have contributed to this minimal error. Furthermore, contours drawn in figures &lt;span style="font-weight: bold;"&gt;B&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;C&lt;/span&gt; also do not match the edges made by the images. However, it appears (based on the table above) that  area computation using Green's theorem precisely matches the theoretical calculation. Thus, offsets observed in figures &lt;span style="font-weight: bold;"&gt;B&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;C&lt;/span&gt; might have allowed transitions of contours into another location while the original  geometry of the images were retained.&lt;br /&gt;&lt;br /&gt;For this activity, i give myself a grade of 9 because i wasn't able to minimize the offset exhibited by the contour. However, this could serve as a future project.&lt;br /&gt;&lt;br /&gt;Thanks to Mandee and Irene for sharing their knowledge on the syntax of Scilab.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-5218759070372768551?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/5218759070372768551/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/06/activity-2-area-estimation-of-images.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/5218759070372768551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/5218759070372768551'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/06/activity-2-area-estimation-of-images.html' title='Activity 2: Area Estimation of Images with Defined Edges'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_MVP54MAwK0Y/SkLUSEYcCuI/AAAAAAAAAC8/MeE72eDNAtg/s72-c/circle,bmp.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1471391597131836879.post-9107694219739863029</id><published>2009-06-15T20:01:00.000-07:00</published><updated>2009-06-23T02:26:10.000-07:00</updated><title type='text'>Activity 1: Digital Scanning</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;"... I stand on the edge of a broken sky&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt; And I will come down; don't know why"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Introduction&lt;/span&gt; ( as the worksheet indicates)&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In this activity, we use ratio and proportion to find the numerical value of a digitally scanned hand-drawn plot (of course we didn't follow this since hand-drawn graphs are EXTREMELY difficult to find). For now, you will need the following software, Paint (missed paint after photoshop monopolized the editing community haaahhh) for finding the pixel locations of points on the graph, and Excel or OpenOffice Spreadsheet to tabulate the values of the graph.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;On the Graph&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I found the graph (a and b) &lt;span style="font-style: italic;"&gt;i&lt;/span&gt;n a 1912 book (c) :). It is entitled "Advanced Calculus" by Edwin Bidwell Wilson (c).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;a&lt;/span&gt;. scanned page&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/SjtJ0MVHWfI/AAAAAAAAAB0/G7SxJuxSyxU/s1600-h/A1.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 226px; height: 320px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/SjtJ0MVHWfI/AAAAAAAAAB0/G7SxJuxSyxU/s320/A1.JPG" alt="" id="BLOGGER_PHOTO_ID_5348950143444408818" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;b&lt;/span&gt;. a closer look on the graph&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sjji5fvn6iI/AAAAAAAAAAU/Yo50c9Dx8oo/s1600-h/A1near.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 282px; height: 185px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/Sjji5fvn6iI/AAAAAAAAAAU/Yo50c9Dx8oo/s320/A1near.JPG" alt="" id="BLOGGER_PHOTO_ID_5348274034904132130" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;c&lt;/span&gt;. the book&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sjjtgim4siI/AAAAAAAAAA0/a6SxzKqXFtU/s1600-h/A1book.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 154px; height: 200px;" src="http://1.bp.blogspot.com/_MVP54MAwK0Y/Sjjtgim4siI/AAAAAAAAAA0/a6SxzKqXFtU/s200/A1book.JPG" alt="" id="BLOGGER_PHOTO_ID_5348285700803965474" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Moving the cursor on the graph (c/o Paint) gives corresponding specific locations in X and Y coordinates as to where a certain pixel is located.&lt;br /&gt;&lt;br /&gt;Now, look at picture b, the picture looks a bit slanted.  So, i rotated the image (using Microsoft Word since my photoshop is currently "out of order") to give this: (d)&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;                                   &lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;d&lt;/span&gt;. a better oriented image (rather assume it is)&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MVP54MAwK0Y/SjqC9cjFbvI/AAAAAAAAABU/cakzv3Eo0qw/s1600-h/A1near_s.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 328px; height: 191px;" src="http://3.bp.blogspot.com/_MVP54MAwK0Y/SjqC9cjFbvI/AAAAAAAAABU/cakzv3Eo0qw/s320/A1near_s.JPG" alt="" id="BLOGGER_PHOTO_ID_5348731499602865906" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;Origin is located at (43,359). But the thing is, the graph doesn't start at this point. Instead, it starts at (91, 298).&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Then after which, in my case, with the use of both Paint and another program (of which I have forgotten the name), locations specifying the x and y coordinates of each pixel in the graph were tabulated in Microsoft Excel and in Open Office. I REALLY had a hard time deciphering the icons of the latter program.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You see, the thing about Paint is it displays its y coordinates in an inverse manner. Meaning, y=0 is located at the topmost part of the image while y=100 is located somewhere at the bottom. X coordinates are displayed normal.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;After manually encoding list of pairs of x and y coordinates in Microsoft Excel and Open Office, these points were finally plotted. An upside down image of the plot is not a shocking nor surprising revelation. Paint only displays the y coordinates quite uniquely. The trick here is to multiply the y axis with -1.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now, the BIGGEST part of the problem lies in the BONUS. This part took almost ALL of my time.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;So what was the given problem? Simple. How does one insert an image and make it the background of a chart/plot.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Steps (based on how i remembered it):&lt;br /&gt;&lt;br /&gt;1. Click on the 'area' icon located at the toolbar.&lt;br /&gt;2. Click Bitmap.&lt;br /&gt;3. Import image. Now it becomes part of your choices for Area Background.&lt;br /&gt;4. Right Click on the plot. Go to Properties.&lt;br /&gt;5. Change Area Background by clicking on bitmap.&lt;br /&gt;6. Choose your saved image.&lt;br /&gt;7. There you have it, after 100 errors of doing so.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now, here's the fun part! You have to fit the manually plotted points into the image. This part of the activity confused me the most. Because every time I adjust the x and y coordinates by multipliers and addends, the graph automatically shifts itself into some weird position which doesn't make sense at all. After some time I realized that both the X and Y axis were set to automatic adjustments. That is, the program makes its own decisions and automatically expands or narrows the range of x and y axis points. In order keep track and control these changes, I fixed the origin and the end points of both coordinates to some fixed values. In my case, I fixed the x axis at 0 to 1000 and the y axis at 0 to -350.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Now, this is where grade school math comes in handy: the concept of ratio and proportion.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To begin with, the scanned image of the graph does not start at the origin. So I need to ASSUME the horizontal length of the graph. Physical observation via the human eye suggests that the scanned graph starts somewhere at 90 and ends at 990. SO that's a total horizontal length of 900. Vertical length on the other hand is approximately 245 (from -40 to -285).&lt;br /&gt;&lt;br /&gt;The plot of x and y coordinates (red plot in figure e) has a horizontal length of 507 (pixel locations start at 91 and end at 698) and vertical length of 225 (pixel location 298 to 72).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ratio and Proportion Proper:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So here's the general equation for both horizontal and vertical lengths:&lt;br /&gt;&lt;br /&gt;Factor = Image Length/Plot Length&lt;br /&gt;Factor provides numerical relationship between pixel and physical distance.&lt;br /&gt;&lt;br /&gt;Based on approximations previously done,&lt;br /&gt;&lt;br /&gt;Horizontal Length Factor: approximately 1.7751&lt;br /&gt;Vertical Length Factor: approximately 1.0841&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to we fit the plot into the image?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Answer: trial and error + Equations&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Basic step:&lt;br /&gt;Coincide the FIRST point of the plot with the leftmost point of the scanned graph by adding or subtracting values to it.&lt;br /&gt;&lt;br /&gt;But before anything else, we realize that points in the plot are at RANDOM positions relative to one another. Thus, if we intend to "stretch" the plot uniformly to fit snugly into the image, distances between consecutive sample points should be taken into account.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Let&lt;br /&gt;&lt;br /&gt;Factor=Image Length/Plot Length&lt;br /&gt;Addend=match initial point of scanned graph&lt;br /&gt;&lt;br /&gt;a=sample point 1&lt;br /&gt;b=sample point 2&lt;br /&gt;c=sample point 3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A=adjusted sample point 1&lt;br /&gt;B=adjusted sample point 2&lt;br /&gt;C=adjusted sample point 3&lt;br /&gt;&lt;br /&gt;A=a +/- Addend&lt;br /&gt;B=A+((b-a)*Factor)&lt;br /&gt;C=B+((c-b)*Factor)&lt;br /&gt;&lt;br /&gt;So here's the set of equations I used in order to fit the graph (e):&lt;br /&gt;&lt;br /&gt;X Coordinate: C+((b-a)*1.781)&lt;br /&gt;Y Coordinate: C-((b-a)*1.085)&lt;br /&gt;&lt;br /&gt;                                                                           &lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;e&lt;/span&gt;. plot&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sjp3nTEUGFI/AAAAAAAAABM/9q3knIAA9w8/s1600-h/A1Fit.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 360px; height: 320px;" src="http://2.bp.blogspot.com/_MVP54MAwK0Y/Sjp3nTEUGFI/AAAAAAAAABM/9q3knIAA9w8/s320/A1Fit.JPG" alt="" id="BLOGGER_PHOTO_ID_5348719024472856658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Factor values assumed earlier are only based on physical assumptions based on approximations made subjectively. The factor given above best fit the plot into the image. So a rate of 10 would suffice. :)&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1471391597131836879-9107694219739863029?l=vabsie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vabsie.blogspot.com/feeds/9107694219739863029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vabsie.blogspot.com/2009/06/acitivity-1-digital-scanning.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/9107694219739863029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1471391597131836879/posts/default/9107694219739863029'/><link rel='alternate' type='text/html' href='http://vabsie.blogspot.com/2009/06/acitivity-1-digital-scanning.html' title='Activity 1: Digital Scanning'/><author><name>alva</name><uri>http://www.blogger.com/profile/01788312661114979616</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-A3Pxw7MgquM/TysXwzmFp4I/AAAAAAAABLM/uDe7zY8pI9Y/s220/254868_1929754216400_1618584995_1927293_2464658_n.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_MVP54MAwK0Y/SjtJ0MVHWfI/AAAAAAAAAB0/G7SxJuxSyxU/s72-c/A1.JPG' height='72' width='72'/><thr:total>5</thr:total></entry></feed>
