Search found 9 matches
- 2013-06-02T07:24:19-07:00
- Forum: Users
- Topic: Replace a color that doesn't match a list of colors
- Replies: 11
- Views: 5512
Re: Replace a color that doesn't match a list of colors
Thank you both once again. According to the documentation and in practise, "-colorize N" doesn't need a percent sign. Adding a percent sign seems harmless. I did fluff my final command: the mask should be the negative of what I created, ie my "-negative" was wrong. So this is what I get (Windows ...
- 2013-06-01T17:18:09-07:00
- Forum: Users
- Topic: Replace a color that doesn't match a list of colors
- Replies: 11
- Views: 5512
Re: Replace a color that doesn't match a list of colors
You did not do all the steps to change colors that are close enough replacing them with none. Or do I misunderstand what you did. convert image -fuzz XX% -fill none -opaque color1 tmpimage convert tempimage -fuzz XX% -fill none -opaque color2 tmpimage ... convert tempimage -fuzz XX% -fill none ...
- 2013-06-01T16:31:15-07:00
- Forum: Users
- Topic: Replace a color that doesn't match a list of colors
- Replies: 11
- Views: 5512
Re: Replace a color that doesn't match a list of colors
Thank you both very much for your help. I have some issues (most likely I'm doing something wrong). In both cases I get an unexpected result after the final step. fwm42: Assuming tempimage == tmpimage and othercolor is my "missing" colour, I get this after the final step: http://db.tt/BzdN4b2z ...
- 2013-06-01T11:56:00-07:00
- Forum: Users
- Topic: Replace a color that doesn't match a list of colors
- Replies: 11
- Views: 5512
Replace a color that doesn't match a list of colors
Hi all - I'm working with an image segmentation program that requires that one type of object/region does be identified as "not of interest". The problem is that the resulting output is not usable for my project. For example: http://db.tt/qmb03ykI Note that the thing marked "not of interest" was not ...
- 2013-05-29T16:58:49-07:00
- Forum: Users
- Topic: Replacing a set of colors with another set of colors
- Replies: 7
- Views: 4259
Re: Replacing a set of colors with another set of colors
Thank you once again. I really appreciate all the help - I'm a bit lost as I'm new to both IM and bash scripting, so just trying to wrap my head around all this. Reading up on these commands, it seems these do exactly as I asked, but for a single image. Do I need to find a way to make a bash script ...
- 2013-05-29T16:26:37-07:00
- Forum: Users
- Topic: Replacing a set of colors with another set of colors
- Replies: 7
- Views: 4259
Re: Replacing a set of colors with another set of colors
Thank you once again. I really appreciate all the help - I'm a bit lost as I'm new to both IM and bash scripting, so just trying to wrap my head around all this. Reading up on these commands, it seems these do exactly as I asked, but for a single image. Do I need to find a way to make a bash script ...
- 2013-05-29T15:22:37-07:00
- Forum: Users
- Topic: Replacing a set of colors with another set of colors
- Replies: 7
- Views: 4259
Re: Replacing a set of colors with another set of colors
Your mapcolors looks perfect. Do you have any ideas on how I might list all the colors present in a set of images?fmw42 wrote:see my bash unix script, mapcolors or separate, at the link below.
- 2013-05-29T15:10:44-07:00
- Forum: Users
- Topic: Replacing a set of colors with another set of colors
- Replies: 7
- Views: 4259
Re: Replacing a set of colors with another set of colors
Thank you very much - I'm looking at your scripts now.fmw42 wrote:do the blobs overlay with mixed colors?
see my bash unix script, mapcolors or separate, at the link below.
To answer the question, each blob is a single color and none of the blobs touch. Is this what you meant?
- 2013-05-29T14:53:58-07:00
- Forum: Users
- Topic: Replacing a set of colors with another set of colors
- Replies: 7
- Views: 4259
Replacing a set of colors with another set of colors
Hi all - sorry if this has been asked before, but I couldn't find an answer using search. I'm using Imagemagick on Linux (Xubuntu). I have a folder of pngs (named with numbers, e.g., 3096.png) which are just colored blobs on a transparent background. The blobs are different colors, with several ...