Circle specific color for highlighting objects in maps

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
mrplow
Posts: 1
Joined: 2014-02-16T10:24:43-07:00
Authentication code: 6789

Circle specific color for highlighting objects in maps

Post by mrplow »

I have some rather large maps which have some fine details which are difficult to locate while looking at the entire map. What I would do in gimp is to select by color, expand selection by 1000px, feather, fill, shrink by 200px, feather, delete.
I have, however, over 80 maps and due to their large size they're real memory hogs.
Any help would be appreciated.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Circle specific color for highlighting objects in maps

Post by snibgo »

You could turn all other colours black and turn the required colour white (possibly with fuzz).

Then dilate and erode with morphology.

Feather with blur.

I don't understand your other operations, but they are probably easy in IM. From the greyscale version I outline above, you could highlight the map, like using a highlighter pen. Or do something else.

Gimp is 8-bit. IM is usually 16-bit, so uses twice as much memory. You could use Q8 IM.
snibgo's IM pages: im.snibgo.com
Post Reply