It is currently Sat Apr 20, 2024 1:47 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 38 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 17, 2012 1:49 pm  (#1) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
When using the Heal Selection or the Smart remove selection (both filters are Resynthesize filters, same thing except they have different names), use Unsharp Mask to improve your results.

Original image is here.

My image was scaled after I finished to 50% size.

First, select what you want to remove from the image by using the Lasso tool. Save that selection to Path so you don't lose it in the process - it's easy to do. Select > To Path.

My selection stroked with white:
Image

With the selection going, go to
Filters > Enhance > Smart remove selection
OR (depending on your version)
Filters > Enhance > Heal Selection

If you have a large image and there's plenty of room around the selection, try the default radius of 50. This is experimental. I used 50 in this image. Click OK.

Wait for Resynthesizer to finish processing your image. I felt the results were a bit blurry.

My results with selection stroked with white:
Image

With the selection still running, Filters > Enhance > Unsharp Mask. Be very gentle with the controls in the Unsharp Mask dialog. I made the amount very small. That's another place to experiment when doing your image.

My results with selection stroked with white:
Image

My final results without the selection stroked:
Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


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: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 17, 2012 2:10 pm  (#2) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Very cool O, works great. I have never tried this filter with unsharp mask before but that sure does the trick. (nice discovery) :coolthup

_________________
Image


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 17, 2012 2:13 pm  (#3) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
:teeth Thank you, Molly.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 17, 2012 2:39 pm  (#4) 
Offline
GimpChat Member

Joined: Aug 27, 2010
Posts: 491
Impressive. If I'd not seen the steps I'd have thought the final result was the original.


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 17, 2012 2:42 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Wow, that is very cool! Thanks, Oregonian :bigthup

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 17, 2012 2:50 pm  (#6) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Thanks Mike and Odin. :mrgreen:

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 17, 2012 5:38 pm  (#7) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
nice idea, it worked very well

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 17, 2012 6:14 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Good idea O; I too never though about sharpening afterwards; usually just do some adaptive cloning. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 17, 2012 6:18 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Aug 16, 2012
Posts: 4271
Location: Göteborg, Sweden
O: that's helpful, thanks for sharing it :).

_________________


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 17, 2012 11:04 pm  (#10) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Thanks PhotoComix, Lyle and AnMal. :)

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sun Nov 18, 2012 4:09 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2012
Posts: 65
Location: Bedfordshire, England
Thanks very much, Oregonian - I hadn't realised you could do that to a selection. I usually just try to paint over things with the healing tool!

_________________
Gareth Kitchener
Bedfordshire, England


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sun Nov 18, 2012 9:26 am  (#12) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Thank you, Hatter.

I would not have known to do that except I felt my original results were a bit blurry and thought perhaps the Unsharp Mask filter might help. It was a nice discovery.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Nov 19, 2012 9:17 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7304
Location: Göteborg at last!
Lovely result O. Thank you.


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Fri Nov 23, 2012 6:57 pm  (#14) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
:tyspin Erisian.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 24, 2012 9:27 am  (#15) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
i wonder how will work the other way around

as,
invert selection and apply a slight gaussian blur (depending on image size , let say 1, max 1,5 at wp size
and last select all and sharpen

to gimp unsharp filter i still prefer Unsharpmask2 or gmic unsharpmask to the gimp filter because it may darken the edges instead then whiten, but since the use should be moderate should make no much difference

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 24, 2012 10:05 am  (#16) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I'm not quite sure what you mean, PhotoComix. I've attached the layers of the image with the selection still in place, and the path to the selection saved.

Perhaps you can try your idea on it.


Attachments:
granitequarry2-w_selection.xcf.zip [3.67 MiB]
Downloaded 157 times

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein
Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 24, 2012 2:36 pm  (#17) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Thanks O it was a good idea to test it

I have 2 " heal selection" script, the first is the " Smart Remove script fu" (but in the menu is just called Heal selection ) that works with the old version of resynthesizer and only does a mess both in the selection to heal and in the Edit menu
...Never saw such a mess in the edit menu after running a filter

Image

as far from the result looks really crap

Image

i include the script to check if maybe there is a better version or went somehow corrupted, i was not expecting such bad result

---

instead with the phython script and last version of R. i could exactly duplicate your result

about my idea ... well i may have used far too much blur anyway this is the final result

Image

So doesn't seems worth the complication ( 2 more step then your and less sharp) anyway i include the xcf
(i forgot to save the selection but i just used yours)

What may worth is check if your suggestion would work even with the Smart Remove script fu because i got very delusive results with that

Or maybe is my copy of the script to be corrupted ? i include my copy of the script the zip with the xcf
Attachment:
nuovegc.zip [367.06 KiB]
Downloaded 142 times

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Last edited by PhotoComix on Sat Nov 24, 2012 2:46 pm, edited 1 time in total.

Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 24, 2012 2:42 pm  (#18) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
PS sorry for the confusion , i replaced the screenshot now

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 24, 2012 4:24 pm  (#19) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I got Resynthesizer from the Fedora Linux repository and the Smart remove selection is part of the resynthesizer plugin. I don't feel comfortable installing your version of smart remove into that. Could mess up my Resynthesizer plugin.

Your version of it looks OK to me. :hehe

I do enjoy experimenting though and your idea does have merit.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Nov 24, 2012 4:39 pm  (#20) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
O i duplicated your result , in my second example, so you already have same plugin and (python) script then me.

What puzzled me is to see how bad was the result of the script fu that even if has a different file name(Smart Remove) has the same in the gimp menu.

Anyway check is quick this is the Heal Selection python script that seems working well

Image

instead below the script fu that on the same image give quite poor result, and did weird things to the Gimp edit menu

Image

You used the first, correct ?

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
Post new topic Reply to topic  [ 38 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) GEGL selection modification filter to apply on layer mask

8

No new posts Attachment(s) Fast Mask (Rel 2)

14

No new posts Help removing mask from face

2

No new posts Attachment(s) Mask Over Photographers in Reflection?

5

No new posts Create Layer Mask From

8



* Login  



Powered by phpBB3 © phpBB Group