Post Reply 

Remove out of focus foreground

Jul 1, 2014, 14:46
Post: #1
Remove out of focus foreground
Hi Everyone,

I recently got into photography. I have the raw image. This was at a race and I was clicking images from behind the mesh railing. The railing have caused part of the image to be bright. Is there any way to get rid of the two bright bands.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Jul 1, 2014, 16:36
Post: #2
RE: Remove out of focus foreground
Thanks ofnuts. I was using the autofocus of my new mirrorless camera. Thanks for the procedure. I was just using this image to learn how to repair it.

Thanks

(Jul 1, 2014 16:32)ofnuts Wrote:  
(Jul 1, 2014 14:46)illuminati5288 Wrote:  Hi Everyone,

I recently got into photography. I have the raw image. This was at a race and I was clicking images from behind the mesh railing. The railing have caused part of the image to be bright. Is there any way to get rid of the two bright bands.

If you start the Histogram dialog, and do a selection in the trees, and compare to the same histogram of an equivalent selection here the same trees are covered by the railing you get this:



It makes it clear that most of your problem is that the range of values has been shrunk at the low end, severely reducing contrast. Making a selection over the low-contrast areas, then using levels to stretch the low end will improve things:



You will of course make a nicer selection, better blended with the rest). You can also try to add a bit of saturation.

This said, given that the bike is hopelessly blurred, I don' t think it's worth spending much time on that picture, unless you have a fetish for orange plastic safety nets, because that's the only thing in focus...

Next time, get much closer to the railing, it will be completely out of focus and will just create a slight contrast loss over the whole picture, easily recovered.

Your picture also demonstrates that the responsiveness of the autofocus of hybrid cameras is still not as good as the AF of a DSLR. As the focal length increases, the focus accuracy becomes very important. Since you are at a foxed distance from the track, you can do a manual focus on the track, and then wait for the bikes. Better focus, and no shutter delay...
Find all posts by this user
Quote this message in a reply
Jul 2, 2014, 08:31 (This post was last modified: Jul 2, 2014 08:32 by iForStyle007.)
Post: #3
RE: Remove out of focus foreground
Here's one more way(maybe quick) using the quick mask (shift + Q)

In the animation, the last frames are sharpened so you can read the text, but the values are rough estimates of your results.
To pause & step frame by frame, either open in quicktime or Gimp

1. Duplicate layer (to see before & after)
2. (on duplicated layer) Enable quick mask
- either by clicking the red square on the bottom left of the canvas, or pushing (shift + "Q" )

3. Choose the eraser tool Eraser and erase the red around the ALL affected areas first.
Use the Paintbrush paintbrush with color black to repaint the mask.

4. Click the quick mask button to make the selection. You can re-edit if you need to select more, turn the quick mask back on and use the Eraser eraser tool to mark more of the area.
- To cover a little outside of the selection do
"Select > Grow.. > 5 px"

5. Next use "Tools > GEGL OPERATIONS... > Levels" and use similar settings in animation
6. I then modified the quick mask to only include the tree background (painted the mask back on the orange fence) then I re-did the levels.

- You may want to try "Colors > Brightness-Contrast" sometimes to match patches

*The great thing about the quick mask is that you can modify the mask pretty much on the fly

7. When your done, you'll it may look a little splotchy, change the layer mode to "Hard light"(last frame of animation)
This will even out the tones more.


Attached File(s) Thumbnail(s)
   
Visit this user's website Find all posts by this user
Quote this message in a reply
Jul 2, 2014, 14:37
Post: #4
RE: Remove out of focus foreground
Thanks iForStyle007. It worked very well.

(Jul 2, 2014 08:31)iForStyle007 Wrote:  Here's one more way(maybe quick) using the quick mask (shift + Q)

In the animation, the last frames are sharpened so you can read the text, but the values are rough estimates of your results.
To pause & step frame by frame, either open in quicktime or Gimp

1. Duplicate layer (to see before & after)
2. (on duplicated layer) Enable quick mask
- either by clicking the red square on the bottom left of the canvas, or pushing (shift + "Q" )

3. Choose the eraser tool Eraser and erase the red around the ALL affected areas first.
Use the Paintbrush paintbrush with color black to repaint the mask.

4. Click the quick mask button to make the selection. You can re-edit if you need to select more, turn the quick mask back on and use the Eraser eraser tool to mark more of the area.
- To cover a little outside of the selection do
"Select > Grow.. > 5 px"

5. Next use "Tools > GEGL OPERATIONS... > Levels" and use similar settings in animation
6. I then modified the quick mask to only include the tree background (painted the mask back on the orange fence) then I re-did the levels.

- You may want to try "Colors > Brightness-Contrast" sometimes to match patches

*The great thing about the quick mask is that you can modify the mask pretty much on the fly

7. When your done, you'll it may look a little splotchy, change the layer mode to "Hard light"(last frame of animation)
This will even out the tones more.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Is the "Change Foreground Colour" window dockable ? Ceriano 2 166 Oct 14, 2017 17:22
Last Post: Ceriano
  remove alpha channel on export? peekofartertainment 1 234 Jul 22, 2017 08:08
Last Post: ythgilb
  Remove selective cast/stain The_JinJ 1 191 Jun 28, 2017 14:28
Last Post: ythgilb
  Can't remove white lines anon_private 1 257 Oct 5, 2014 12:47
Last Post: rich2005
  how to remove watermark?? kenny1999 2 1,891 Sep 30, 2014 20:14
Last Post: rich2005

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS