<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        1. The COG_X accumulates a value after each pixel is processed. If you are not familiar with programming languages that would explain why this formula looks strange. Its a common paradigm in programming to add to an existing value. It should be initialized to zero.&lt;br&gt;&lt;br&gt;2. COG_X is the accumulating center of gravity value and x is the x coordinate of the current pixel. For a 640x480 image, this x value would range from 0 to 639 for each rown.&lt;br&gt;&lt;br&gt;3. I = intensity. A pixel has 3 channels (basic image array) which when averaged can be thought of as intensity of the pixel. R = red, G = green, B = blue values of a particular pixel. If that still doesn&apos;t make sense, read up on how images are represented in terms of color values.&lt;br&gt;&lt;br&gt;4. Total is the total intensity of the entire image.&lt;br&gt;&lt;br&gt;5. Again, check basic programming paradigms. Its not 100 = 100 / Total but that 100 / Total is then placed back into the COG_X variable.&lt;br&gt;&lt;br&gt;Please just use google to find references .. there a millions of pages related to basic programming and image representation.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5982</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5982</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Regarding the formula for Center of gravity, can you help me in understanding this equation.&lt;br&gt;&lt;br&gt;COG_X = COG_X + (I*x), &lt;br&gt;1.is there any differences between COG_X before = and after =.&lt;br&gt;2. What is differences between COG_X and x,&lt;br&gt;3. I = (R+G+B)/3, what is the meaning of I? and where can we get the value of R, G and B.?&lt;br&gt;4. Total = Total + I, what is Total, is it the total number of the pixel?&lt;br&gt;5. And lastly for COG_X = COG_X/ Total, if the COG_X = 100, thus it means that 100 = 100/ Total?&lt;br&gt;&lt;br&gt;Hopefully you can help me understanding this formula. is there any suggestion of references that I should read. &lt;br&gt;&lt;br&gt;Thank you        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5982</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5982</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Firdaus,&lt;br&gt;&lt;br&gt;There isn&apos;t anything more to explain. That&apos;s the formula! Perhaps you can ask what part of the formula you don&apos;t understand and we can elaborate. Perhaps you don&apos;t understand the R, G, B parts? Those are the 3 RGB colors of a particular pixel. One could skip the I calculation and just use the Green channel of the pixel.&lt;br&gt;&lt;br&gt;Plus, there are mountains of information available via a web search. If something isn&apos;t clear try searching for that on other sites that might present the information a bit differently and in a way that makes more sense to you.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5982</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5982</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Center of gravity</title>
        <description>
        Currently i&apos;m studying the movement of the fish by using roborealm software. One of the parameter that i used in this study is center of grtavity to determine the fish position. One thing that i don&apos;t understand is the formula used in generating the center of gravity.&lt;br&gt;Here are the formula given from roborealm webpage,&lt;br&gt;&lt;br&gt;Center of Gravity&lt;br&gt;The Center of Gravity or Center of Mass statistic calculates where the COG of the image lies.&lt;br&gt;The COG is calculated by:&lt;br&gt;&lt;br&gt;COG_X = COG_X + (I*x)&lt;br&gt;&lt;br&gt;COG_Y = COG_Y + (I*y)&lt;br&gt;&lt;br&gt;Total = Total + I&lt;br&gt;&lt;br&gt;for each pixel where I = (R+G+B)/3 and x,y is the current pixel location. The resulting COG is then divided by the Total value:&lt;br&gt;&lt;br&gt;COG_X = COG_X/Total&lt;br&gt;&lt;br&gt;COG_Y = COG_Y/Total&lt;br&gt;&lt;br&gt;to result in the final x,y location of the COG&lt;br&gt;&lt;br&gt;Based on the formula given from the roborealm webpage, can you explain a bit more on the formula used.&lt;br&gt;&lt;br&gt;Thank you        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5982</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5982</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
