<div dir="ltr"><div><div><div>Hi,<br><br>take a look at <a href="http://siptoolbox.sf.net" target="_blank">siptoolbox.sf.net</a>. Download the Git version, and there is a function called color_classify in macros/color_classify.sci<br>
<br>
</div>It takes an input image and classifies each pixel into 6 broad classes: Red, Green, Blue, Yellow, Black, or 'others'.<br><br></div>I haven't documented it properly yet, but you can play with it. The Red color was tuned to be sensitive, but you can change the parameters inside the function to suit your detection needs.<br>
<br></div>
SIP is designed for Linux and Mac OSX but you should be able to use this specific function in another OS.<br><div><br>Best,<br><div><br></div></div><div class="gmail_extra"><br clear="all"><div><br>--<br>Dr Ricardo Fabbri<br>
Professor of Computer Engineering<br>GNU/Linux registered user #175401<br><a href="http://www.lems.brown.edu/~rfabbri" target="_blank">www.lems.brown.edu/~rfabbri</a><br><a href="http://pt.wikipedia.org/wiki/IPRJ" target="_blank">pt.wikipedia.org/wiki/IPRJ</a><br>
<a href="http://labmacambira.sf.net" target="_blank">labmacambira.sf.net</a></div>
<br><br><div class="gmail_quote">On Wed, May 28, 2014 at 5:35 AM, Varun Singh <span dir="ltr"><<a href="mailto:varun.krk@gmail.com" target="_blank">varun.krk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello<div><br></div><div>I am having problems with a program regarding the color detection and location of that particular color in the picture. I browsed through many tutorials but was unable to put it into effect for the desired output of mine. Basically i want to locate the red points in the attached image and also find the distance between the red and green parts of the image using a scilab program. </div>
<div><br></div><div>So can u please send me the commands and instructions regarding how i can proceed through this as i m new to scilab, asap and oblige.</div><div><br></div><div>Regards</div><span><font color="#888888"><div>
Varun Singh</div></font></span></div>
<br>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>