RSS/Atom feed Twitter
Site is read-only, email is disabled

focus blur

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

focus blur Frank McCormick 01 Oct 17:36
  focus blur Alexandre Prokoudine 01 Oct 17:58
   focus blur Frank McCormick 01 Oct 18:47
  focus blur Ofnuts 01 Oct 19:00
Frank McCormick
2010-10-01 17:36:46 UTC (over 14 years ago)

focus blur

Hello all--

I have a jpg which I would like to blur the background (focus blur I guess) - But I would like the blur to be gradual - when I have done this in the past the line between blurred and unblurred is too sharp. I have tried the feather selection, but it doesn't seem to work very well. Any suggestions ??

Thanks

Alexandre Prokoudine
2010-10-01 17:58:14 UTC (over 14 years ago)

focus blur

On Fri, Oct 1, 2010 at 7:36 PM, Frank McCormick wrote:

Hello all--

   I have a jpg which I would like to blur the background (focus blur I guess) - But I would like the blur to be gradual - when I have done this in the past the line between blurred and unblurred is too sharp. I have tried the feather selection, but it doesn't seem to work very well.  Any suggestions ??

Guess what...

http://sudakyo.hp.infoseek.co.jp/gimp/fblur/focusblur_e.html http://www.registry.gimp.org/node/8236 (older WIndows build)

Alexandre Prokoudine http://libregraphicsworld.org

Frank McCormick
2010-10-01 18:47:16 UTC (over 14 years ago)

focus blur

On Fri, 01 Oct 2010 19:58:14 +0400 Alexandre Prokoudine wrote:

On Fri, Oct 1, 2010 at 7:36 PM, Frank McCormick wrote:

Hello all--

   I have a jpg which I would like to blur the background (focus blur I guess) - But I would like the blur to be gradual - when I have done this in the past the line between blurred and unblurred is too sharp. I have tried the feather selection, but it doesn't seem to work very well.  Any suggestions ??

Guess what...

http://sudakyo.hp.infoseek.co.jp/gimp/fblur/focusblur_e.html http://www.registry.gimp.org/node/8236 (older WIndows build)

Looks like what I need----Thanks !!

Ofnuts
2010-10-01 19:00:25 UTC (over 14 years ago)

focus blur

On 01/10/2010 17:36, Frank McCormick wrote:

Hello all--

I have a jpg which I would like to blur the background (focus blur I guess) - But I would like the blur to be gradual - when I have done this in the past the line between blurred and unblurred is too sharp. I have tried the feather selection, but it doesn't seem to work very well. Any suggestions ??

Thanks

A slightly more manual method using a filter I wrote, where you can select what part of the image remains completely sharp...

1) get and install my WrapMap filter (requires python support) from http://sourceforge.net/projects/gimp-wrapmap/. I suggest you play with it a bit to get acquainted first.

2) duplicate your sharp image (let's call it the 'Sharp" layer) to another layer (("Blurred"), and blur it to the maximum blur you want to get. Put it on top.

3) add a layer to that image (the "Map", which should as wide as your transition area (for performance reasons, avoid being bigger that 200 pixels). This layer can also be in a separate image...

4) fill "Map" with a left to right gradient, black to white.

5) In "Sharp" select the part that should be kept sharp (lasso selection, scissors, whatever suits you)

6) That's where is starts being a bit clever: add a layer mask to "Blurred"

7) select the layer mask, fill the selection with black

8) still on the layer mask, apply the Wrap Map filter. It wil wrap the gradient in "Map" around your selection.

9) So now your layer mask has a full black spot corresponding the the sharp part of the picture, surrounded by a black to white area which is your blur transition

10) Put "Blurred" on top, and make "Map" invisible if it's in the same image, and you are done.

11) Using the the various color tools (curves, levels, contrast, threshold) on the layer mask, you may alter the linearity of the gradient and so adjust how the blur progression happens.

An example is available here; http://dl.free.fr/cnRwtXe8s

PS: If you need a transition significantly wider than 200 pixels, I suggest that you prepare the selection/blur map on a scaled down image (you can apply WrapMap on a plain layer in this case), then scale up the layer to the right dimension, and copy/paste it to the layer mask. If you don't know how top copy/paste to a layer mask, it's explained here: http://blog.irisquest.net/2008/02/gimp-using-image-layer-layer-mask