It is currently Mon Jul 01, 2024 6:37 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: How to detect only the outer edge and turn into a path
PostPosted: Tue Jul 13, 2021 10:46 pm  (#1) 
Offline
GimpChat Member

Joined: Jul 11, 2021
Posts: 7
GIMP Version: 2.10.20 1
Operating System: Windows
GIMP Experience: Intermediate Level



Example: irregular contour like a map of continental Europe. All borders and text in the same color as the border of Europe as a whole.

So my question is there an easy way to detect just the outer border of Europe minus the stuff inside, and turn it into a path. Same color seems to deny methods of select by color or tools dependent on same.

I've searched for this topic here and on the net in general. Obviously there are tedious methods of manually deleting the objects/text inside. And I have tried to use edge detect filters but they don't seem to be able to only select the outer edge/silhouette.

Can anyone point me to an easy method or tut on this? Thanks in advance.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: How to detect only the outer edge and turn into a path
PostPosted: Wed Jul 14, 2021 12:17 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 789
Location: SEA - South East Asia
crus339 wrote:
So my question is there an easy way to detect just the outer border of Europe minus the stuff inside, and turn it into a path.


May be...

There are 10googol different methods to detour, contour, detect edges... You might also need to prepare your image before, like removing the text, feathering the colors...
Without visual references, I can't tell, I do need to see what are colors, how they are dispatched, and so many more things.
Please upload that image.

On the other hand, about turning "things" into path, it's so simple, that's just one click away once you're done with the above :hehe

_________________
Patrice


Top
 Post subject: Re: How to detect only the outer edge and turn into a path
PostPosted: Wed Jul 14, 2021 2:41 am  (#3) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7744
Location: On the other side of this screen
Hi crus, have you tried 'fuzzy select' :fuzzsel instead of colour select :colsel ? You may have to do a few selections :addcur but if the outside border is all one colour and joined up you should end up with one selection. Only trouble you will have there is if your other borders or text join the outside border. Then I would do as PixLab suggested. Just make a copy of it before you do.

_________________


Top
 Post subject: Re: How to detect only the outer edge and turn into a path
PostPosted: Wed Jul 14, 2021 4:31 am  (#4) 
Offline
GimpChat Member

Joined: Jul 11, 2021
Posts: 7
Thanks for the replies. I am trying not to do a lot of prep and would like to have a replicable method not to. Regarding the magic wand I did try that. But having other lines connecting with the outer one makes that not work. I'm guessing this is a lost cause as for an easy method.


Top
 Post subject: Re: How to detect only the outer edge and turn into a path
PostPosted: Wed Jul 14, 2021 4:53 am  (#5) 
Offline
GimpChat Member

Joined: Sep 23, 2016
Posts: 316
crus339 wrote:
I'm guessing this is a lost cause as for an easy method.

Difficult to say without seeing your image. There is no one size fits all solution. Post an image of your map and there may be an easy solution for this image.

Something to try: select the area outside the land (the blue sea?) and invert the selection. Difficult to say without seeing your image.


Top
 Post subject: Re: How to detect only the outer edge and turn into a path
PostPosted: Wed Jul 14, 2021 6:37 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 789
Location: SEA - South East Asia
crus339 wrote:
I'm guessing this is a lost cause as for an easy method.

We were waiting for an image... But if you say so...

Anyway it's late in my time zone, I going to have a diner, watch TV, and so...

_________________
Patrice


Top
 Post subject: Re: How to detect only the outer edge and turn into a path
PostPosted: Wed Jul 14, 2021 10:19 am  (#7) 
Offline
GimpChat Member

Joined: Jul 11, 2021
Posts: 7
I still don't have perms for attachments but I don't have a particular image to share. I was playing around with several the other day and didn't save the GIMP file or the images. Thanks for the offers though.


Top
 Post subject: Re: How to detect only the outer edge and turn into a path
PostPosted: Thu Jul 15, 2021 1:10 am  (#8) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
One way is to take the problem from the other side. Select what is outside of Europe.

_________________
Image


Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts edge detect using difference of gaussian (non GEGL)

0

No new posts Attachment(s) GEGL Neon Glowing Edge Detect

2

No new posts Attachment(s) GEGL Edge Extract - Edge Neon's algorithm in transparent background

9

No new posts Attachment(s) Aura/ Outer glow

3

No new posts Attachment(s) Creating two outer rings for a logo

3



* Login  



Powered by phpBB3 © phpBB Group