Quote:
|
Originally Posted by tb5821 Thanks so much!! it worked pretty good after a few tries, although I would like to directly fix the fringing, what is the best way to go about it? |
I'm going to describe the method that is by far the easiest to understand and explain (I swear I'll do a tutorial on this someday!) First, let's look at how I construct the basic mask extraction (no defringing yet) in the layer stackup--figure 1.
I like to containerize things into groups. So you see I have a group called "Result" which contains the entire final image--keeps it separate from all of my mask creation stuff I described in my previous post. Because it's in a group, I can quickly flip it on and off to compare with the original so I can see how I'm doing. Inside that group is another group called "Extract Group" and I have applied my mask (call it mask 1) to that group so that everything I put in that group gets masked (you'll see why that's handy in a minute.) For now, all it has is the original image. Under that group is the new background which is just plain white.
Now it's time to remove the dark fringe. Create a new blank layer above the original as shown in fig 2. Now, do the following steps:
1. Ctrl-click the mask thumbnail on the extract group--this generates a selection (marching ants) from the mask
2. Go to menu "select->modify->contract". Choose 4 pixels.
3. Go to menu "select->feather". Choose 1
4. Go to menu "select->inverse".
4. Select the blank layer thumbnail (called "defringe" in fig2).
5. Click the create mask button in the layer palette--this puts your selection into a mask.
You've created a second mask (call it mask 2) that is like the first except it is inverted and the object silhouette is shrunken and has some extra feathering. The combination of mask 2 and mask 1 effectively creates a fringe mask--everything you paint on that blank layer will be constrained to the fringe area near the edges of the hair. The layer stackup should now look like fig 3.
What happens next is incredibly variable, but for this simple case, I just used the clone tool (be sure to check "sample all layers"). Sample some hair, then paint on the fringe areas. You are simply covering the dark fringe with color from the body of the hair. The double mask allows you to be real sloppy--if you have a steady artistic hand, you could probably do without mask 2 for this simple case. The result is shown in fig 4 (white background) and fig 5 (black background). It looks just as good on any other color/texture/photo background.
Note that sometimes the exposure of the object simply doesn't look right with the new background. In such cases, just put a curve adjust layer at the top of the extract group. In this case you now have Mask 1 applied to three layers and so the benefit of the group is more obvious.
For complex scenarios, I might process and blend the defringe area (blur/highpass) in a way that allows me to alter the overall color and brightness of the fringe while keeping the original texture (this in itself could be a short tutorial, so I won't get into it here.) In this case, it didn't matter--simple cloning or even just brushing works.
At this point, it's a good idea to try the result on different backgrounds to make sure it looks good, but I think you'll find it looks natural on all backgrounds. If it doesn't, you can do a bit more cloning or painting or possibly even redo mask 2 with different amounts of contracting and feathering. With practice, you'll understand how to set these values.
For the benefit of Elements users, you can get along without groups by using clipping masks. It's more time consuming, but then what'd ya expect for 70 bucks?!

. Paintshop Pro users can apply the method directly with little translation.
And that's it! Long-winded explanation for a pretty simple method. I call it and all similar methods the "two-mask method."
Bart