Search found 5 matches

by Darkout
2011-03-02T19:08:13-07:00
Forum: Users
Topic: color tracking
Replies: 9
Views: 14298

Re: color tracking

In MagickWand or Magic++, you are better off finding one of the 'loop though pixel example demo programs, and then looking at the pixels directly yourself. Command line shell does not have that luxury (though it can do it with a -fx expression) and uses text processing tools on identify output. It ...
by Darkout
2011-02-27T10:28:29-07:00
Forum: Users
Topic: color tracking
Replies: 9
Views: 14298

Re: color tracking

convert your color to transparent, then send the output to txt: and run grep or sed to filter only those lines that have your transparent color. the first part of each line will be the coordinates convert logo: -depth 8 logo.png convert logo: -transparent "rgb(255,0,0)" txt:- | grep "rgb a (255,0,0 ...
by Darkout
2011-02-24T15:56:18-07:00
Forum: Users
Topic: color tracking
Replies: 9
Views: 14298

Re: color tracking

Yes that's right! i didn't specify that i'm working on true colors
thank you!

by the way it works fine on command line :D i should make an intelligent code in a way to adjust the fuzz value depending on the the image luminance and contrast.
by Darkout
2011-02-24T12:39:17-07:00
Forum: Users
Topic: color tracking
Replies: 9
Views: 14298

Re: color tracking

Good evening,

Thanks fmw42 for your answer. It seems to me very interesting
Thanks anthony that's what i've been looking for, by introducing this fuzzy tolerance i'll detect perfectly my colored object.

I'll test this on command line tool first then i'll implement this in a C/C++ or java code.
by Darkout
2011-02-23T08:39:04-07:00
Forum: Users
Topic: color tracking
Replies: 9
Views: 14298

color tracking

Hi guys,

How can i do a 'color tracking' (means detect/locate a specific color in an image) using ImageMagick. Solutions on command-line or Magick++ or MagickWand for C can be very helpful for me.
Thanking you in advance,

I am a newbie :)