It is currently Tue Apr 23, 2024 9:56 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Sat Dec 01, 2012 2:53 pm  (#21) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
PhotoComix wrote:
You used the first, correct ?
No. The one I have is called, Smart remove selection.

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


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Dec 03, 2012 5:57 pm  (#22) 
Offline
GimpChat Member
User avatar

Joined: Jan 12, 2012
Posts: 178
Location: Mobile, AL USA
Just a side note, if you wanted to avoid any nasty sharpening artifacts and get a cleaner texture, there's a couple of other things you could try as well.

One is to "slice" up your healing selection into sections that are more amenable to resynthesizing. For instance, you could have chosen just the bucket portion of the earth mover, and then set Heal Selection to sample from the sides only (because the primary 'seam' of the rock textures occurs on either side). Continue doing this with sections to get the best results you can.

Another thing is that you could use Resynthesizer directly, instead of a helper script.

For instance, you could select another area of your image that has textures that would be good for replacement in your output, and copy/paste them to a new layer. Choose that layer as the input on the Resynthesizer dialog, and have it create a new texture for an appropriate place in your final image output. (this was a quickie test to show as an example):

Attachment:
File comment: No sharpening, just creative use of selections and straight resynth.
resynth-test-example.jpg
resynth-test-example.jpg [ 699.36 KiB | Viewed 7333 times ]

_________________
patdavid.net
Image
PIXLS.US F/OSS Photography


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Tue Dec 04, 2012 8:39 am  (#23) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
patdavid wrote:
Another thing is that you could use Resynthesizer directly, instead of a helper script.

For instance, you could select another area of your image that has textures that would be good for replacement in your output, and copy/paste them to a new layer. Choose that layer as the input on the Resynthesizer dialog, and have it create a new texture for an appropriate place in your final image output.
I must be misinterpreting what you said here. I copied an area and put it on a new layer (you said copy/paste "them" to a new layer). I only put one piece of the image there. Where would I put more than one? I must be doing something wrong because I keep ending up with an insert that looks very much like the earth mover but in stone. I tried a rectangular selection and ended up with the same result.

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


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Tue Dec 04, 2012 10:05 am  (#24) 
Offline
GimpChat Member
User avatar

Joined: Jan 12, 2012
Posts: 178
Location: Mobile, AL USA
Oregonian wrote:
patdavid wrote:
Another thing is that you could use Resynthesizer directly, instead of a helper script.

For instance, you could select another area of your image that has textures that would be good for replacement in your output, and copy/paste them to a new layer. Choose that layer as the input on the Resynthesizer dialog, and have it create a new texture for an appropriate place in your final image output.
I must be misinterpreting what you said here. I copied an area and put it on a new layer (you said copy/paste "them" to a new layer). I only put one piece of the image there. Where would I put more than one? I must be doing something wrong because I keep ending up with an insert that looks very much like the earth mover but in stone. I tried a rectangular selection and ended up with the same result.


I'm sorry, re-reading what I wrote I see that I really was not clear at all...


I really meant two different things.

1. Creative selections when using the normal "Heal Selection" command (just like normal). For instance, rather tha try to remove a large selection all at once, I'll instead try to remove portions that might have good textures nearby to draw from. (Sorry, I'm On my mobile and don't have access to a computer show an example right now.). Then I just repeat for sections of the image until I finally erase everything.

2. Using resynthesizer directly to rebuild the textures from a (possibly) completely separate portion of the image.

I'll try to upload an example later if I can find wifi.

_________________
patdavid.net
Image
PIXLS.US F/OSS Photography


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Tue Dec 11, 2012 4:25 pm  (#25) 
Offline
GimpChat Member
User avatar

Joined: Jan 12, 2012
Posts: 178
Location: Mobile, AL USA
Ok, hopefully I can make myself clear here...

When considering the base image, I try to look for areas of the object that I want to remove where the surrounding textures are candidates for good replacements.

For example, to remove the bucket of the machine, I can clearly see that textures on either side of the bucket are the best candidates to replace it... (Red is what I want to remove, Green is where the "Heal Selection" option will pull textures from - in this case I told it to use the sides).
Attachment:
File comment: Removing the bucket (Choose to sample from the Sides for best results)
bucket.jpg
bucket.jpg [ 636.98 KiB | Viewed 7264 times ]


If I then look at whats left, I can see that the arm to remove has the best textures above and below it - so I make the appropriate selection, and tell Heal Selection to only use Above and Below to get the new texture from...
Attachment:
File comment: Above and below is the best option for the arm...
Arm.jpg
Arm.jpg [ 638.26 KiB | Viewed 7264 times ]


Again, I can remove the cab and the rest of the arm by telling Heal Selection to use the sides of the selection (above and below might get part of the body of the machine, which I do not want):
Attachment:
Cab.jpg
Cab.jpg [ 637.54 KiB | Viewed 7264 times ]

_________________
patdavid.net
Image
PIXLS.US F/OSS Photography


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Tue Dec 11, 2012 4:30 pm  (#26) 
Offline
GimpChat Member
User avatar

Joined: Jan 12, 2012
Posts: 178
Location: Mobile, AL USA
For the top half of the machinery, I can again use Sides to gather the textures:
Attachment:
Half-body.jpg
Half-body.jpg [ 637.97 KiB | Viewed 7263 times ]


And I would pretty much be done using any helper scripts at this point (Like Heal Selection).

The reason is that the foreground rocks on the left of the frame will make it hard to get a clean texture to finish removing the machine body...

So what I did at this point was to switch gears to a different method.

To the right of the machine in the rock field (roughly on the same plane as the machine lower body), I just selected a section of the ground and rocks, copied it, and pasted it into a new layer called "Base".

Then I selected what was left of the machine body on the image layer, and ran Resynthesize directly.

When the dialog comes up, there is an option to choose the Input Texture source. I chose the pasted layer "Base" as the input source, and checked all the options for output. Then I just hit OK.

Resynthesizer then rebuilds a texture to fill in my selection based on the texture source, which happens to be a clean bunch of rocks and texture from a different place in the image.

And finally, here's the result (with no other touchups at all):

Attachment:
Complete.jpg
Complete.jpg [ 647.97 KiB | Viewed 7263 times ]


Hopefully I'm making myself a little clearer this time around?

_________________
patdavid.net
Image
PIXLS.US F/OSS Photography


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Tue Dec 11, 2012 6:00 pm  (#27) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Thank you patdavid for taking the time to do all of that. I'm going to hunker down with your info and give it a try. It was nice of you to go to so much trouble. :tyspin

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


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Jun 03, 2013 3:58 pm  (#28) 
Offline
GimpChat Member
User avatar

Joined: Jan 12, 2012
Posts: 178
Location: Mobile, AL USA
gramg wrote:
Where do you get the resynthesize filter?


It's available on registry.gimp.org: http://registry.gimp.org/node/27986

Or you can use one of Partha's builds that includes it (or the plugin-pack he provides):
http://www.partha.com/

_________________
patdavid.net
Image
PIXLS.US F/OSS Photography


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Jun 03, 2013 4:08 pm  (#29) 
Offline
GimpChat Member
User avatar

Joined: Jan 12, 2012
Posts: 178
Location: Mobile, AL USA
gramg wrote:
Could not find it at partha.com
Also, I was wondering if the heal selection.scm works the same?...or is that just an imitation of the real thing.


I believe it's packaged as part of his "Useful Plugins" package.

"Heal Selection" is a helper script that will call resynthesizer, so you'll need resynthesizer to be able to run it.

_________________
patdavid.net
Image
PIXLS.US F/OSS Photography


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Jun 03, 2013 4:11 pm  (#30) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
I downloaded this, decompressed, and put it in the plugins folder. Started up GIMP, but I don't see it anywhere. I have V2.6.11. Any clues?

_________________
Image


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Jun 03, 2013 4:16 pm  (#31) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
The Warrior wrote:
I downloaded this, decompressed, and put it in the plugins folder. Started up GIMP, but I don't see it anywhere. I have V2.6.11. Any clues?


Did you look under, Filters>Enhance...

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Jun 03, 2013 4:18 pm  (#32) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
Wallace wrote:
The Warrior wrote:
I downloaded this, decompressed, and put it in the plugins folder. Started up GIMP, but I don't see it anywhere. I have V2.6.11. Any clues?


Did you look under, Filters>Enhance...

Yes, not there.

_________________
Image


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Jun 03, 2013 4:22 pm  (#33) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
The Warrior wrote:
Wallace wrote:
The Warrior wrote:
I downloaded this, decompressed, and put it in the plugins folder. Started up GIMP, but I don't see it anywhere. I have V2.6.11. Any clues?


Did you look under, Filters>Enhance...

Yes, not there.


Ah... Okay.
I don't have this installed, so just thought that's where it might be.
Sorry. :oops:

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Jun 03, 2013 4:25 pm  (#34) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
It's okay. I also read it could be in the maps section, but it isn't anywhere.

_________________
Image


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Jun 03, 2013 4:40 pm  (#35) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
gramg wrote:
Do you have python installed in your gimp?

How would I know if I did?

_________________
Image


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Jun 03, 2013 4:48 pm  (#36) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
gramg wrote:
Look under Filters at the top and then at the bottom of filters it says script-fu, and python-fu if you have python.

Guess I don't. Where, and how do I install python?

_________________
Image


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Jun 03, 2013 4:57 pm  (#37) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
gramg wrote:
http://www.gimpchat.com/viewtopic.php?f=23&t=2277

I think you said you had 2.6

Sure do. Thank you. I actually found the script and plugin for the non python version.

_________________
Image


Top
 Post subject: Re: [TIP] Resynthesize filter + Unsharp Mask
PostPosted: Mon Jun 03, 2013 9:18 pm  (#38) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
I have it now. I tried it out. Pretty cool feature.

_________________
Image


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

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