Jump to content

Gaussian Blur only the edges of a selection?


Recommended Posts

Is there a way to Guassian Blur only the edges of a selection?

For example, when pasting a selection on the top of another bitmap, the edges are usually harsh. I usually use the Lasso to carefully select around the edges and apply a Guassian Blur (2) to the edges. This makes the pasted area appear more naturally like part of the original picture.

edges.jpg

Is there a better way to do this?

Link to comment
Share on other sites

Heh... I almost clicked the Cancel button in your screenshot...

Anyway, the way I was shown how to do it is:

Paste the image into a new layer

Duplicate the layer and move it below the original

Gaussian Blur the new layer with a radius of 2

Duplicate the blurred layer as necessary

It works quite well in most cases.

  • Like 1

I am not a mechanism, I am part of the resistance;

I am an organism, an animal, a creature, I am a beast.

~ Becoming the Archetype

Link to comment
Share on other sites

Yep. As long as you don't have any trailing edges of the background color from the image from whence you cut it, it make a nice smooth edge.

I am not a mechanism, I am part of the resistance;

I am an organism, an animal, a creature, I am a beast.

~ Becoming the Archetype

Link to comment
Share on other sites

When the background is all alpha, I will


  • [*:84a8b]select the alpha,
    [*:84a8b]make a new layer,
    [*:84a8b]fill the selection with black,
    [*:84a8b]blur the new layer,
    [*:84a8b]simultaneously select both the alpha and black (fitting the tolerance well)
    [*:84a8b]invert selection,
    [*:84a8b]switch to the sharp edge layer,
    [*:84a8b]blur about 1 or 2 px

hope i didn't lose you.

~~

Link to comment
Share on other sites

When the background is all alpha, I will


    [*:f673a]select the alpha,
    [*:f673a]make a new layer,
    [*:f673a]fill the selection with black,
    [*:f673a]blur the new layer,
    [*:f673a]simultaneously select both the alpha and black (fitting the tolerance well)
    [*:f673a]invert selection,
    [*:f673a]switch to the sharp edge layer,
    [*:f673a]blur about 1 or 2 px

hope i didn't lose you.

Yeah, you lost me. Could you show me what you mean?

Link to comment
Share on other sites

When the background is all alpha, I will


  • [*:d42e7]select the alpha,
    [*:d42e7]make a new layer,
    [*:d42e7]fill the selection with black,
    [*:d42e7]blur the new layer,
    [*:d42e7]simultaneously select both the alpha and black (fitting the tolerance well)
    [*:d42e7]invert selection,
    [*:d42e7]switch to the sharp edge layer,
    [*:d42e7]blur about 1 or 2 px

hope i didn't lose you.

You lost me too... be more descriptive in the "simultaneously select both alpha and black".

sig6rj3.png
Link to comment
Share on other sites

Wow, great tutorial, thanks for sharing. And I understood it, here you go:

Just a small test scenario:

1uv8.th.gif

1) Select what you want the boarder from

2ir5.th.gif

2) Create a new layer, switch to it and fill the mask with black.

3) Deselect the mask and apply a blur on the newly created layer.

3xn7.th.gif

4) Now choose the magic wand with 0% tolerance. Select the (transparent) background and the black interiour (holding CTRL on the second click).

4gt9.th.gif

5) Now invert the selection. Here you go and just have the boarder selected.

6) Delete the created temp layer. You can now apply your blur (or whatever you want) just on the boarder.

5wm0.th.gif

Link to comment
Share on other sites

  • 3 years later...

he was just comment on disabled's mini tut that explains lilnab's method. I think that should go in the pdn tips and tricks because it is brilliant :D

 

"Clearly it's a very serious and literal meaning. If you're not solving physics equations then get off my lawn!-Rick Brewster Paint.net Lead Developer"

Link to comment
Share on other sites

I'm pretty sure that user is a low-level spammer, given the content of their sig (now removed)...

But yeah, this here gets locked. ;)

I am not a mechanism, I am part of the resistance;

I am an organism, an animal, a creature, I am a beast.

~ Becoming the Archetype

Link to comment
Share on other sites

Wow. I think this is the worst necro I've ever seen.

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...