<?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-1840510272404250067</id><updated>2011-11-27T17:08:09.316-08:00</updated><category term='visual basic interface'/><category term='image processing'/><category term='New Culture of Engineering'/><category term='pixel value'/><title type='text'>software vb code</title><subtitle type='html'>Using the VISUAL BASIC CODE PROGRAMMING. here, we are explain about the image processing, used the cameras, capture the images and display on the screen computer, analysis the image grab with coordinate &amp;amp; pixel value, and transfer data analysis to CONTROL THE HARDWARE FROM YOUR COMPUTER SYSTEM with VB CODE IN ADVANCED TEHCNOLOGY..</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://softwarevbcode.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://softwarevbcode.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Khairuddinar</name><uri>http://www.blogger.com/profile/07807558348134333284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_osZnA3Xfbvs/SptsRu1j5dI/AAAAAAAAABM/VVtb3XweD74/S220/myfoto.bmp'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1840510272404250067.post-6436508002861009758</id><published>2009-09-04T18:19:00.000-07:00</published><updated>2009-09-04T18:21:38.303-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual basic interface'/><title type='text'>Interface for sprayer software</title><content type='html'>Software development was done using &lt;span style="background-color: yellow;"&gt;Visual Basic programming la&lt;/span&gt;&lt;span style="background-color: yellow;"&gt;nguages&lt;/span&gt;. Using this setup real- time testing can be done conveniently in the &lt;span style="background-color: #f1c232;"&gt;laboratory SFTL. ITMA, UPM&lt;/span&gt;. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_osZnA3Xfbvs/SqG6uP7TqpI/AAAAAAAAADI/FkrnoE0L1Mc/s1600-h/figure10.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" lk="true" src="http://3.bp.blogspot.com/_osZnA3Xfbvs/SqG6uP7TqpI/AAAAAAAAADI/FkrnoE0L1Mc/s320/figure10.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span style="background-color: cyan;"&gt;Figure 10: The development of GUI to control an autonomous sprayer system.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1840510272404250067-6436508002861009758?l=softwarevbcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://softwarevbcode.blogspot.com/feeds/6436508002861009758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softwarevbcode.blogspot.com/2009/09/interface.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/6436508002861009758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/6436508002861009758'/><link rel='alternate' type='text/html' href='http://softwarevbcode.blogspot.com/2009/09/interface.html' title='Interface for sprayer software'/><author><name>Khairuddinar</name><uri>http://www.blogger.com/profile/07807558348134333284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_osZnA3Xfbvs/SptsRu1j5dI/AAAAAAAAABM/VVtb3XweD74/S220/myfoto.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_osZnA3Xfbvs/SqG6uP7TqpI/AAAAAAAAADI/FkrnoE0L1Mc/s72-c/figure10.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840510272404250067.post-4665004875854818071</id><published>2009-09-04T18:07:00.000-07:00</published><updated>2009-09-04T18:23:14.241-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pixel value'/><category scheme='http://www.blogger.com/atom/ns#' term='image processing'/><title type='text'>Experiment on the nozzle sprayer areas</title><content type='html'>On &lt;span style="background-color: yellow;"&gt;this pixels selection&lt;/span&gt; a sample experiment is show on figure 9, if grass viewed in all areas (100%) of &lt;span style="background-color: #ffd966;"&gt;nozzle area partition&lt;/span&gt;, equal to the percent of pixels for green grass is average 20% and so on show on the table 1. End the last simple result for this system show on figure 9. &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_osZnA3Xfbvs/SqG5MIaz1DI/AAAAAAAAADA/OZiAa35rpbU/s1600-h/figure9.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" lk="true" src="http://3.bp.blogspot.com/_osZnA3Xfbvs/SqG5MIaz1DI/AAAAAAAAADA/OZiAa35rpbU/s400/figure9.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span style="background-color: cyan;"&gt;Figure 9: Percentage of green grass selection&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1840510272404250067-4665004875854818071?l=softwarevbcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://softwarevbcode.blogspot.com/feeds/4665004875854818071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softwarevbcode.blogspot.com/2009/09/experiment-on-nozzle-spraying-area.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/4665004875854818071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/4665004875854818071'/><link rel='alternate' type='text/html' href='http://softwarevbcode.blogspot.com/2009/09/experiment-on-nozzle-spraying-area.html' title='Experiment on the nozzle sprayer areas'/><author><name>Khairuddinar</name><uri>http://www.blogger.com/profile/07807558348134333284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_osZnA3Xfbvs/SptsRu1j5dI/AAAAAAAAABM/VVtb3XweD74/S220/myfoto.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_osZnA3Xfbvs/SqG5MIaz1DI/AAAAAAAAADA/OZiAa35rpbU/s72-c/figure9.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840510272404250067.post-4000769661325821970</id><published>2009-09-03T05:52:00.000-07:00</published><updated>2009-09-03T07:53:39.117-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pixel value'/><category scheme='http://www.blogger.com/atom/ns#' term='image processing'/><title type='text'>Percentage of the pixels count</title><content type='html'>&lt;strong&gt;&lt;span style="font-size: large;"&gt;Grass object for sprayer&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Images grass on the picture, it’s must to be spraying on the real word. Where the system will be &lt;span style="background-color: #ffd966;"&gt;automatically&lt;/span&gt; &lt;span style="background-color: #ffe599;"&gt;on the pump&lt;/span&gt; for &lt;span style="background-color: #fff2cc;"&gt;give air pressure in the poison tank&lt;/span&gt; and &lt;span style="background-color: #ffe599;"&gt;on the nozzle&lt;/span&gt; for &lt;span style="background-color: #fff2cc;"&gt;start spraying the grass&lt;/span&gt;. But the system not to spraying the grass if quantity of grass on the spray area is vary small to spraying, so we &lt;span style="background-color: yellow;"&gt;describe percentage&lt;/span&gt; of green grass for spraying, show on figure 8.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_osZnA3Xfbvs/Sp-6VOwXj-I/AAAAAAAAAC4/Lo0ugzc_y7E/s1600-h/figure8.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" lk="true" src="http://1.bp.blogspot.com/_osZnA3Xfbvs/Sp-6VOwXj-I/AAAAAAAAAC4/Lo0ugzc_y7E/s400/figure8.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="background-color: cyan;"&gt;Figure 8: Percentage of green grass for sprayer&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;See figure 8, if grass size &lt;span style="background-color: #ffe599;"&gt;bellow 0% to 20% the system &lt;/span&gt;&lt;span style="background-color: #ffd966;"&gt;not spraying&lt;/span&gt; the grass because it’s in small quantity of grass. So the system only automatically spraying if the quantity of grass area over then 20% on the spraying area.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1840510272404250067-4000769661325821970?l=softwarevbcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://softwarevbcode.blogspot.com/feeds/4000769661325821970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softwarevbcode.blogspot.com/2009/09/percentage-of-pixels-count.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/4000769661325821970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/4000769661325821970'/><link rel='alternate' type='text/html' href='http://softwarevbcode.blogspot.com/2009/09/percentage-of-pixels-count.html' title='Percentage of the pixels count'/><author><name>Khairuddinar</name><uri>http://www.blogger.com/profile/07807558348134333284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_osZnA3Xfbvs/SptsRu1j5dI/AAAAAAAAABM/VVtb3XweD74/S220/myfoto.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_osZnA3Xfbvs/Sp-6VOwXj-I/AAAAAAAAAC4/Lo0ugzc_y7E/s72-c/figure8.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840510272404250067.post-686403172620971828</id><published>2009-09-03T05:35:00.000-07:00</published><updated>2009-09-03T05:35:14.206-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pixel value'/><category scheme='http://www.blogger.com/atom/ns#' term='image processing'/><title type='text'>Green Grass ditected by pixel value</title><content type='html'>The green grass color selected in is depend by user clicked on the image screen. From user clicked, we get &lt;span style="background-color: yellow;"&gt;RGB color pixel&lt;/span&gt;. On the RGB pixel value selected on the system, we set the range plus and minus 10 from the RGB selected pixel value, see Figure 6 show the algorithm for color pixel range from pixel selected. &lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;R pixel value range = ( R &amp;gt; R pixel value selection -10 ) and ( R &amp;lt; R pixel value selection +10) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;G pixel value range = ( G &amp;gt; G pixel value selection -10 ) and ( G &amp;lt; G pixel value selection +10)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif; font-size: x-small;"&gt;B pixel value range = ( B &amp;gt; B pixel value selection -10 ) and ( B &amp;lt; B pixel value selection +10)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: cyan;"&gt;Figure 6: show the algorithm for color pixel range from pixel selected&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_osZnA3Xfbvs/Sp-3GZdR_eI/AAAAAAAAACw/mpCP35fqx2Y/s1600-h/untitled6.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" lk="true" src="http://4.bp.blogspot.com/_osZnA3Xfbvs/Sp-3GZdR_eI/AAAAAAAAACw/mpCP35fqx2Y/s400/untitled6.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="background-color: cyan;"&gt;Figure 7: Algorithm count the grass pixels value.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;From RGB pixel value range the system must to be find out how many pixels on the images grab, The pixels selected used the &lt;span style="background-color: yellow;"&gt;RGB pixel value range&lt;/span&gt;, the condition to count total its show on figure 7, where the group of this pixels total it’s call &lt;span style="background-color: yellow;"&gt;color of grass&lt;/span&gt; for the grass object. Now the images grass object will find out from the images. Images grass on the picture, it’s must to be spray on the real word, we discuss about images grass object for spraying on the next paragraph.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1840510272404250067-686403172620971828?l=softwarevbcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://softwarevbcode.blogspot.com/feeds/686403172620971828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softwarevbcode.blogspot.com/2009/09/green-grass-ditected-by-pixel-value.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/686403172620971828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/686403172620971828'/><link rel='alternate' type='text/html' href='http://softwarevbcode.blogspot.com/2009/09/green-grass-ditected-by-pixel-value.html' title='Green Grass ditected by pixel value'/><author><name>Khairuddinar</name><uri>http://www.blogger.com/profile/07807558348134333284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_osZnA3Xfbvs/SptsRu1j5dI/AAAAAAAAABM/VVtb3XweD74/S220/myfoto.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_osZnA3Xfbvs/Sp-3GZdR_eI/AAAAAAAAACw/mpCP35fqx2Y/s72-c/untitled6.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840510272404250067.post-440224544289010342</id><published>2009-09-02T05:02:00.000-07:00</published><updated>2009-09-02T05:51:26.267-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pixel value'/><category scheme='http://www.blogger.com/atom/ns#' term='image processing'/><title type='text'>Get pixel value on coordinate pixel</title><content type='html'>In the Visual Basic programming languages used the basic &lt;span style="background-color: yellow;"&gt;API pixel&lt;/span&gt; routines. This program system can &lt;span style="background-color: yellow;"&gt;read the RGB value&lt;/span&gt; &lt;span style="background-color: yellow;"&gt;every each pixels&lt;/span&gt; at all area of the image size. It’s still used function, f(x,y), with the array variables, function read one by one from first pixel to the end of pixel coordinate (see figure 1). The algorithm for read all pixels on that image is show on figure 5.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;From two-dimension function, f(x,y);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;Read for f(x) = 0 until image width value&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Read for f(y) = 0 until image height value&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Get pixel value on coordinate pixel, f(x,y);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End loop&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;End loop&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: cyan;"&gt;Figure/diagram 5: algorithm for get pixel value from image.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This algorithm (figure 5) will be showing all &lt;span style="background-color: #ffd966;"&gt;pixels value&lt;/span&gt; at &lt;span style="background-color: yellow;"&gt;all coordinate&lt;/span&gt; in image size on program, the total coordinate value is 108900 pixels locations. Using pixel value will be extract to the &lt;span style="background-color: #ffe599;"&gt;Red&lt;/span&gt;,&lt;span style="background-color: #ffe599;"&gt;&lt;span style="background-color: white;"&gt; &lt;/span&gt;Green&lt;/span&gt;, and &lt;span style="background-color: #ffe599;"&gt;Blue&lt;/span&gt; values, it call &lt;span style="background-color: #ffd966;"&gt;RGB color pixel&lt;/span&gt;. RGB output color pixel values that range from 0 to 255. as a result images can be analysis using the RGB color pixel, then from this result in any image grab conclusion is; &lt;span style="background-color: lime;"&gt;the system can know what is color on that images have every each coordinates&lt;/span&gt; . From the knowledge the color of image, the system will be see that images grass and can know it’s the green grass. It’s need to spray, be discuss on the next paragraph.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1840510272404250067-440224544289010342?l=softwarevbcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://softwarevbcode.blogspot.com/feeds/440224544289010342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softwarevbcode.blogspot.com/2009/09/get-pixel-value-on-coordinate-pixel.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/440224544289010342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/440224544289010342'/><link rel='alternate' type='text/html' href='http://softwarevbcode.blogspot.com/2009/09/get-pixel-value-on-coordinate-pixel.html' title='Get pixel value on coordinate pixel'/><author><name>Khairuddinar</name><uri>http://www.blogger.com/profile/07807558348134333284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_osZnA3Xfbvs/SptsRu1j5dI/AAAAAAAAABM/VVtb3XweD74/S220/myfoto.bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840510272404250067.post-38253188340619131</id><published>2009-09-02T05:00:00.000-07:00</published><updated>2009-09-02T05:46:16.063-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pixel value'/><category scheme='http://www.blogger.com/atom/ns#' term='image processing'/><title type='text'>Create partitions on your picture grab</title><content type='html'>1 picture grab (see figure 1) for 3 units nozzle. So this &lt;span style="background-color: yellow;"&gt;picture will be&lt;/span&gt;&lt;span style="background-color: yellow;"&gt; &lt;/span&gt;&lt;span style="background-color: yellow;"&gt;divided to 3 partition&lt;/span&gt; (see figure 3) for 3 nozzle spraying area. Every portion area for handle 1 nozzle. See figure 4 show algorithm for create 3 partition area from &lt;span style="background-color: yellow;"&gt;image pixel&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_osZnA3Xfbvs/Sp5cvhUwTXI/AAAAAAAAACo/6FatduY84xg/s1600-h/figure3.bmp" imageanchor="1" style="cssfloat: left; margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" lk="true" src="http://3.bp.blogspot.com/_osZnA3Xfbvs/Sp5cvhUwTXI/AAAAAAAAACo/6FatduY84xg/s400/figure3.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;If x&amp;nbsp;&amp;lt; and x =&amp;lt; 121 then&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Trebuchet MS;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[Partition for 1st nozzle area]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Else If x &amp;lt; 121 and x =&amp;lt; 242 then&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Partition for 2nd nozzle area]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;Else If x &amp;lt; 242 and x =&amp;lt; 363 then&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Partition for 3rd nozzle area]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;End if&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: cyan;"&gt;figure/diagram 4: show algorithm for create 3 partition area from image pixel.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1840510272404250067-38253188340619131?l=softwarevbcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://softwarevbcode.blogspot.com/feeds/38253188340619131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softwarevbcode.blogspot.com/2009/09/create-partitions-on-your-picture-grab.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/38253188340619131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/38253188340619131'/><link rel='alternate' type='text/html' href='http://softwarevbcode.blogspot.com/2009/09/create-partitions-on-your-picture-grab.html' title='Create partitions on your picture grab'/><author><name>Khairuddinar</name><uri>http://www.blogger.com/profile/07807558348134333284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_osZnA3Xfbvs/SptsRu1j5dI/AAAAAAAAABM/VVtb3XweD74/S220/myfoto.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_osZnA3Xfbvs/Sp5cvhUwTXI/AAAAAAAAACo/6FatduY84xg/s72-c/figure3.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840510272404250067.post-1606170440475955465</id><published>2009-08-31T01:50:00.000-07:00</published><updated>2009-09-02T05:20:23.621-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pixel value'/><category scheme='http://www.blogger.com/atom/ns#' term='image processing'/><title type='text'>Image pixel value</title><content type='html'>In the Visual Basic programming languages used the basic &lt;span style="background-color: yellow;"&gt;API&lt;/span&gt; pixel routines. This program system can read the &lt;span style="background-color: yellow;"&gt;RGB value&lt;/span&gt; every each pixels at all area of the image size. It’s still used function, f(x,y), with the array variables, function read one by one from first pixel to the end of pixel coordinate (see figure 1). The algorithm for &lt;span style="background-color: yellow;"&gt;read all pixels&lt;/span&gt; on that image is show on figure 5.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;From two-dimension function, f(x,y);&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; Read for f(x) = 0 until image width value&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Read for f(y) = 0 until image height value&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get pixel value on coordinate pixel, f(x,y);&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End loop&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; End loop&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;This algorithm (figure 5) will be showing all pixels value at all coordinate in image size on program, the total coordinate value is 108900 pixels locations. Using pixel value will be extract to the Red, Green, and Blue values, it call RGB color pixel. RGB output color pixel values that range from 0 to 255. as a result images can be analysis using the RGB color pixel, then from this result in any image grab conclusion is; the system can know what is color on that images have every each coordinates . From the knowledge the color of image, the system will be see that images grass and can know it’s the green grass. It’s need to spray, be discuss on the next paragraph.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1840510272404250067-1606170440475955465?l=softwarevbcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://softwarevbcode.blogspot.com/feeds/1606170440475955465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softwarevbcode.blogspot.com/2009/08/images-pixel-value.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/1606170440475955465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/1606170440475955465'/><link rel='alternate' type='text/html' href='http://softwarevbcode.blogspot.com/2009/08/images-pixel-value.html' title='Image pixel value'/><author><name>Khairuddinar</name><uri>http://www.blogger.com/profile/07807558348134333284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_osZnA3Xfbvs/SptsRu1j5dI/AAAAAAAAABM/VVtb3XweD74/S220/myfoto.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840510272404250067.post-1221421187707756228</id><published>2009-08-31T00:29:00.000-07:00</published><updated>2009-09-02T05:42:26.040-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pixel value'/><category scheme='http://www.blogger.com/atom/ns#' term='image processing'/><title type='text'>Images grab</title><content type='html'>&lt;span style="color: #274e13; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif; font-size: large;"&gt;&lt;strong&gt;HOW to read the image pixels on the picture grab&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: xx-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: #cc0000;"&gt;by Khairuddin Abdul Rahman&lt;/span&gt; &lt;span style="color: #cccccc;"&gt;31.8.2009 03:33pm&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;we used &lt;span style="background-color: yellow;"&gt;USB webcam&lt;/span&gt; for capture the images (example images from capture see figure 1). Images capture will be displayed on the screen computer used &lt;span style="background-color: yellow;"&gt;visual basic programming languages&lt;/span&gt; for analysis this images. An image, it is generally sampled into a &lt;span style="background-color: #ffd966;"&gt;rectangular array of pixels&lt;/span&gt;. Each pixel has an &lt;span style="background-color: #ffe599;"&gt;(x,y) coordinate&lt;/span&gt; that corresponds to its location within the images (figure 1). The x coordinate is the pixel’s horizontal location; the y coordinates its vertical location. Easy to say, it is size of image; height is horizontal; width is vertical. It’s called images size. On this program we fix that images size to 300 (height) x 363 (weight) pixels (see figure 1). &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_osZnA3Xfbvs/Spt8qn8i0JI/AAAAAAAAAB4/gskqzX_3kkA/s1600-h/figure1.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" lk="true" src="http://2.bp.blogspot.com/_osZnA3Xfbvs/Spt8qn8i0JI/AAAAAAAAAB4/gskqzX_3kkA/s400/figure1.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt; text-align: justify;"&gt;&lt;span style="color: black;"&gt;Now, from pixels size of image be defined as a &lt;span style="background-color: yellow;"&gt;two-dimension function&lt;/span&gt;&lt;span style="background-color: yellow;"&gt;, &lt;i style="mso-bidi-font-style: normal;"&gt;f&lt;/i&gt;(x,y),&lt;/span&gt; where x and y are spatial (plane) coordinate, the amplitude of &lt;i style="mso-bidi-font-style: normal;"&gt;f&lt;/i&gt; at any pair of coordinates (x,y) is called the &lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="background-color: yellow;"&gt;intensity&lt;/span&gt;&lt;/i&gt;&lt;/b&gt; or &lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span style="background-color: yellow;"&gt;gray level&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;i style="mso-bidi-font-style: normal;"&gt; &lt;/i&gt;of the images of the point &lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;[1]. From a density value in the gray-level images &lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="background-color: yellow;"&gt;will be calculated by linear combination of an RGB&lt;/span&gt;&lt;/b&gt; vector of the color image [2], [3], [4], is show on figure 2.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_osZnA3Xfbvs/SpuL53bCXEI/AAAAAAAAACA/VsxHJ3LJBGw/s1600-h/figure2.bmp" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" lk="true" src="http://3.bp.blogspot.com/_osZnA3Xfbvs/SpuL53bCXEI/AAAAAAAAACA/VsxHJ3LJBGw/s400/figure2.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt; text-align: justify;"&gt;&lt;/div&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;span style="color: black;"&gt;From this &lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="background-color: yellow;"&gt;linear combination of an RGB&lt;/span&gt;&lt;/b&gt; vector (figure 2), the problem to defined of the green grass now can be dealt with on this read. We be formulated as an ill-posed problem which searches for an RGB vector from a density value as a solution. &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1840510272404250067-1221421187707756228?l=softwarevbcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://softwarevbcode.blogspot.com/feeds/1221421187707756228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softwarevbcode.blogspot.com/2009/08/images-grab.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/1221421187707756228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/1221421187707756228'/><link rel='alternate' type='text/html' href='http://softwarevbcode.blogspot.com/2009/08/images-grab.html' title='Images grab'/><author><name>Khairuddinar</name><uri>http://www.blogger.com/profile/07807558348134333284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_osZnA3Xfbvs/SptsRu1j5dI/AAAAAAAAABM/VVtb3XweD74/S220/myfoto.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_osZnA3Xfbvs/Spt8qn8i0JI/AAAAAAAAAB4/gskqzX_3kkA/s72-c/figure1.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1840510272404250067.post-5634161434662227763</id><published>2009-08-31T00:13:00.000-07:00</published><updated>2009-09-02T05:50:41.103-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='New Culture of Engineering'/><title type='text'>Advanced images analysis for spraying system project.</title><content type='html'>&lt;span style="color: black; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, serif; font-size: large;"&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: black; font-family: Arial, Helvetica, sans-serif;"&gt;This paper discuss about development of Spraying System at ITMA (SFTL), UPM (see Figure A1). This system used two units &lt;span style="background-color: yellow;"&gt;digital camera&lt;/span&gt;. This &lt;span style="background-color: yellow;"&gt;camera control&lt;/span&gt; the areas for spraying system. The camera will be &lt;span style="background-color: #ffd966;"&gt;capture&lt;/span&gt; the images and &lt;span style="background-color: #ffd966;"&gt;display&lt;/span&gt; on the screen computer. By the user clicked on the screen computer, the signal computer will be created. This signal from computer be transfer to the &lt;span style="background-color: yellow;"&gt;PC Parallel Port&lt;/span&gt; for send the volt for on the pump and on the nozzle. Then the system will be &lt;span style="background-color: orange;"&gt;automatically spraying the grass&lt;/span&gt;. This project used ATV (All Terrain Vehicle), with computer system and PC parallel port controller, poison tank and pump, two units webcam and 6 spraying nozzle, show on figure A2.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_osZnA3Xfbvs/Spt6PwbjEpI/AAAAAAAAABw/bMN-PHC1DDk/s1600-h/figure.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" lk="true" src="http://4.bp.blogspot.com/_osZnA3Xfbvs/Spt6PwbjEpI/AAAAAAAAABw/bMN-PHC1DDk/s400/figure.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1840510272404250067-5634161434662227763?l=softwarevbcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://softwarevbcode.blogspot.com/feeds/5634161434662227763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softwarevbcode.blogspot.com/2009/08/advanced-images-analysis-for-spraying.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/5634161434662227763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1840510272404250067/posts/default/5634161434662227763'/><link rel='alternate' type='text/html' href='http://softwarevbcode.blogspot.com/2009/08/advanced-images-analysis-for-spraying.html' title='Advanced images analysis for spraying system project.'/><author><name>Khairuddinar</name><uri>http://www.blogger.com/profile/07807558348134333284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_osZnA3Xfbvs/SptsRu1j5dI/AAAAAAAAABM/VVtb3XweD74/S220/myfoto.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_osZnA3Xfbvs/Spt6PwbjEpI/AAAAAAAAABw/bMN-PHC1DDk/s72-c/figure.bmp' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
