If you bargain with background removal and masking in Photoshop, then this definitely happened to you,

You are trying to quickly remove the background using something like the "quick option tool" or "select subject area", and in one case you have a selection and you add together a layer mask, you terminate upwardly with horrible looking border halo because of the fringing

And information technology ruins your composite considering information technology looks bad specially when you add together a darker background.

The adept news is, y'all won't struggle with this outcome ever again because In this tutorial, you will learn how to remove Edge halo in Photoshop ( likewise known as edge fringes) using different methods.
this tutorial is going to be all about removing Edge fringes, so with all the techniques that you are going to larn today you will be able to remove edge halo fifty-fifty if 1 method did not work

And each of these methods will come up in handy, Depending on the image you're trying to mask.

Before we begin, I encourage you to download the project files down beneath and follow along, you lot will learn better by practicing and y'all will recollect these techniques in the time to come

Ok, let's get-go with the get-go method

1 – how to remove edge halo using the "shift edge" slider in the select and mask console

I have the first case image and I already removed the groundwork using the select subject push, and then I used the refine edge castor to mask the pilus.

I also created a layer mask, and if yous are similar me and always work with layer masks, you tin still admission the select and mask panel, first, you need to brand sure that the layer mask is selected. And then go to the properties console, and click on the "select and mask" button.

remove edge halo

to see the edge halo better switch to the "on blackness" view from the view mode at the top,  y'all tin can too control the opacity of the properties using the opacity slider.

how to remove edge halo in Photoshop

Now, to remove the fringing, you tin use the "shift edge" slider to shift the border inside by dragging information technology to the left and get rid of that fringing.

how to remove edge halo in Photoshop

So this worked really good, and it got rid of that fringing, But if we take a look at the hair, you lot'll see that information technology completely destroyed the edges of the hair. And this volition happen to y'all if you take a circuitous layer mask, So we're going to need to practice some workaround to avoid this problem.


If this is non the example for you and it fixed your prototype, good for you, all yous have to do is change the output mode to layer mask and click ok.

For everyone else, you are going to click on cancel for now, And what you demand to do is duplicate the layer by clicking on ctrl + J , then plow off the original layer, And in the copied layer, again, y'all're going to click on the layer mask, click on the select and mask button, and employ the shift edge slider again to get rid of the fringing, Once you're happy with that, you're going to make certain the output is set to layer mask and so click Ok.

how to remove edge halo in Photoshop

Now you can add together a solid color adj layer and alter the color to black and then you can see the edges a picayune bit ameliorate.
And at present what we need to do is restore that hair from the original layer.
And then what you need to do is select the layer mask of the original layer, and and so take the "lasso tool" L, and use it to make a selection around the pilus, in this case, we need to restore the original mask of the pilus

how to remove edge halo in Photoshop

we actually need to select everything just the pilus to fill it with black and hide, so click on crtl + shift + i to capsize the selection, and then fill the selection with black, Then black in my instance is my background color, So I'grand going to click on ctrl + backspace, and then, click on ctrl/cmd + D to deselect.

how to remove edge halo in Photoshop

If you did everything correctly, you take the fringing removed and you also have the layer mask of that hair intact.

So this is an easy style to rapidly remove the edge fringing using the select and mask panel, now I'm going to show you now a slightly different technique to remove fringing.

2 – Using The "contract Selection" Method To Remove Border Halo

Erstwhile the Shift edge slider doesn't make much of a departure and won't become the job, and then this method will let you to control how many pixels yous want to remove from the edge
on our next instance, we have a different image.

And this time we take a simpler layer mask and we besides have some infringing that we demand to remove.
So once you accept a layer mask active, what you're going to do is load it every bit a choice past ctrl/cmd clicking on the layer mask thumbnail,
Once y'all take the selection active, go to select > modify > contract.

So for this image, I'thousand going to contract the selection by two pixels, and I'm going to click. Ok.

