Search found 9 matches

by loskiroama
2015-07-10T06:26:11-07:00
Forum: Users
Topic: How to separate colors into different images
Replies: 20
Views: 11837

Re: How to separate colors into different images

Wooow!! Thank you so so much guys. I'm so happy that imageMagick has such a great community of super smart and helpful people. After your excellent instructions, I was able to separate colors into layers as I originally intended, but I'm facing another challenge now: As you can see in the attached ...
by loskiroama
2015-07-08T14:33:25-07:00
Forum: Users
Topic: How to separate colors into different images
Replies: 20
Views: 11837

Re: How to separate colors into different images

You are absolutley right snibgo! I installed bc and now I'm able to use different n parameters The thing is that I'm getting a different color count using "identify -format %k" than the n that I entered. For instance, this is the origial image http://i.imgur.com/MXzRsyd.jpg identify -format %k ...
by loskiroama
2015-07-08T12:43:45-07:00
Forum: Users
Topic: How to separate colors into different images
Replies: 20
Views: 11837

Re: How to separate colors into different images

Thanks for your suggestion snibgo, but it makes no difference.
May I know what is bq supposed to help me with?

fmw42, Can I askyou how to call your modified script to get one image per color as you said?
by loskiroama
2015-07-08T03:31:05-07:00
Forum: Users
Topic: How to separate colors into different images
Replies: 20
Views: 11837

Re: How to separate colors into different images

fmw42,snibgo, Let me thank you once again for your incredible help guys. I've made some progress but there are still some things i cannot figure out. For instance passing different -n parameters i end up obtaining the same result in terms of color quantity: $./kmeans hl.jpg .jpg (default n should be ...
by loskiroama
2015-07-07T06:16:20-07:00
Forum: Users
Topic: How to separate colors into different images
Replies: 20
Views: 11837

Re: How to separate colors into different images

Thank you very much for your advice fmw42! I've been trying to run your k means script (on cygwin) but I'm having the following errors: $ ./kmeans hl.jpg out.jpg convert.exe: unable to open image `/tmp/KMEANS.6672/tmpI.miff': No such file or directory @ error/blob.c/OpenBlob/2674. identify.exe ...
by loskiroama
2015-07-05T11:11:48-07:00
Forum: Users
Topic: How to separate colors into different images
Replies: 20
Views: 11837

Re: How to separate colors into different images

fmw42, thanks for the answer.

The thing is that after applying kmenas color reduction I should be able to separate the seed colors into different images.
Do you know any way in which I could do this?
by loskiroama
2015-07-05T11:05:55-07:00
Forum: Users
Topic: How to separate colors into different images
Replies: 20
Views: 11837

Re: How to separate colors into different images

Thanks so much for the script snibgo! After trying it there are some things that I still can't understand. As far as I saw, you separate the 3 color channels (RGB) and then output them into a separate image. What I'm trying to do is separate all the colors appearing on a single image into different ...
by loskiroama
2015-07-01T00:18:54-07:00
Forum: Developers
Topic: segment image according to colors in image
Replies: 8
Views: 18759

Re: segment image according to colors in image

Very helpful fmw42!
Now, what if I don't know the colors present in the image beforehand?
How can I do the same in this situation?
by loskiroama
2015-07-01T00:13:33-07:00
Forum: Users
Topic: How to separate colors into different images
Replies: 20
Views: 11837

How to separate colors into different images

I'm sure I'm not the first that has this need, but somehow I can't find anybody else that asked this question in the forums so here it goes: I need to generate different images depending upon an original image's color, pretty much as in this link (http://www.mathworks.com/machine-learning/examples ...