Hi,

take a look at siptoolbox.sf.net. Download the Git version, and there is a
function called color_classify in macros/color_classify.sci

It takes an input image and classifies each pixel into 6 broad classes:
Red, Green, Blue, Yellow, Black, or 'others'.

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.

SIP is designed for Linux and Mac OSX but you should be able to use this
specific function in another OS.

Best,



--
Dr Ricardo Fabbri
Professor of Computer Engineering
GNU/Linux registered user #175401
www.lems.brown.edu/~rfabbri
pt.wikipedia.org/wiki/IPRJ
labmacambira.sf.net


On Wed, May 28, 2014 at 5:35 AM, Varun Singh <[email protected]> wrote:

> Hello
>
> 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.
>
> 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.
>
> Regards
> Varun Singh
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.scilab.org/mailman/listinfo/users
>
>
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to