Selections and Gray Pixels

J
Posted By
JSB
Nov 19, 2003
Views
479
Replies
3
Status
Closed
I need some help with this Photoshop problem.

I’ve taken a number of digital photographs which show a forest of trees against a bald sky (no clouds – basically light blue to almost all white). I would like to use PS to replace the bald sky with another digital photograph of a deep blue sky containing an assortment of clouds. My preferred technique is to carefully make a selection of the bald sky, delete it and then place the new sky image as a layer underneath the original layer of the trees.

Here’s the problem: In any technique I’ve tried that uses a precise selection, I always seem to wind up with a small halo of gray pixels around the edges of the leaves and branches where the treetops meet the new sky. All my selections seem to be quite accurate yet the composite always has a small amount of gray pixels showing. I’ve tried the Matting>Defringe command but it doesn’t seem to help too much. (Just for the record, I have also used other techniques such as using a layer mask to bring in the new sky but I’ve found this to be too time consuming and the results are dependent on my ability to do a good job on "painting" away the bald sky).

I need something which gives me a result which looks natural and not obviously composited. Are there any tricks or alternate techniques which could produce the results I’m looking for? Any suggestions for helping me with this problem would be greatly appreciated. Thanks.

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

WS
Warren Sarle
Nov 19, 2003
"JSB" wrote in message
I’ve taken a number of digital photographs which show a forest of trees against a bald sky (no clouds – basically light blue to almost all white). I would like to use PS to replace the bald sky with another digital photograph of a deep blue sky containing an assortment of clouds. My preferred technique is to carefully make a selection of the bald sky, delete it and then place the new sky image as a layer underneath the original layer of the trees.

Here’s the problem: In any technique I’ve tried that uses a precise selection, I always seem to wind up with a small halo of gray pixels around the edges of the leaves and branches where the treetops meet the new sky. All my selections seem to be quite accurate yet the composite always has a small amount of gray pixels showing. I’ve tried the Matting>Defringe command but it doesn’t seem to help too much. (Just for the record, I have also used other techniques such as using a layer mask to bring in the new sky but I’ve found this to be too time consuming and the results are dependent on my ability to do a good job on "painting" away the bald sky).

A layer mask does not require any painting. Make your selection as usual and use Layer>Add Layer Mask to convert the selection to a layer mask. Use Filter>Other>Maximum, Filter>Other>Maximum, and Filter>Blur>Gaussian Blur to fine-tune the mask.
J
jenelisepasceci
Nov 19, 2003
JSB wrote:

I need some help with this Photoshop problem.

I’ve taken a number of digital photographs which show a forest of trees against a bald sky (no clouds – basically light blue to almost all white). I would like to use PS to replace the bald sky with another digital photograph of a deep blue sky containing an assortment of clouds. My preferred technique is to carefully make a selection of the bald sky, delete it and then place the new sky image as a layer underneath the original layer of the trees.

Here’s the problem: In any technique I’ve tried that uses a precise selection, I always seem to wind up with a small halo of gray pixels around the edges of the leaves and branches where the treetops meet the new sky. All my selections seem to be quite accurate yet the composite always has a small amount of gray pixels showing. I’ve tried the Matting>Defringe command but it doesn’t seem to help too much. (Just for the record, I have also used other techniques such as using a layer mask to bring in the new sky but I’ve found this to be too time consuming and the results are dependent on my ability to do a good job on "painting" away the bald sky).

I need something which gives me a result which looks natural and not obviously composited. Are there any tricks or alternate techniques which could produce the results I’m looking for? Any suggestions for helping me with this problem would be greatly appreciated. Thanks.

If the trees are darker than the replacement sky, try and set the mode of the top layer to darken. If not, try to improve your mask by using either the green or the blue channel to create the selection. HTH, Peter
J
JSB
Nov 19, 2003
This is great. With a little modification, this technique does the job. I seemed to get better results using the Minimum filter and was able to really get it right when I applied a Fade Minimum right after the filter was applied. Thank you for your time and help.

On Wed, 19 Nov 2003 06:35:57 GMT, "Warren Sarle" wrote:

"JSB" wrote in message
I’ve taken a number of digital photographs which show a forest of trees against a bald sky (no clouds – basically light blue to almost all white). I would like to use PS to replace the bald sky with another digital photograph of a deep blue sky containing an assortment of clouds. My preferred technique is to carefully make a selection of the bald sky, delete it and then place the new sky image as a layer underneath the original layer of the trees.

Here’s the problem: In any technique I’ve tried that uses a precise selection, I always seem to wind up with a small halo of gray pixels around the edges of the leaves and branches where the treetops meet the new sky. All my selections seem to be quite accurate yet the composite always has a small amount of gray pixels showing. I’ve tried the Matting>Defringe command but it doesn’t seem to help too much. (Just for the record, I have also used other techniques such as using a layer mask to bring in the new sky but I’ve found this to be too time consuming and the results are dependent on my ability to do a good job on "painting" away the bald sky).

A layer mask does not require any painting. Make your selection as usual and use Layer>Add Layer Mask to convert the selection to a layer mask. Use Filter>Other>Maximum, Filter>Other>Maximum, and Filter>Blur>Gaussian Blur to fine-tune the mask.

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

Related Discussion Topics

Nice and short text about related topics in discussion sections