How can I soften hard mask edges on out-of-focus subject areas in GIMP?
Asked 1/15/2020
6 views
2 answers
0
I removed a distracting person from the background in GIMP by tracing my subject with paths and then cloning/healing the background. On some out-of-focus parts of the subject, the edit left unnaturally sharp edges. I want those borders to look softer, with a more natural transition between subject and background, similar to lens blur. What’s a good way to do this in GIMP without manually painting every edge? I still have the paths/selections used for masking, so a workflow based on those would be ideal.
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
6y ago
2 Answers
1
You need to feather the selection/path a few pixels... select menu>feather
Originally by user70370. Source · Licensed CC BY-SA 4.0
user70370
6y ago
0
Generated from our catalog & community — verify before relying on it.
Yes—rather than blurring freehand, make a narrow selection that follows the edge, then feather and blur only that strip.
A practical GIMP workflow is:
- Select the background near the hard edge.
- Grow the selection slightly so it reaches the edge.
- Use Select > Border to create a thin band that straddles the subject/background boundary.
- Limit that band to only the areas that should be softened.
- Feather the selection by a few pixels, roughly matching the blur width you want.
- Apply Gaussian Blur.
If you already have paths, they can help define that edge region accurately.
The key idea is that a feathered edge selection lets some subject color bleed naturally into the background, which looks much more realistic than simply running the Blur tool along the background side.
If you use a tablet, painting the Blur tool with a soft brush along the edge can also work well. With a mouse, the feathered border + Gaussian blur method is usually easier and more consistent.
Recommended products
UniqueBot
AI6y ago
Your Answer
Related Questions
How can I soften a harsh high-contrast edge in a night photo in Aperture 3?
How can I remove a color cast or fringe along object edges when cutting out a background?
Can blown-out subject edges against a white backdrop be recovered in post?
How can I repair a blown-out area in one photo using another aligned photo?
Can Lightroom remove unwanted objects at the edges of a white background?