And now if you zoom in, you will see that the selection is pushed within past two pixels, And correct now the field of study is selected and we demand the opposite, then again, we're going to need to invert the selection by clicking on ctrl + shift + i,
and now Nosotros have everything selected, but the subject, and also at that place are two pixels selected of the subject, and that is the fringing that nosotros need to remove.

now you tin hibernate the selection to see a petty bit ameliorate, past clicking on ctrl + h, And now yous demand to fill the groundwork and likewise those 2 pixels with black to hide it, And so using the shortcuts, if your background color is black, click on ctrl + backspace, if information technology'south the reverse, click on alt + b infinite or optn + delete

and as you can see by removing those ii pixels, we got rid of that fringing and at present we have a much better layer mask.

Then this technique worked very well in this image because we accept a simple layer mask and the fringing is all over the edges, But in some cases, you lot may want to remove fringing from certain areas and not the whole image. And so in that case, I'1000 going to quickly show you how you can do that.

Doing this is very simple, but like we did before, you demand to contract the selection by the amount you lot demand, then capsize the selection (so you have the background and the fringing selected), and at present instead of filling the background with black, you lot're going to have the brush tool, make sure the Layer Mask is selected and also the foreground color is black

now, click on control + H again to hide the selection so you can see the edges a little chip meliorate, and and then y'all're going to simply apply the brush tool and paint on whatever areas that you want to remove the fringing from.

And as you can see, nosotros can easily use the brush tool to remove that fringing from only certain areas.

3 – Using The "Minimum Filter" To Remove Edge Halo

This is another technique that evolves using the minimum filter, and will likewise allow you to choose how much you desire to contract the layer mask and where using selections

So to to remove fringing using this method, you'll need to accept your layer mask selected offset, Then become to filter > other > minimum.

Then basically what this filter's going to practice is push the edges of your layer mask inside, therefore it's going to remove the fringing from the edges.

much like using the contract selection, but using this filter, you get to see the change with live preview, and y'all can use the preview checkbox to see the before and later on.
So for this image, I started with a 2px radius, this worked well in some areas, simply in other areas, we nevertheless have fringes that didn't go away, so click ok to accept the changes for now

At present nosotros need to further remove the fringing from more than areas, so we can use this filter over again selectively, you tin can take the lasso tool past click on S , And make a pick around all the areas that has the fringing

Tip:
Using selection tools, if you want to add to a selection, you lot tin can concur shift, and if you lot want to delete from a selection, apply alt or optn

Once you accept all fringing areas selected, you tin utilize the filter again, and you lot can utilize the keyboard shortcut ctrl + alt + F to utilize the last filter (which is the minimum filter), and you can as well do information technology multiple times until you get rid of all the fringing.

now click on command + D to deselect, and we pretty much removed the fringes everywhere, except for a minor area of the hair that I left on purpose, And in that case, we can easily set up that using the clone stamp tool.
Here is what to exercise to remove fringing from hair
You're going to add the new layer on tiptop, and then add a clipping mask using ctrl + alt + Thou or cmd + optn + G

And so everything we pigment within the clipped layer will simply exist visible inside the choice and won't exceed the layer mask boundaries, And so now you tin can click on south to accept the clone stamp tool, make sure that the clone stamp tool settings is set to "electric current and below", and then you're going to use alt/option To sample from inside the hair and pigment on the edges. And equally you lot can see, this will remove whatever fringes from the pilus.

And at present you can add any groundwork that we want and the edges will yet wait very good and darker or lighter backgrounds.

And then that's how to remove fringing from your images in Photoshop. If you enjoyed this tutorial, allow me know what y'all call up in the comments beneath

make sure to visit these tutorials that will show you How to supercede complex skies in Photoshop and the all-time style to mask fur in Photoshop

Other than that, I hope you lot guys enjoy this tutorial. Thank yous guys so much for watching and I'll encounter you in my adjacent tutorial. ✌