<?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>
        For gray scale images just tripple each single byte and you have a grayscale image in &quot;RGB&quot; mode. Its not terribly space efficient but it does allow for the same interface for grayscale and color images.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1586</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1586</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>SetImage - ArrayOut of bound exception</title>
        <description>
        Hi Steven,&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a doubt,as you told image length should be width()*height()*3 for RGB. What if i have gray scale image.do we need to have RGB values in that data.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Abhishek        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1586</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1586</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>SetImage - ArrayOut of bound exception</title>
        <description>
        Hi Steven, Got the problem...width*height*3 is greater then array size.&lt;br&gt;&lt;br&gt;Soon i will be known for such silly mistakes :-) &lt;br&gt;Any how Thanks for your effort        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1586</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1586</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>SetImage - ArrayOut of bound exception</title>
        <description>
        No Steven, &lt;br&gt;In SetImage we are writing bytes like this&lt;br&gt;bufferedWriter.write(pixels, 0, width*height*3)&lt;br&gt;So i have pixel size 786432 which is exactly equal to 1024*768*3&lt;br&gt;Problem is somwhere else.ArrayIndexOutOfBoundsException will come when we try to acess array more then its bound means we are tring to acess pixels more then 786432 size and its happening inside bufferwriter.&lt;br&gt;I guess there will not be a problem from Roborealm fot sending 786432 length data at one shot.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1586</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1586</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Abhishek,&lt;br&gt;&lt;br&gt;Based on your information it looks like you are missing 2/3 of the image. The pixel length should be 1024*768*3 instead of just 1024*768. The SetImage takes a RGB format, i.e. a single pixel is composed of 24 bits or 1 byte Red, 1 byte Green and 1 byte Blue.&lt;br&gt;&lt;br&gt;Most likely the error is because your pixel array source is not long enough.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1586</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1586</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>SetImage - ArrayOut of bound exception</title>
        <description>
        HI Friends,&lt;br&gt;I am having a problem in using setImage(String,byte[],length,height).&lt;br&gt;&lt;br&gt;I am using java. and i am getting array out of bound exception when i am tring to write pixel array length=786432, w = 1024, h = 768.&lt;br&gt;Below is the exception thrown.&lt;br&gt;&lt;br&gt;Pixel lenghth 786432w = 1024, h = 768&lt;br&gt;Exception in thread &quot;Thread-1&quot; java.lang.ArrayIndexOutOfBoundsException&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.net.SocketOutputStream.socketWrite(Unknown Source)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.net.SocketOutputStream.write(Unknown Source)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.io.BufferedOutputStream.write(Unknown Source)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at ibaux.image.analysis.roborealm.RoboRealmAPI.setImage(RoboRealmAPI.java:415)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at ibaux.watch.watcher.Watcher.run(Watcher.java:33)&lt;br&gt;&lt;br&gt;&lt;br&gt;Please help me in finding out the cause..&lt;br&gt;&lt;br&gt;Thanks in advance&lt;br&gt;Abhishek        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1586</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1586</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
