<?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-6132808487427556949</id><updated>2011-07-30T14:24:23.063-07:00</updated><title type='text'>186 &gt; 192</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-4802951517667660826</id><published>2009-10-11T08:47:00.000-07:00</published><updated>2009-10-11T09:02:57.037-07:00</updated><title type='text'>Activity 19: Restoration of blurred image</title><content type='html'>I applied motion blur on the image using the algorithm given in the procedure. I then implemented the restoration algorithm. Here are the results:&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/_OIl5sflR298/StH_wv3WxFI/AAAAAAAAATs/XoXVDTae64Q/s1600-h/coke.bmp"&gt;&lt;img style="cursor: pointer; width: 200px; height: 200px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StH_wv3WxFI/AAAAAAAAATs/XoXVDTae64Q/s320/coke.bmp" alt="" id="BLOGGER_PHOTO_ID_5391371441886643282" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Original&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/StH_w5kiGlI/AAAAAAAAAT0/AETiP3zSca0/s1600-h/noised.bmp"&gt;&lt;img style="cursor: pointer; width: 200px; height: 200px;" src="http://1.bp.blogspot.com/_OIl5sflR298/StH_w5kiGlI/AAAAAAAAAT0/AETiP3zSca0/s320/noised.bmp" alt="" id="BLOGGER_PHOTO_ID_5391371444492048978" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/StH_xYlmVcI/AAAAAAAAAT8/bk6VAWrGoOE/s1600-h/rest.bmp"&gt;&lt;img style="cursor: pointer; width: 200px; height: 200px;" src="http://3.bp.blogspot.com/_OIl5sflR298/StH_xYlmVcI/AAAAAAAAAT8/bk6VAWrGoOE/s320/rest.bmp" alt="" id="BLOGGER_PHOTO_ID_5391371452818019778" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Noised / Restored&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;The restoration was able to remove the "trace" effect of the blur but some additive artifacts still remain. The method is not in vain however, since it still was effective enough to make the text readable again.&lt;br /&gt;&lt;br /&gt;I give myself a 10/10 because I was able to implement the algorithms successfully.&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/6132808487427556949-4802951517667660826?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/4802951517667660826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.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/6132808487427556949/posts/default/4802951517667660826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/4802951517667660826'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/10/activity-19-restoration-of-blurred.html' title='Activity 19: Restoration of blurred image'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OIl5sflR298/StH_wv3WxFI/AAAAAAAAATs/XoXVDTae64Q/s72-c/coke.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-1088535128150066206</id><published>2009-10-11T08:02:00.000-07:00</published><updated>2009-10-11T08:46:28.974-07:00</updated><title type='text'>Activity 18: Noise model and basic image restoration</title><content type='html'>In this activity we explore the different type of image noise and try some techniques for cleaning them. I applied 5 types of noise: impulse, uniform, exponential, gamma and gaussian. I then implemented 4 methods of noise removal: harmonic, geometric, contraharmonic and arithmetic. Here are the results:&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/_OIl5sflR298/StH47o0mbSI/AAAAAAAAATk/7l8L8lnaOfs/s1600-h/testpat.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StH47o0mbSI/AAAAAAAAATk/7l8L8lnaOfs/s320/testpat.bmp" alt="" id="BLOGGER_PHOTO_ID_5391363932393205026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Original image&lt;/span&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://1.bp.blogspot.com/_OIl5sflR298/StH2snLrj7I/AAAAAAAAATc/uBbdVD3SMgo/s1600-h/snp+arith.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://1.bp.blogspot.com/_OIl5sflR298/StH2snLrj7I/AAAAAAAAATc/uBbdVD3SMgo/s320/snp+arith.bmp" alt="" id="BLOGGER_PHOTO_ID_5391361475231846322" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/StH2sPorDSI/AAAAAAAAATU/psFoEU1qe2A/s1600-h/snp+contra.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://3.bp.blogspot.com/_OIl5sflR298/StH2sPorDSI/AAAAAAAAATU/psFoEU1qe2A/s320/snp+contra.bmp" alt="" id="BLOGGER_PHOTO_ID_5391361468910996770" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/StH2r-CxHII/AAAAAAAAATM/ohklkRAI-5Y/s1600-h/snp+geo.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StH2r-CxHII/AAAAAAAAATM/ohklkRAI-5Y/s320/snp+geo.bmp" alt="" id="BLOGGER_PHOTO_ID_5391361464188607618" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/StH2reiB0KI/AAAAAAAAATE/oWOff4d6_D4/s1600-h/snp+harm.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://2.bp.blogspot.com/_OIl5sflR298/StH2reiB0KI/AAAAAAAAATE/oWOff4d6_D4/s320/snp+harm.bmp" alt="" id="BLOGGER_PHOTO_ID_5391361455729791138" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/StH2rJ4OpwI/AAAAAAAAAS8/d9tzkKXOri0/s1600-h/snp.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://2.bp.blogspot.com/_OIl5sflR298/StH2rJ4OpwI/AAAAAAAAAS8/d9tzkKXOri0/s320/snp.bmp" alt="" id="BLOGGER_PHOTO_ID_5391361450185762562" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/StH2O1rJJYI/AAAAAAAAAS0/GbaKy6fQ6aU/s1600-h/unf+arith.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StH2O1rJJYI/AAAAAAAAAS0/GbaKy6fQ6aU/s320/unf+arith.bmp" alt="" id="BLOGGER_PHOTO_ID_5391360963725829506" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/StH2OoxeNMI/AAAAAAAAASs/jFojwnmqA4c/s1600-h/unf+contra.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StH2OoxeNMI/AAAAAAAAASs/jFojwnmqA4c/s320/unf+contra.bmp" alt="" id="BLOGGER_PHOTO_ID_5391360960262714562" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/StH2OBWPM1I/AAAAAAAAASk/y0GwL7oEIUM/s1600-h/unf+geo.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://3.bp.blogspot.com/_OIl5sflR298/StH2OBWPM1I/AAAAAAAAASk/y0GwL7oEIUM/s320/unf+geo.bmp" alt="" id="BLOGGER_PHOTO_ID_5391360949679502162" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/StH2NvbwHAI/AAAAAAAAASc/cCpI6CSyZxE/s1600-h/unf+harm.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://2.bp.blogspot.com/_OIl5sflR298/StH2NvbwHAI/AAAAAAAAASc/cCpI6CSyZxE/s320/unf+harm.bmp" alt="" id="BLOGGER_PHOTO_ID_5391360944870792194" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/StH2NWT3NlI/AAAAAAAAASU/tfYLAKM9wfA/s1600-h/unf.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StH2NWT3NlI/AAAAAAAAASU/tfYLAKM9wfA/s320/unf.bmp" alt="" id="BLOGGER_PHOTO_ID_5391360938126816850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/StH1dX-uE8I/AAAAAAAAASM/SyCNR5fnX4E/s1600-h/expo+arith.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://3.bp.blogspot.com/_OIl5sflR298/StH1dX-uE8I/AAAAAAAAASM/SyCNR5fnX4E/s320/expo+arith.bmp" alt="" id="BLOGGER_PHOTO_ID_5391360113941287874" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/StH1clIm4HI/AAAAAAAAASE/hbK6kf-LxEA/s1600-h/expo+expo.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StH1clIm4HI/AAAAAAAAASE/hbK6kf-LxEA/s320/expo+expo.bmp" alt="" id="BLOGGER_PHOTO_ID_5391360100292550770" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/StH1cNAJz4I/AAAAAAAAAR8/WV_oqPpm_KY/s1600-h/expo+geo.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://1.bp.blogspot.com/_OIl5sflR298/StH1cNAJz4I/AAAAAAAAAR8/WV_oqPpm_KY/s320/expo+geo.bmp" alt="" id="BLOGGER_PHOTO_ID_5391360093814640514" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/StH1bx7fpKI/AAAAAAAAAR0/CUZmrIKZv10/s1600-h/expo+harm.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://2.bp.blogspot.com/_OIl5sflR298/StH1bx7fpKI/AAAAAAAAAR0/CUZmrIKZv10/s320/expo+harm.bmp" alt="" id="BLOGGER_PHOTO_ID_5391360086547342498" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/StH1brZQFAI/AAAAAAAAARs/fggiwQfSErk/s1600-h/expo.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://2.bp.blogspot.com/_OIl5sflR298/StH1brZQFAI/AAAAAAAAARs/fggiwQfSErk/s320/expo.bmp" alt="" id="BLOGGER_PHOTO_ID_5391360084793103362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/StH00Op71OI/AAAAAAAAARk/a-U7QbRohjs/s1600-h/gamm+arith.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://3.bp.blogspot.com/_OIl5sflR298/StH00Op71OI/AAAAAAAAARk/a-U7QbRohjs/s320/gamm+arith.bmp" alt="" id="BLOGGER_PHOTO_ID_5391359407063553250" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/StH0z9IBOII/AAAAAAAAARc/nnEE4-yGhcQ/s1600-h/gamm+contra.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StH0z9IBOII/AAAAAAAAARc/nnEE4-yGhcQ/s320/gamm+contra.bmp" alt="" id="BLOGGER_PHOTO_ID_5391359402357897346" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/StH0zXZKaXI/AAAAAAAAARU/kwEwBPIqLbo/s1600-h/gamm+geo.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://3.bp.blogspot.com/_OIl5sflR298/StH0zXZKaXI/AAAAAAAAARU/kwEwBPIqLbo/s320/gamm+geo.bmp" alt="" id="BLOGGER_PHOTO_ID_5391359392229255538" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/StH0zDtAVCI/AAAAAAAAARM/6V0GkCWvvcQ/s1600-h/gamm+harm.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StH0zDtAVCI/AAAAAAAAARM/6V0GkCWvvcQ/s320/gamm+harm.bmp" alt="" id="BLOGGER_PHOTO_ID_5391359386943771682" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/StH0yneZadI/AAAAAAAAARE/MeIagOfLpJ0/s1600-h/gamma.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://3.bp.blogspot.com/_OIl5sflR298/StH0yneZadI/AAAAAAAAARE/MeIagOfLpJ0/s320/gamma.bmp" alt="" id="BLOGGER_PHOTO_ID_5391359379366308306" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/StH0M75BMgI/AAAAAAAAAQ8/kyYFGmh5s2U/s1600-h/gauss+arith.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StH0M75BMgI/AAAAAAAAAQ8/kyYFGmh5s2U/s320/gauss+arith.bmp" alt="" id="BLOGGER_PHOTO_ID_5391358732011647490" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/StH0Mgff7HI/AAAAAAAAAQ0/F--W4Pmi2lM/s1600-h/gauss+contra.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://1.bp.blogspot.com/_OIl5sflR298/StH0Mgff7HI/AAAAAAAAAQ0/F--W4Pmi2lM/s320/gauss+contra.bmp" alt="" id="BLOGGER_PHOTO_ID_5391358724656852082" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/StH0Mc4mT0I/AAAAAAAAAQs/0ev15GGKADY/s1600-h/gauss+geo.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://3.bp.blogspot.com/_OIl5sflR298/StH0Mc4mT0I/AAAAAAAAAQs/0ev15GGKADY/s320/gauss+geo.bmp" alt="" id="BLOGGER_PHOTO_ID_5391358723688386370" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/StH0L3Lp4kI/AAAAAAAAAQk/GEjEatqv4xk/s1600-h/gauss+harm.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StH0L3Lp4kI/AAAAAAAAAQk/GEjEatqv4xk/s320/gauss+harm.bmp" alt="" id="BLOGGER_PHOTO_ID_5391358713567765058" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/StH0LlqXx-I/AAAAAAAAAQc/RHqavXZ-JoU/s1600-h/gauss.bmp"&gt;&lt;img style="cursor: pointer; width: 70px; height: 70px;" src="http://1.bp.blogspot.com/_OIl5sflR298/StH0LlqXx-I/AAAAAAAAAQc/RHqavXZ-JoU/s320/gauss.bmp" alt="" id="BLOGGER_PHOTO_ID_5391358708864763874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;"&gt;From top to bottom:&lt;br /&gt;salt and pepper / uniform / exponential / gamma / gaussian&lt;br /&gt;From left to right:&lt;br /&gt;arithmetic / contraharmonic / geometric / harmonic / noise only&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;The images get darker/brighter because I normalized them after adding the noise. For most types of noise, the arithmetic restoration yields the best results. Also, the other methods which rely on multiplication fail at places where the noise peak.&lt;br /&gt;&lt;br /&gt;I give myself 8/10 because i wasn't able to implement the Rayleigh noise.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6132808487427556949-1088535128150066206?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/1088535128150066206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/10/activity-18-noise-model-and-basic-image.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/1088535128150066206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/1088535128150066206'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/10/activity-18-noise-model-and-basic-image.html' title='Activity 18: Noise model and basic image restoration'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OIl5sflR298/StH47o0mbSI/AAAAAAAAATk/7l8L8lnaOfs/s72-c/testpat.bmp' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-6972176834276431864</id><published>2009-10-11T07:09:00.000-07:00</published><updated>2009-10-11T07:19:56.536-07:00</updated><title type='text'>Activity 17: Photometric stereo</title><content type='html'>In this activity we reconstructed a 3d object using image data taken from multiple angles. The source images were already given to us and so all we had to do was to write the code to implement the equations. I came up with the following shape:&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/StHn2V_v0uI/AAAAAAAAAQU/C9bf6W4Pe8I/s1600-h/3dplot.bmp"&gt;&lt;img style="cursor: pointer; width: 320px; height: 242px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StHn2V_v0uI/AAAAAAAAAQU/C9bf6W4Pe8I/s320/3dplot.bmp" alt="" id="BLOGGER_PHOTO_ID_5391345149742666466" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;I give myself a 10/10 because I successfully constructed the 3d object.&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/6132808487427556949-6972176834276431864?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/6972176834276431864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/10/activity-17-photometric-stereo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/6972176834276431864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/6972176834276431864'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/10/activity-17-photometric-stereo.html' title='Activity 17: Photometric stereo'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OIl5sflR298/StHn2V_v0uI/AAAAAAAAAQU/C9bf6W4Pe8I/s72-c/3dplot.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-4857402105096726950</id><published>2009-10-11T06:54:00.000-07:00</published><updated>2009-10-11T08:02:40.173-07:00</updated><title type='text'>Activity 15: Probabilistic Classification</title><content type='html'>This activity is an extension of activity 14. It uses LDA instead of just taking the euclidian distance in feature space. I used the same photos and features as in activity 14 but i only made use of two classes: leaf 1 and leaf 2. I simply followed the outlined LDA procedure in the link attached with the protocol and my program was able to distinguish between the two leaves for all of 4 test objects.&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/_OIl5sflR298/StHmHDCpm7I/AAAAAAAAAQE/MttHG6_ybDw/s1600-h/4.JPG"&gt;&lt;img style="cursor: pointer; width: 42px; height: 30px;" src="http://1.bp.blogspot.com/_OIl5sflR298/StHmHDCpm7I/AAAAAAAAAQE/MttHG6_ybDw/s320/4.JPG" alt="" id="BLOGGER_PHOTO_ID_5391343237689088946" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/StHmHRcfQAI/AAAAAAAAAQM/TedQa__UeTc/s1600-h/8.JPG"&gt;&lt;img style="cursor: pointer; width: 57px; height: 30px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StHmHRcfQAI/AAAAAAAAAQM/TedQa__UeTc/s320/8.JPG" alt="" id="BLOGGER_PHOTO_ID_5391343241555558402" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Classes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;pre&gt;f1 =&lt;br /&gt;- 1.3203592&lt;br /&gt;  12.37927&lt;br /&gt;  36.708249&lt;br /&gt;  27.447476&lt;br /&gt;&lt;br /&gt;f2 =&lt;br /&gt;- 2.9090572&lt;br /&gt;  10.544618&lt;br /&gt;  38.737733&lt;br /&gt;  29.893865&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;Results&lt;/span&gt;: &lt;span style="font-style: italic;"&gt;first two values correspond to leaf 1, last two correspond to leaf 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;I give myself a 10/10 since I was able to implement the outlined procedure and the features I chose proved to be valid for the given set of objects.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&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/6132808487427556949-4857402105096726950?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/4857402105096726950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/10/activity-15.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/4857402105096726950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/4857402105096726950'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/10/activity-15.html' title='Activity 15: Probabilistic Classification'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OIl5sflR298/StHmHDCpm7I/AAAAAAAAAQE/MttHG6_ybDw/s72-c/4.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-3902283802236564493</id><published>2009-10-11T06:11:00.000-07:00</published><updated>2009-10-11T06:53:11.477-07:00</updated><title type='text'>Activity 14: Pattern Recognition</title><content type='html'>In this activity we attempted automated classification. We first extracted the mean features of each class. We then classified test objects by finding the class nearest the object in feature space. I used 4 classes:&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/_OIl5sflR298/StHgzxE2sYI/AAAAAAAAAP8/Jxenxstyd3U/s1600-h/4.JPG"&gt;&lt;img style="cursor: pointer; width: 65px; height: 46px;" src="http://1.bp.blogspot.com/_OIl5sflR298/StHgzxE2sYI/AAAAAAAAAP8/Jxenxstyd3U/s320/4.JPG" alt="" id="BLOGGER_PHOTO_ID_5391337408890843522" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/StHaJfBGl-I/AAAAAAAAAP0/pnO_EBXOxnw/s1600-h/7.JPG"&gt;&lt;img style="cursor: pointer; width: 116px; height: 46px;" src="http://3.bp.blogspot.com/_OIl5sflR298/StHaJfBGl-I/AAAAAAAAAP0/pnO_EBXOxnw/s320/7.JPG" alt="" id="BLOGGER_PHOTO_ID_5391330085418997730" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/StHaJPKBhNI/AAAAAAAAAPs/w43HksVSUog/s1600-h/6.JPG"&gt;&lt;img style="cursor: pointer; width: 46px; height: 46px;" src="http://1.bp.blogspot.com/_OIl5sflR298/StHaJPKBhNI/AAAAAAAAAPs/w43HksVSUog/s320/6.JPG" alt="" id="BLOGGER_PHOTO_ID_5391330081161446610" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/StHaITMvtmI/AAAAAAAAAPc/zhnuYOJv5-4/s1600-h/2.JPG"&gt;&lt;img style="cursor: pointer; width: 46px; height: 46px;" src="http://4.bp.blogspot.com/_OIl5sflR298/StHaITMvtmI/AAAAAAAAAPc/zhnuYOJv5-4/s320/2.JPG" alt="" id="BLOGGER_PHOTO_ID_5391330065066735202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Classes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;leaf 1/leaf 2/25 centavos/flower&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;I used 4 features: mean red, mean green, mean blue and shape. To extract a single value for shape, I used the follow function to trace the perimeter of the object the took the ratio of its square to the area. This proved to be a valid measurement as it allowed the distinction between the two leaf classes. I used 5 objects per class to get the mean values and 2 objects per class for testing. My program was able to classify each test object (two tests per class) correctly.&lt;br /&gt;&lt;br /&gt;I give myself a 10/10 since I was able to create a program that could classify object based on both color and shape.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&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/6132808487427556949-3902283802236564493?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/3902283802236564493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/10/activity-14-pattern-recognition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/3902283802236564493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/3902283802236564493'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/10/activity-14-pattern-recognition.html' title='Activity 14: Pattern Recognition'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OIl5sflR298/StHgzxE2sYI/AAAAAAAAAP8/Jxenxstyd3U/s72-c/4.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-3927472892956654234</id><published>2009-08-06T13:30:00.000-07:00</published><updated>2009-08-06T13:56:12.648-07:00</updated><title type='text'>Activity 10: Preprocessing text</title><content type='html'>&lt;div style="text-align: justify;"&gt;In this activity we set out to clean up a scanned document to make it ready for handwriting recognition. Our main goals were to remove unecessary  details, i.e. table lines, and to binarize the result. I first rotated the image such that the horizontal lines were parallel to the x axis. I did this by making sure that the maxima of the FFT of the image formed a perfectly vertical line. I then removed the horizontal lines via a vertical mask over the FFT. I then binarized the image using the im2bw function and a threshold of .38.&lt;br /&gt;&lt;br /&gt;As an additional objective, we also sought to detect all occurences of the word "description". I did this using the correlation technique we used in activity 5.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;RESULTS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SntBaEPSljI/AAAAAAAAAOs/lSMMX7cmw3s/s1600-h/preproc3.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SntBaEPSljI/AAAAAAAAAOs/lSMMX7cmw3s/s320/preproc3.bmp" alt="" id="BLOGGER_PHOTO_ID_5366955297012356658" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SntBaTRRZ-I/AAAAAAAAAO0/T9BH1lbBygM/s1600-h/nolines.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SntBaTRRZ-I/AAAAAAAAAO0/T9BH1lbBygM/s320/nolines.bmp" alt="" id="BLOGGER_PHOTO_ID_5366955301047199714" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SntBav_rTEI/AAAAAAAAAO8/EqNyf8o0RX8/s1600-h/binary.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SntBav_rTEI/AAAAAAAAAO8/EqNyf8o0RX8/s320/binary.bmp" alt="" id="BLOGGER_PHOTO_ID_5366955308758027330" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Original image / horizontal lines removed / b&amp;amp;w&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SntBa0qo9-I/AAAAAAAAAPE/NWxmbQ1rUGE/s1600-h/description.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SntBa0qo9-I/AAAAAAAAAPE/NWxmbQ1rUGE/s320/description.bmp" alt="" id="BLOGGER_PHOTO_ID_5366955310011971554" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Basis for correlation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SntBbZs5SCI/AAAAAAAAAPM/Ltb1WK3iHd4/s1600-h/cor2.bmp"&gt;&lt;img style="cursor: pointer; width: 256px; height: 320px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SntBbZs5SCI/AAAAAAAAAPM/Ltb1WK3iHd4/s320/cor2.bmp" alt="" id="BLOGGER_PHOTO_ID_5366955319953541154" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Result of correlation&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;The removal of the horizontal lines was quite successful. Even though the regularity of the removal is apparent (sinusoidal erasure), it works when we convert the image to B&amp;amp;W. As for the correlation, it works quite well as long as you take only the maxima into account.&lt;br /&gt;&lt;br /&gt;For this activity I give myself an 8/10 since I wasn't able to take advantage of morphological operations in binarizing the image.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&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/6132808487427556949-3927472892956654234?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/3927472892956654234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.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/6132808487427556949/posts/default/3927472892956654234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/3927472892956654234'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/08/activity-10-preprocessing-text.html' title='Activity 10: Preprocessing text'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OIl5sflR298/SntBaEPSljI/AAAAAAAAAOs/lSMMX7cmw3s/s72-c/preproc3.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-5122101795318136742</id><published>2009-08-06T10:54:00.000-07:00</published><updated>2009-08-06T11:37:37.576-07:00</updated><title type='text'>Activity 12: Color image segmentation</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;For this activity we try to distinguish ROI's based on their color hues. By changing our color coordinates such that we separate value into an independent variable, we are left with a 2D color map that disregards brightness.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;With value aside we may now distinguish objects based on color alone.&lt;br /&gt;&lt;br /&gt;We achieved the actual differentiation via 2 ways: parametric and non-parametric. In the parametric method, we assume that the color distribution of our object is a Gaussian curve. It is parametric in that we may adjust the standard deviation of the spread to be more or less tolerant. In the non-parametric method, we use the objects actual color distribution and we use the resulting curve for back projection.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;RESULTS&lt;br /&gt;&lt;br /&gt;Original Image&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SnscpfMfaiI/AAAAAAAAAOk/QwJQ8QO9W9w/s1600-h/Helianthus_divaricatus_flowers.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 319px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SnscpfMfaiI/AAAAAAAAAOk/QwJQ8QO9W9w/s320/Helianthus_divaricatus_flowers.jpg" alt="" id="BLOGGER_PHOTO_ID_5366914880016181794" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-style: italic;"&gt;http://www.missouriplants.com/Yellowopp/Helianthus_divaricatus_flowers.jpg&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Parametric  approach&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SnscpHGwVmI/AAAAAAAAAOc/uhNfaAaPF4k/s1600-h/p.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 319px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SnscpHGwVmI/AAAAAAAAAOc/uhNfaAaPF4k/s320/p.jpg" alt="" id="BLOGGER_PHOTO_ID_5366914873549674082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Non-parametric approach&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SnscovlS5FI/AAAAAAAAAOU/KYOSlwu17NQ/s1600-h/np.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 319px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SnscovlS5FI/AAAAAAAAAOU/KYOSlwu17NQ/s320/np.jpg" alt="" id="BLOGGER_PHOTO_ID_5366914867235316818" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It seems that the assumption of a Gaussian distribution of colors results in the manifestation of the white noise on the ROI. This is probably a reflection of the normal distribution of noise on the original image. When we remove this assumption, we get a much more solid and accurate ROI since we use prior knowledge of the objects color distribution. I also observed in my peer's (Sison) work that this method is much more effective in differentiating adjacent colors (e.g. orange and red).&lt;br /&gt;&lt;br /&gt;I give myself a 10/10 because I was able to execute the procedure completely and efficiently.&lt;br /&gt;&lt;/div&gt;&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/6132808487427556949-5122101795318136742?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/5122101795318136742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.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/6132808487427556949/posts/default/5122101795318136742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/5122101795318136742'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/08/activity-12-color-image-segmentation.html' title='Activity 12: Color image segmentation'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OIl5sflR298/SnscpfMfaiI/AAAAAAAAAOk/QwJQ8QO9W9w/s72-c/Helianthus_divaricatus_flowers.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-4616034649388700755</id><published>2009-07-20T19:38:00.000-07:00</published><updated>2009-07-20T20:23:53.378-07:00</updated><title type='text'>Activity 8: Morphological Operations</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;In this activity we were tasked to explore the properties of dilation and erosion by applying the said operations on a square, a triangle, a circle, a hollow square and a cross. We are to perform the operations using each of the following: 1) 4x4 square, 2) 2x4 rectangle, 3) 4x2 rectangle, 4) a plus sign of width 1 and length 5. My results are listed below. They are arranged in order of the operators above.&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;br /&gt;DILATION&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SmUwKnnwewI/AAAAAAAAAOM/ELpLaSgiUEM/s1600-h/sd1.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SmUwKnnwewI/AAAAAAAAAOM/ELpLaSgiUEM/s320/sd1.bmp" alt="" id="BLOGGER_PHOTO_ID_5360743890447006466" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SmUwKRvFlGI/AAAAAAAAAOE/b_qvWzfDFLU/s1600-h/sd2.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SmUwKRvFlGI/AAAAAAAAAOE/b_qvWzfDFLU/s320/sd2.bmp" alt="" id="BLOGGER_PHOTO_ID_5360743884572169314" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUwKfKSkqI/AAAAAAAAAN8/fyVRDcIE1_8/s1600-h/sd3.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUwKfKSkqI/AAAAAAAAAN8/fyVRDcIE1_8/s320/sd3.bmp" alt="" id="BLOGGER_PHOTO_ID_5360743888175927970" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SmUwKORa8BI/AAAAAAAAAN0/83jcwjGEpkU/s1600-h/sd4.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SmUwKORa8BI/AAAAAAAAAN0/83jcwjGEpkU/s320/sd4.bmp" alt="" id="BLOGGER_PHOTO_ID_5360743883642433554" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SmUvehXCzdI/AAAAAAAAANM/iFU4qKL-KBM/s1600-h/td1.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SmUvehXCzdI/AAAAAAAAANM/iFU4qKL-KBM/s320/td1.bmp" alt="" id="BLOGGER_PHOTO_ID_5360743132852047314" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUveeLelsI/AAAAAAAAANE/BX-JAc2mc_4/s1600-h/td2.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUveeLelsI/AAAAAAAAANE/BX-JAc2mc_4/s320/td2.bmp" alt="" id="BLOGGER_PHOTO_ID_5360743131998230210" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SmUveIyxthI/AAAAAAAAAM8/Tfxetg9XAUI/s1600-h/td3.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SmUveIyxthI/AAAAAAAAAM8/Tfxetg9XAUI/s320/td3.bmp" alt="" id="BLOGGER_PHOTO_ID_5360743126257481234" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SmUveAmgoLI/AAAAAAAAAM0/XNzTJ2XFqVk/s1600-h/td4.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SmUveAmgoLI/AAAAAAAAAM0/XNzTJ2XFqVk/s320/td4.bmp" alt="" id="BLOGGER_PHOTO_ID_5360743124058546354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUvUj4N6II/AAAAAAAAAMs/6OgGy1LjOIE/s1600-h/cd1.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUvUj4N6II/AAAAAAAAAMs/6OgGy1LjOIE/s320/cd1.bmp" alt="" id="BLOGGER_PHOTO_ID_5360742961729366146" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SmUvUm9Ot3I/AAAAAAAAAMk/LOYkLjAMtNc/s1600-h/cd2.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SmUvUm9Ot3I/AAAAAAAAAMk/LOYkLjAMtNc/s320/cd2.bmp" alt="" id="BLOGGER_PHOTO_ID_5360742962555697010" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SmUvUedf6cI/AAAAAAAAAMc/4xJfxzyloF8/s1600-h/cd3.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SmUvUedf6cI/AAAAAAAAAMc/4xJfxzyloF8/s320/cd3.bmp" alt="" id="BLOGGER_PHOTO_ID_5360742960275122626" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SmUvUHnBRRI/AAAAAAAAAMU/1aPRX4Mfg3g/s1600-h/cd4.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SmUvUHnBRRI/AAAAAAAAAMU/1aPRX4Mfg3g/s320/cd4.bmp" alt="" id="BLOGGER_PHOTO_ID_5360742954141041938" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SmUvIZw847I/AAAAAAAAAMM/jDu6UwL_OFg/s1600-h/hd1.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SmUvIZw847I/AAAAAAAAAMM/jDu6UwL_OFg/s320/hd1.bmp" alt="" id="BLOGGER_PHOTO_ID_5360742752856105906" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUvIAi7VVI/AAAAAAAAAME/Vh32bR0Z3Mg/s1600-h/hd2.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUvIAi7VVI/AAAAAAAAAME/Vh32bR0Z3Mg/s320/hd2.bmp" alt="" id="BLOGGER_PHOTO_ID_5360742746086397266" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SmUvHw89_sI/AAAAAAAAAL8/VZTVZXnSgz4/s1600-h/hd3.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SmUvHw89_sI/AAAAAAAAAL8/VZTVZXnSgz4/s320/hd3.bmp" alt="" id="BLOGGER_PHOTO_ID_5360742741900656322" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SmUvHpogvqI/AAAAAAAAAL0/ZWd1r9xWcnM/s1600-h/hd4.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SmUvHpogvqI/AAAAAAAAAL0/ZWd1r9xWcnM/s320/hd4.bmp" alt="" id="BLOGGER_PHOTO_ID_5360742739935805090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SmUu5cFU_5I/AAAAAAAAALs/KxtOuOqW_Aw/s1600-h/pd1.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SmUu5cFU_5I/AAAAAAAAALs/KxtOuOqW_Aw/s320/pd1.bmp" alt="" id="BLOGGER_PHOTO_ID_5360742495780405138" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUu5f_egkI/AAAAAAAAALk/kux_TEVmrL8/s1600-h/pd2.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUu5f_egkI/AAAAAAAAALk/kux_TEVmrL8/s320/pd2.bmp" alt="" id="BLOGGER_PHOTO_ID_5360742496829604418" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SmUu5GpkRKI/AAAAAAAAALc/nuhrA-h5VZA/s1600-h/pd3.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SmUu5GpkRKI/AAAAAAAAALc/nuhrA-h5VZA/s320/pd3.bmp" alt="" id="BLOGGER_PHOTO_ID_5360742490026820770" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SmUu48i2dfI/AAAAAAAAALU/CKEA6agcKMQ/s1600-h/pd4.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SmUu48i2dfI/AAAAAAAAALU/CKEA6agcKMQ/s320/pd4.bmp" alt="" id="BLOGGER_PHOTO_ID_5360742487314298354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;EROSION&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SmUr5mTfEAI/AAAAAAAAALM/jyETvirROTo/s1600-h/se1.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SmUr5mTfEAI/AAAAAAAAALM/jyETvirROTo/s320/se1.bmp" alt="" id="BLOGGER_PHOTO_ID_5360739199989256194" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUr5aN2wxI/AAAAAAAAALE/nHfwpH0kZjU/s1600-h/se2.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUr5aN2wxI/AAAAAAAAALE/nHfwpH0kZjU/s320/se2.bmp" alt="" id="BLOGGER_PHOTO_ID_5360739196744418066" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SmUr5Z8hoBI/AAAAAAAAAK8/cZPdI_fRzbQ/s1600-h/se3.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SmUr5Z8hoBI/AAAAAAAAAK8/cZPdI_fRzbQ/s320/se3.bmp" alt="" id="BLOGGER_PHOTO_ID_5360739196671729682" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SmUr5NritaI/AAAAAAAAAK0/UrPgxpocyFk/s1600-h/se4.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SmUr5NritaI/AAAAAAAAAK0/UrPgxpocyFk/s320/se4.bmp" alt="" id="BLOGGER_PHOTO_ID_5360739193379272098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUruaCa2oI/AAAAAAAAAKs/l5pIrQtZFUU/s1600-h/te1.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUruaCa2oI/AAAAAAAAAKs/l5pIrQtZFUU/s320/te1.bmp" alt="" id="BLOGGER_PHOTO_ID_5360739007717890690" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUruXd-MGI/AAAAAAAAAKk/QJ8Ie2el9z8/s1600-h/te2.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUruXd-MGI/AAAAAAAAAKk/QJ8Ie2el9z8/s320/te2.bmp" alt="" id="BLOGGER_PHOTO_ID_5360739007028146274" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SmUruIzUdTI/AAAAAAAAAKc/50-JkqR-jbA/s1600-h/te3.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SmUruIzUdTI/AAAAAAAAAKc/50-JkqR-jbA/s320/te3.bmp" alt="" id="BLOGGER_PHOTO_ID_5360739003091154226" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUrt1_kICI/AAAAAAAAAKU/thZWJxzR0Sc/s1600-h/te4.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUrt1_kICI/AAAAAAAAAKU/thZWJxzR0Sc/s320/te4.bmp" alt="" id="BLOGGER_PHOTO_ID_5360738998042239010" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SmUrgipMWdI/AAAAAAAAAKM/3MCjGzo0a_w/s1600-h/ce1.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SmUrgipMWdI/AAAAAAAAAKM/3MCjGzo0a_w/s320/ce1.bmp" alt="" id="BLOGGER_PHOTO_ID_5360738769509833170" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUrgWF2xWI/AAAAAAAAAKE/yM-rWC7oHso/s1600-h/ce2.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUrgWF2xWI/AAAAAAAAAKE/yM-rWC7oHso/s320/ce2.bmp" alt="" id="BLOGGER_PHOTO_ID_5360738766140392802" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUrgGCvlJI/AAAAAAAAAJ8/NDlhGKx6lzg/s1600-h/ce3.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUrgGCvlJI/AAAAAAAAAJ8/NDlhGKx6lzg/s320/ce3.bmp" alt="" id="BLOGGER_PHOTO_ID_5360738761832371346" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SmUrgErQbNI/AAAAAAAAAJ0/sCtoHQ6GuQM/s1600-h/ce4.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SmUrgErQbNI/AAAAAAAAAJ0/sCtoHQ6GuQM/s320/ce4.bmp" alt="" id="BLOGGER_PHOTO_ID_5360738761465425106" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUrRybkOvI/AAAAAAAAAJs/eu0henIOV2I/s1600-h/he1.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUrRybkOvI/AAAAAAAAAJs/eu0henIOV2I/s320/he1.bmp" alt="" id="BLOGGER_PHOTO_ID_5360738516049607410" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUrRpENjsI/AAAAAAAAAJk/Orgs99JcINM/s1600-h/he2.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUrRpENjsI/AAAAAAAAAJk/Orgs99JcINM/s320/he2.bmp" alt="" id="BLOGGER_PHOTO_ID_5360738513535733442" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SmUrReadFBI/AAAAAAAAAJc/mnpuSfXHCP4/s1600-h/he3.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SmUrReadFBI/AAAAAAAAAJc/mnpuSfXHCP4/s320/he3.bmp" alt="" id="BLOGGER_PHOTO_ID_5360738510676235282" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SmUrRLJ6LdI/AAAAAAAAAJU/pkgU6hRy8KY/s1600-h/he4.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SmUrRLJ6LdI/AAAAAAAAAJU/pkgU6hRy8KY/s320/he4.bmp" alt="" id="BLOGGER_PHOTO_ID_5360738505506565586" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SmUqvUCaRiI/AAAAAAAAAJM/ZMTTxA0TexM/s1600-h/pe1.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SmUqvUCaRiI/AAAAAAAAAJM/ZMTTxA0TexM/s320/pe1.bmp" alt="" id="BLOGGER_PHOTO_ID_5360737923775481378" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SmUqvCUMuVI/AAAAAAAAAJE/onVhn4Kjy50/s1600-h/pe2.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SmUqvCUMuVI/AAAAAAAAAJE/onVhn4Kjy50/s320/pe2.bmp" alt="" id="BLOGGER_PHOTO_ID_5360737919018252626" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SmUquyhNiYI/AAAAAAAAAI8/QTUbM4SO_Vw/s1600-h/pe3.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SmUquyhNiYI/AAAAAAAAAI8/QTUbM4SO_Vw/s320/pe3.bmp" alt="" id="BLOGGER_PHOTO_ID_5360737914777864578" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SmUqu8khLtI/AAAAAAAAAI0/DwN2g6naXkA/s1600-h/pe4.bmp"&gt;&lt;img style="cursor: pointer; width: 90px; height: 90px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SmUqu8khLtI/AAAAAAAAAI0/DwN2g6naXkA/s320/pe4.bmp" alt="" id="BLOGGER_PHOTO_ID_5360737917476089554" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;My predictions for the dilations were spot on except for the triangle dilated with a plus sign. I forgot to note that the bottom side should have manifested the plus sign as square 'clips'. As for the erosions, I was correct for all except the hollow squares. I thought the widths of the operators would have been enough to completely erode the corresponding edges. it seems however that except for the last case (the plus sign operator), thin lines still remained.&lt;br /&gt;&lt;br /&gt;I give myself a grade of 9/10 because I was able to execute the procedure completely. My predictions were a bit off hence the -1.&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/6132808487427556949-4616034649388700755?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/4616034649388700755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.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/6132808487427556949/posts/default/4616034649388700755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/4616034649388700755'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/07/activity-8-morphological-operations.html' title='Activity 8: Morphological Operations'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OIl5sflR298/SmUwKnnwewI/AAAAAAAAAOM/ELpLaSgiUEM/s72-c/sd1.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-7719234417670815365</id><published>2009-07-08T18:48:00.001-07:00</published><updated>2009-07-08T19:47:51.313-07:00</updated><title type='text'>Activity 6: Properties of the 2D Fourier Transform</title><content type='html'>We seek to understand the properties of the 2D Fourier Transform by applying it to several test cases. Below are the results I've gathered:&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ORIGINAL / FFT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SlVMuLlECHI/AAAAAAAAAFk/L5p6Qi6iXHk/s1600-h/square.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SlVMuLlECHI/AAAAAAAAAFk/L5p6Qi6iXHk/s320/square.bmp" alt="" id="BLOGGER_PHOTO_ID_5356271688093010034" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SlVMvMFroeI/AAAAAAAAAFs/quyGneVUogs/s1600-h/1.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlVMvMFroeI/AAAAAAAAAFs/quyGneVUogs/s320/1.bmp" alt="" id="BLOGGER_PHOTO_ID_5356271705409692130" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SlVMwZlPMmI/AAAAAAAAAF0/ozoNLR-4Cg8/s1600-h/squarean.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SlVMwZlPMmI/AAAAAAAAAF0/ozoNLR-4Cg8/s320/squarean.bmp" alt="" id="BLOGGER_PHOTO_ID_5356271726211576418" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlVMw-xb30I/AAAAAAAAAF8/9mHmjgmMqEc/s1600-h/2.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlVMw-xb30I/AAAAAAAAAF8/9mHmjgmMqEc/s320/2.bmp" alt="" id="BLOGGER_PHOTO_ID_5356271736194850626" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SlVMxbSPtpI/AAAAAAAAAGE/-SUY634DpDY/s1600-h/donut.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SlVMxbSPtpI/AAAAAAAAAGE/-SUY634DpDY/s320/donut.bmp" alt="" id="BLOGGER_PHOTO_ID_5356271743848658578" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlVND767j8I/AAAAAAAAAGM/WNhgdgTfpNY/s1600-h/3.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlVND767j8I/AAAAAAAAAGM/WNhgdgTfpNY/s320/3.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272061846884290" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SlVNEibepVI/AAAAAAAAAGU/hiJ0iuGCMBY/s1600-h/slits.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SlVNEibepVI/AAAAAAAAAGU/hiJ0iuGCMBY/s320/slits.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272072183948626" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SlVNE55FLEI/AAAAAAAAAGc/6jNbLdUCjv8/s1600-h/4.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SlVNE55FLEI/AAAAAAAAAGc/6jNbLdUCjv8/s320/4.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272078482123842" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SlVNFAAv7oI/AAAAAAAAAGk/tV0ayUxqLj0/s1600-h/dots.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlVNFAAv7oI/AAAAAAAAAGk/tV0ayUxqLj0/s320/dots.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272080124898946" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SlVNFiXBkyI/AAAAAAAAAGs/m6fdJG9F1ns/s1600-h/5.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlVNFiXBkyI/AAAAAAAAAGs/m6fdJG9F1ns/s320/5.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272089345135394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;square / square annulus / donut / slits / dots&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SlVNW9AkhSI/AAAAAAAAAHU/22gFGgnSPYE/s1600-h/8a.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlVNW9AkhSI/AAAAAAAAAHU/22gFGgnSPYE/s320/8a.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272388556490018" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlVNj7Z3AqI/AAAAAAAAAHc/oE5BTKTs1AA/s1600-h/8.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlVNj7Z3AqI/AAAAAAAAAHc/oE5BTKTs1AA/s320/8.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272611463987874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SlVNWdvk0KI/AAAAAAAAAHE/kkpDxqtwSCQ/s1600-h/7a.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SlVNWdvk0KI/AAAAAAAAAHE/kkpDxqtwSCQ/s320/7a.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272380163707042" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SlVNWsdVteI/AAAAAAAAAHM/LrpQwBd8Oe8/s1600-h/7.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlVNWsdVteI/AAAAAAAAAHM/LrpQwBd8Oe8/s320/7.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272384113751522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SlVNVyLK4aI/AAAAAAAAAG0/K-LLn5lD-9M/s1600-h/6a.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SlVNVyLK4aI/AAAAAAAAAG0/K-LLn5lD-9M/s320/6a.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272368468287906" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SlVNWJ18s_I/AAAAAAAAAG8/VcuG1w3QuYA/s1600-h/6.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SlVNWJ18s_I/AAAAAAAAAG8/VcuG1w3QuYA/s320/6.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272374821729266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SlVNkNS_T-I/AAAAAAAAAHk/6jQ0GO8L4QA/s1600-h/9a.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlVNkNS_T-I/AAAAAAAAAHk/6jQ0GO8L4QA/s320/9a.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272616267010018" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlVNkRNlWYI/AAAAAAAAAHs/XqaGVcZBtkI/s1600-h/9.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlVNkRNlWYI/AAAAAAAAAHs/XqaGVcZBtkI/s320/9.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272617318078850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlVNktjssZI/AAAAAAAAAH0/zApZA3dDPyc/s1600-h/10a.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlVNktjssZI/AAAAAAAAAH0/zApZA3dDPyc/s320/10a.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272624927027602" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlVNk5nXRDI/AAAAAAAAAH8/yBKE1YCIHW0/s1600-h/10.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlVNk5nXRDI/AAAAAAAAAH8/yBKE1YCIHW0/s320/10.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272628163626034" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SlVNx8V2OXI/AAAAAAAAAIE/tx3EJ2dFjfU/s1600-h/11a.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SlVNx8V2OXI/AAAAAAAAAIE/tx3EJ2dFjfU/s320/11a.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272852233763186" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlVNyBaKjOI/AAAAAAAAAIM/PfTp_z9229I/s1600-h/11.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlVNyBaKjOI/AAAAAAAAAIM/PfTp_z9229I/s320/11.bmp" alt="" id="BLOGGER_PHOTO_ID_5356272853594049762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlVZpdMZnXI/AAAAAAAAAIk/EEvnruDwm30/s1600-h/12a.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlVZpdMZnXI/AAAAAAAAAIk/EEvnruDwm30/s320/12a.bmp" alt="" id="BLOGGER_PHOTO_ID_5356285900573220210" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SlVZpbEIr5I/AAAAAAAAAIs/ZwXOnAoXRF0/s1600-h/12.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SlVZpbEIr5I/AAAAAAAAAIs/ZwXOnAoXRF0/s320/12.bmp" alt="" id="BLOGGER_PHOTO_ID_5356285900001685394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;several cases of the sin function:&lt;br /&gt;3 vertical sin waves of decreasing frequencies /&lt;/span&gt;&lt;span style="font-style: italic;"&gt; biased / rotated / sum of sines in x and y / previous case + rotated sines&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Both the FT's of the square and the square annulus look like stars/crosses. They only differ in that the latter looks striped such that it jumps over some values. The symmetry of the FTs reflect the symmetry of the squares. The FT of a donut has a strong peak at the center and is surrounded by a symmetric pattern covering some circular area around it. This reflects the circular symmetry of the object. The FT of the slits looks like a vertical interference pattern at the center. It is as if we have recorded the interference pattern after ltting light pass through the slits. This is expected as the diffraction pattern we get from an aperature is the same its FT.&lt;br /&gt;&lt;br /&gt;The FT of the two dots look like the superposistion of two airy disks symmetrically off center. We already found in the previous experiment that the FT of a circle is an airy disk. It is expected then that the FT of two circles is simply a superposition of two airy disks.&lt;br /&gt;&lt;br /&gt;As the frequency of the sine wave decreases, the point corresponding to the frequency of the sine wave come closer to the center. As expected, the FT is symmetric along the X axis. Adding a bias simply adds a point at the center of the FT. Rotating the sine wave rotates the FT by the same angle. The last FT turned out as expected since it is simply a superposition of the previous FT's. It outlines a circle since we sum up rotations of the same frequencies. In addition, we still retain the four points from the previous FT.&lt;br /&gt;&lt;br /&gt;I give myself a grade of 9/10 because I was able to execute the procedure but I feel I could do better in interpreting the results.&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/6132808487427556949-7719234417670815365?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/7719234417670815365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/07/activity-6-properties-of-2d-fourier.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/7719234417670815365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/7719234417670815365'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/07/activity-6-properties-of-2d-fourier.html' title='Activity 6: Properties of the 2D Fourier Transform'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OIl5sflR298/SlVMuLlECHI/AAAAAAAAAFk/L5p6Qi6iXHk/s72-c/square.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-7868964839966378225</id><published>2009-07-06T19:39:00.000-07:00</published><updated>2009-07-06T20:12:41.047-07:00</updated><title type='text'>Activity 5: Fourier Transform and Correlation</title><content type='html'>In this activity, we explored the uses of FFT and correlation in image processing. We started by taking the FFT of a circle and a character just to see how the 2D FFT function works in Scilab. I got the following results:&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: center;"&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/_OIl5sflR298/SlK7SdUhbKI/AAAAAAAAAEk/P4DKa0_xGMI/s1600-h/circle.JPG"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlK7SdUhbKI/AAAAAAAAAEk/P4DKa0_xGMI/s320/circle.JPG" alt="" id="BLOGGER_PHOTO_ID_5355548832679685282" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SlK2BxxTfDI/AAAAAAAAADc/8AUaIA_KN7k/s1600-h/2.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlK2BxxTfDI/AAAAAAAAADc/8AUaIA_KN7k/s320/2.bmp" alt="" id="BLOGGER_PHOTO_ID_5355543048553200690" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlK2CPVNJ2I/AAAAAAAAADk/yvKtVOZ7V9k/s1600-h/3.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlK2CPVNJ2I/AAAAAAAAADk/yvKtVOZ7V9k/s320/3.bmp" alt="" id="BLOGGER_PHOTO_ID_5355543056488408930" border="0" /&gt;&lt;/a&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://1.bp.blogspot.com/_OIl5sflR298/SlK7SlA6qFI/AAAAAAAAAEs/M0eqx1_6pNM/s1600-h/A.JPG"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SlK7SlA6qFI/AAAAAAAAAEs/M0eqx1_6pNM/s320/A.JPG" alt="" id="BLOGGER_PHOTO_ID_5355548834744936530" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SlK2CJiXKmI/AAAAAAAAADs/-tVaL3ql0TM/s1600-h/5.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SlK2CJiXKmI/AAAAAAAAADs/-tVaL3ql0TM/s320/5.bmp" alt="" id="BLOGGER_PHOTO_ID_5355543054932978274" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SlK2CZsalmI/AAAAAAAAAD0/-BI7Mg6urrc/s1600-h/6.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SlK2CZsalmI/AAAAAAAAAD0/-BI7Mg6urrc/s320/6.bmp" alt="" id="BLOGGER_PHOTO_ID_5355543059270112866" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;Original/FFT/double FFT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Top: Circle, Bottom: A&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;These results agree with the analytical expectation: we get an Airy disk for the circle and we inverse the image when the FFT is performed twice.&lt;br /&gt;&lt;br /&gt;We then used FFT to convolve an image of an aperature and an image to simulate the effect of an imaging device with limited aperature. I got the following result:&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/_OIl5sflR298/SlK7S81VDDI/AAAAAAAAAE8/oF4qtYBHW1Q/s1600-h/VIP.JPG"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SlK7S81VDDI/AAAAAAAAAE8/oF4qtYBHW1Q/s320/VIP.JPG" alt="" id="BLOGGER_PHOTO_ID_5355548841138785330" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SlK81la8R2I/AAAAAAAAAFc/Kz-fF8LAKbw/s1600-h/7e.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlK81la8R2I/AAAAAAAAAFc/Kz-fF8LAKbw/s320/7e.bmp" alt="" id="BLOGGER_PHOTO_ID_5355550535661143906" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SlK8QB4M_1I/AAAAAAAAAFU/-QAtCkm83NY/s1600-h/7d.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SlK8QB4M_1I/AAAAAAAAAFU/-QAtCkm83NY/s320/7d.bmp" alt="" id="BLOGGER_PHOTO_ID_5355549890465038162" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SlK2Cswa08I/AAAAAAAAAD8/v_pG2cYxCVY/s1600-h/7.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SlK2Cswa08I/AAAAAAAAAD8/v_pG2cYxCVY/s320/7.bmp" alt="" id="BLOGGER_PHOTO_ID_5355543064387179458" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlK8Pir36DI/AAAAAAAAAFE/_KOyMhoOCl8/s1600-h/7b.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlK8Pir36DI/AAAAAAAAAFE/_KOyMhoOCl8/s320/7b.bmp" alt="" id="BLOGGER_PHOTO_ID_5355549882091825202" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SlK8PypRvII/AAAAAAAAAFM/m-RlJxY-reY/s1600-h/7c.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SlK8PypRvII/AAAAAAAAAFM/m-RlJxY-reY/s320/7c.bmp" alt="" id="BLOGGER_PHOTO_ID_5355549886375902338" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;"&gt;Original image/ Convolution of "VIP" and circular aperature&lt;/span&gt;&lt;span style="font-style: italic;"&gt; of r=40/30/20/10/5&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;We get an image of the original object but it is now inverted and less resolved. Decreasing the aperature size causes the image to blur and gain artifacts which somehow resemble the shape of the aperature.&lt;br /&gt;&lt;br /&gt;Our next task was to use correlation to find a certain pattern in an image. In this case, we had an image of the line "THE RAIN IN SPAIN STAYS MAINLY IN THE PLAIN" and we had to look for the A's via correlation. Correlating the image and an image of the letter "A", I came up with the following result:&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/_OIl5sflR298/SlK7ShVc_tI/AAAAAAAAAE0/BL-vkG1UoTE/s1600-h/spain.JPG"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlK7ShVc_tI/AAAAAAAAAE0/BL-vkG1UoTE/s320/spain.JPG" alt="" id="BLOGGER_PHOTO_ID_5355548833757331154" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SlK2TjIc-HI/AAAAAAAAAEE/nfAVJ0zrjnE/s1600-h/8.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlK2TjIc-HI/AAAAAAAAAEE/nfAVJ0zrjnE/s320/8.bmp" alt="" id="BLOGGER_PHOTO_ID_5355543353861404786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Original image/Correlation of the image and pattern&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;We find that the peaks of the resulting image correspond to the posistions of the A's in the image thus verifying that the method was correct.&lt;br /&gt;&lt;br /&gt;Finally, we attempted to do edge detection by correlating small matrices of either a vertical line, a horizontal line, or a point with a given image. I came up with the following results:&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&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/_OIl5sflR298/SlK2UO4k4iI/AAAAAAAAAEU/T2DpNDaQsnQ/s1600-h/10.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SlK2UO4k4iI/AAAAAAAAAEU/T2DpNDaQsnQ/s320/10.bmp" alt="" id="BLOGGER_PHOTO_ID_5355543365605974562" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlK2T8OK-VI/AAAAAAAAAEM/9bFsmKiPd_g/s1600-h/9.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlK2T8OK-VI/AAAAAAAAAEM/9bFsmKiPd_g/s320/9.bmp" alt="" id="BLOGGER_PHOTO_ID_5355543360596277586" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlK2UWsMAXI/AAAAAAAAAEc/-HuCQvcEqrQ/s1600-h/11.bmp"&gt;&lt;img style="cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlK2UWsMAXI/AAAAAAAAAEc/-HuCQvcEqrQ/s320/11.bmp" alt="" id="BLOGGER_PHOTO_ID_5355543367701496178" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Vertical/horizonal/point edge detection&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;We can see that the method worked as it highlighted only the parts which correspond to the types of edges being detected.&lt;br /&gt;&lt;br /&gt;For this activity I give myself a 10/10 because I was able to complete the tasks completely and efficiently.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6132808487427556949-7868964839966378225?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/7868964839966378225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/07/activity-5-fourier-transform-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/7868964839966378225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/7868964839966378225'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/07/activity-5-fourier-transform-and.html' title='Activity 5: Fourier Transform and Correlation'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_OIl5sflR298/SlK7SdUhbKI/AAAAAAAAAEk/P4DKa0_xGMI/s72-c/circle.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-3959981971174198894</id><published>2009-07-05T07:33:00.000-07:00</published><updated>2009-07-05T07:55:31.947-07:00</updated><title type='text'>Activity 4</title><content type='html'>In this activity we were tasked to change the improve the contrast of a grayscale image by tweaking it such that its CDF is converted to some desired curve. To do this we took the CDF of the original image then matched the pixel values with the same value on the original CDF and desired. We then edited the image such that every pixel with a given pixel value on the original image is replaced with its matched pixel value from the desired CDF. Here are my results:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;BEFORE:&lt;/span&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/_OIl5sflR298/SlC7xzMkgDI/AAAAAAAAACE/RVfcuYC3v_4/s1600-h/gs.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 250px; height: 250px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlC7xzMkgDI/AAAAAAAAACE/RVfcuYC3v_4/s320/gs.jpg" alt="" id="BLOGGER_PHOTO_ID_5354986421174435890" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;original image&lt;/span&gt; &lt;span style="font-style: italic;"&gt;250x250 grayscale&lt;/span&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://1.bp.blogspot.com/_OIl5sflR298/SlC7yZYNA0I/AAAAAAAAACU/uAZtnGsjhPw/s1600-h/frequency.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 242px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SlC7yZYNA0I/AAAAAAAAACU/uAZtnGsjhPw/s320/frequency.bmp" alt="" id="BLOGGER_PHOTO_ID_5354986431423775554" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;original PDF&lt;/span&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/_OIl5sflR298/SlC7yyJJN6I/AAAAAAAAACk/CsllfVSe3sM/s1600-h/cfrequency.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 242px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlC7yyJJN6I/AAAAAAAAACk/CsllfVSe3sM/s320/cfrequency.bmp" alt="" id="BLOGGER_PHOTO_ID_5354986438071498658" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;original CDF&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;AFTER:&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SlC7yKvn3oI/AAAAAAAAACM/XbLAjWhtvRQ/s1600-h/gs2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 250px; height: 250px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SlC7yKvn3oI/AAAAAAAAACM/XbLAjWhtvRQ/s320/gs2.jpg" alt="" id="BLOGGER_PHOTO_ID_5354986427495472770" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;resulting image&lt;/span&gt;  &lt;span style="font-style: italic;"&gt;250x250 grayscale&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SlC7yresirI/AAAAAAAAACc/QxQBpOIGkWc/s1600-h/frequency2.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 242px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SlC7yresirI/AAAAAAAAACc/QxQBpOIGkWc/s320/frequency2.bmp" alt="" id="BLOGGER_PHOTO_ID_5354986436282845874" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;resulting PDF&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OIl5sflR298/SlC9APUQGLI/AAAAAAAAACs/-jJZxyUL-go/s1600-h/cfrequency2.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 242px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SlC9APUQGLI/AAAAAAAAACs/-jJZxyUL-go/s320/cfrequency2.bmp" alt="" id="BLOGGER_PHOTO_ID_5354987768752642226" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;resulting CDF&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;The resulting image had much better contrast. The details of the petals and the background are now much more easily distinguishable. The resulting CDF is quite close to the desired (linear). The few kinks on th curve are probably a result of the limitations of histograms. Since histogram values are discrete it is possible that some values on the original CDF dont have corresponding values on a desired CDF. I give myself a 9/10 for this activity because I was able to execute the procedure properly yet I believe that there is room for improvement in the method such that the resulting CDF may be exact.&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/6132808487427556949-3959981971174198894?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/3959981971174198894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/07/activity-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/3959981971174198894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/3959981971174198894'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/07/activity-4.html' title='Activity 4'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OIl5sflR298/SlC7xzMkgDI/AAAAAAAAACE/RVfcuYC3v_4/s72-c/gs.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-7557466399163137542</id><published>2009-06-24T19:48:00.000-07:00</published><updated>2009-06-24T20:22:25.296-07:00</updated><title type='text'>Activity 2: Area estimation for images with defined edges</title><content type='html'>In this activity we set out to determine the area of an ROI in a binary image by first tracing its contour then using Green's theorem to calculate the area enclosed. To prepare the image for processing, I first had to convert the image to a binary matrix using the im2bw function. I then used the follow function to trace the ROI's contour. I then implemented the discrete form of green's theorem to finally come up with the area.&lt;br /&gt;&lt;br /&gt;After preliminary results Ifound that the area we would calculate was always lacking by half of the contours length. I speculated that the follow function traced the inner contour of the ROI, thus decreasing the area enclosed by some value. M. Sison proposed that to correct the calculated area, we simply add half the length of the contour. After testing the method over various shapes, both regular and irregular, we found the the proposed correction was indeed valid.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Sample Results&lt;/span&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/_OIl5sflR298/SkLqweZIkiI/AAAAAAAAABs/N5ZSjP_mJ98/s1600-h/bw.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 256px; height: 256px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SkLqweZIkiI/AAAAAAAAABs/N5ZSjP_mJ98/s320/bw.JPG" alt="" id="BLOGGER_PHOTO_ID_5351097425782673954" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;Shape 1: 200 x 200 Square&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;Analytical: 40000 pixels&lt;br /&gt;Pixel count: 40000 pixels&lt;br /&gt;Program: Analytical: 40000 pixels&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SkLrONVcMjI/AAAAAAAAAB0/UxhJ-xbYZlc/s1600-h/shape3.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 256px; height: 256px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SkLrONVcMjI/AAAAAAAAAB0/UxhJ-xbYZlc/s320/shape3.JPG" alt="" id="BLOGGER_PHOTO_ID_5351097936599855666" border="0" /&gt;&lt;/a&gt;&lt;/div&gt; &lt;span style="font-style: italic;"&gt;Shape 2: Robot&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;Analytical: 32071 pixels&lt;br /&gt;Pixel count: 32701 pixels&lt;br /&gt;Program: 32071 pixels&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SkLr8jhTlkI/AAAAAAAAAB8/dEYfoo2J7G4/s1600-h/shape3.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 256px; height: 256px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SkLr8jhTlkI/AAAAAAAAAB8/dEYfoo2J7G4/s320/shape3.JPG" alt="" id="BLOGGER_PHOTO_ID_5351098732829185602" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;Shape 3: Irregular&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Analytical: N/A&lt;br /&gt;Pixel count:  26526 pixels&lt;br /&gt;Program:  26526 pixels&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;For this experiment, I give myself a score of 10/10 because I was able to implement the method properly and the results attest to the accuracy of the program.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&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/6132808487427556949-7557466399163137542?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/7557466399163137542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/06/activity-2-area-estimation-for-images.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/7557466399163137542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/7557466399163137542'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/06/activity-2-area-estimation-for-images.html' title='Activity 2: Area estimation for images with defined edges'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OIl5sflR298/SkLqweZIkiI/AAAAAAAAABs/N5ZSjP_mJ98/s72-c/bw.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-6492657048640777979</id><published>2009-06-22T20:15:00.001-07:00</published><updated>2009-06-22T20:22:08.607-07:00</updated><title type='text'>Activity 3: Histogram and Thresholding</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Shape&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OIl5sflR298/SkBI4ISPBRI/AAAAAAAAABk/sKRNenLa6Vg/s1600-h/shape2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 256px; height: 256px;" src="http://2.bp.blogspot.com/_OIl5sflR298/SkBI4ISPBRI/AAAAAAAAABk/sKRNenLa6Vg/s320/shape2.jpg" alt="" id="BLOGGER_PHOTO_ID_5350356486449988882" border="0" /&gt;&lt;/a&gt;256x256 robot saved as JPEG&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Histogram&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SkBI39q32VI/AAAAAAAAABc/ZQMlXzsnCak/s1600-h/histogram.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 177px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SkBI39q32VI/AAAAAAAAABc/ZQMlXzsnCak/s320/histogram.jpg" alt="" id="BLOGGER_PHOTO_ID_5350356483600537938" border="0" /&gt;&lt;/a&gt;The histogram shows that the image's values are concentrated towards the 0 and 255 areas corresponding to black and white respectively. We may say the ROI and background are well separated since each corresponds to one of the narrow peaks of the histogram.&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/6132808487427556949-6492657048640777979?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/6492657048640777979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/06/activity-3-histogram-and-thresholding.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/6492657048640777979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/6492657048640777979'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/06/activity-3-histogram-and-thresholding.html' title='Activity 3: Histogram and Thresholding'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OIl5sflR298/SkBI4ISPBRI/AAAAAAAAABk/sKRNenLa6Vg/s72-c/shape2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-3754463970983444153</id><published>2009-06-22T18:27:00.000-07:00</published><updated>2009-06-22T20:08:09.438-07:00</updated><title type='text'>Activity 3: ImageTypes</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;b&gt;Indexed / Graphics Interchange Format (&lt;/b&gt;&lt;span style="font-weight: bold;"&gt;GIF)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SkAv3182ctI/AAAAAAAAAAs/WJZUMh25AiQ/s1600-h/telr.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 292px; height: 320px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SkAv3182ctI/AAAAAAAAAAs/WJZUMh25AiQ/s320/telr.gif" alt="" id="BLOGGER_PHOTO_ID_5350328993737765586" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;SRC: http://www.hobby-hour.com/guitar/fender_telecaster1.gif&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;GIF's are indexed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;BINARY / BITMAP (BMP)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OIl5sflR298/SkBCdeiIRqI/AAAAAAAAABM/Em0v3M338vE/s1600-h/monochrm.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_OIl5sflR298/SkBCdeiIRqI/AAAAAAAAABM/Em0v3M338vE/s320/monochrm.bmp" alt="" id="BLOGGER_PHOTO_ID_5350349431496001186" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-style: italic;"&gt;SRC :http://www.rainbarrel.com/monochrm.bmp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;Checking the image properties will reveal that the image has a 1-bit bit depth (0 and 1).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;True Color / Joint Photographic Experts Group (JPG)&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OIl5sflR298/SkAv3lE0-uI/AAAAAAAAAAc/56LPLI0MQVA/s1600-h/strat.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 103px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SkAv3lE0-uI/AAAAAAAAAAc/56LPLI0MQVA/s320/strat.jpg" alt="" id="BLOGGER_PHOTO_ID_5350328989207821026" border="0" /&gt;&lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;SRC: http://www.penmachine.com/musicpages/musicimages/fender_strat_hardtail.jpg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;Checking the image properties will reveal that the image has a 24-bit bit depth (256 values for each of the 3 colors).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Grayscale / &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Joint Photographic Experts Group &lt;/span&gt;&lt;span style="font-weight: bold;"&gt; (JPG)&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&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://1.bp.blogspot.com/_OIl5sflR298/SkBD7_rnD0I/AAAAAAAAABU/uRJS_Hz6iIY/s1600-h/RonCarter2_300grayscale.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 318px;" src="http://1.bp.blogspot.com/_OIl5sflR298/SkBD7_rnD0I/AAAAAAAAABU/uRJS_Hz6iIY/s320/RonCarter2_300grayscale.jpg" alt="" id="BLOGGER_PHOTO_ID_5350351055301840706" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;SRC: http://press.roncarter.net/RonCarter2_300grayscale.jpg&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;Checking the image properties will reveal that the image has an 8-bit bit depth (256 values from white to black).&lt;/span&gt;&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/6132808487427556949-3754463970983444153?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/3754463970983444153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/06/file-types.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/3754463970983444153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/3754463970983444153'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/06/file-types.html' title='Activity 3: ImageTypes'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OIl5sflR298/SkAv3182ctI/AAAAAAAAAAs/WJZUMh25AiQ/s72-c/telr.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6132808487427556949.post-6050129979860384985</id><published>2009-06-17T19:55:00.000-07:00</published><updated>2009-06-17T20:23:54.398-07:00</updated><title type='text'>Activity 1: DIgital Scanning</title><content type='html'>&lt;div style="text-align: justify;"&gt;For this activity we "digitized" a hand-drawn plot by scanning it and then tabulating the corresponding xy values of the pixels of the points of the plot. To replicate the actual data, we had to figure out the relationship between the actual physical values and the pixel data we've gathered. To do this I measured the pixel distances between grid lines and divided them by their corresponding physical values. I found that the ratio was unconsistent and I ended up with varying ratios per area of the chart. Upon replotting the data, I dealt with this simply by using the different ratios for different points depending on their locations. I came up with the following plot:&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/_OIl5sflR298/SjmzHfMyIxI/AAAAAAAAAAM/tRUEwZK4Bpg/s1600-h/final.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 206px;" src="http://3.bp.blogspot.com/_OIl5sflR298/SjmzHfMyIxI/AAAAAAAAAAM/tRUEwZK4Bpg/s320/final.JPG" alt="" id="BLOGGER_PHOTO_ID_5348502973694747410" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;The reconstruction was accurate for the first three points, but as the plot progressed, the digitized points (in red) start to deviate from the actual plot. Furthermore, the x=-50 and x=50 grid lines don't seem to match up. While the y deviation simply increses (the digitized points deviate downward) as the plot moves forward, the x deviation increases at the middle of the plot but recovers towards the end. The most probable reason for the error I obtained is that I failed to rotate the image before obtaining the pixel data and so when I was forced to rotate the image later on when overlaying the original, The points matched up only at certain points (probably those that were near the axis of rotation).&lt;br /&gt;&lt;br /&gt;For this reason I can only give myself a grade of 7. I was able to follow the procedure for the most part, but a crucial error at the start of my data gathering doomed the final result.&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/6132808487427556949-6050129979860384985?l=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/feeds/6050129979860384985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/06/activity-1-digital-scanning.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/6050129979860384985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6132808487427556949/posts/default/6050129979860384985'/><link rel='alternate' type='text/html' href='http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaap186.blogspot.com/2009/06/activity-1-digital-scanning.html' title='Activity 1: DIgital Scanning'/><author><name>Martin</name><uri>http://www.blogger.com/profile/18075802748611944588</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_OIl5sflR298/SjmzHfMyIxI/AAAAAAAAAAM/tRUEwZK4Bpg/s72-c/final.JPG' height='72' width='72'/><thr:total>1</thr:total></entry></feed>
