Results 1 to 5 of 5

Thread: 4 ways to get Variable Blurs in GIMP

  1. #1

    Tutorial 4 ways to get Variable Blurs in GIMP

    Over in my Not so Random Coastline Tutorial I suggested using a variable blur to control the randomness of the coastline. I had a few pm's asking how to do this, so I will give you four ways (in four posts).

    #1 - Feathered Selection, Bigger Blur
    Start with your base shape:
    vb_fs00001.png

    Blur it the lesser amount (20 px here):
    vb_fs00002.png

    Use the lasso tool to make a selection around the area you want to have a larger blur. Set it to a 100px feather. Leave lots of space:
    vb_fs00003.png

    Blur it again, with the greater amount (100px here):
    vb_fs00004.png

    The result:
    vb_fs00005.png

    -Rob A>

  2. #2

    Post

    #2 Feathered Selection - Curves Adjust
    Start with the base shape:
    vb_cv00001.png

    Blur it the larger amount (100px):
    vb_cv00002.png

    Use the lasso tool to make a selection around the area you want to have a smaller blur. Set it to a 100px feather:
    vb_cv00003.png

    use the curves dialog as shown. This pulls the shades closer to the middle. The advantage here is by moving the slope left and right you can move the tighter band in and out:
    vb_cv00004.png

    The result:
    vb_cv00005.png

    -Rob A>

  3. #3

    Post http://forum.cartographersguild.com/newreply.php?do=postreply&t=2016

    #3 Layer Masks

    Start with the base shape:
    vb_ma00001.png

    Duplicate this layer. Blur the bottom one the lesser amount, and the upper one the greater amount (I'm not showing this, as it is the same as the other methods).

    Create a layer mask on the upper layer and fill the layer mask with a B/W gradient. With layer masks, white is opaque, black is transparent. Here is the mask I used:
    vb_ma00002.png

    The final result, showing the layers and the layer mask:
    vb_ma00003.png

    Note: To use this, you will either need to merge the two layers together or do a "copy visible" then "Paste as new layer".

    -Rob A>

  4. #4

    Post

    #4 Using the Focus Blur Plugin

    This provided the "sweetest" results, creating a true variable blur, rather than a blend between two blurs, as the other three do. The plugin is computationally intensive, however. This sample took 4 minutes to run on my machine...

    If running Linux, head over to the plugin home page and get the plugin and install it as per the instructions there. There is also a windows binary mirror here but I don't know for how long...

    Start with the base image:
    vb_fb00001.png

    Create a new layer, and fill it with a gradient that will be the focal blur map:
    vb_fb00002.png

    Run the Focal Blur plugin. Set Focus to 255 (white in the map will be in focus, the more black, the more blurred). Select the distance map option, and select the map you made. The bigger the radius here, the longer it will take to run... start small and work it up. Here were my settings:
    vb_fb00003.png

    The result:
    vb_fb00004.png

    Notice how the blur blends smoothly from the narrow area to the wide area. Nice...

    -Rob A>

  5. #5
    Community Leader Facebook Connected torstan's Avatar
    Join Date
    Jul 2007
    Posts
    4,199

    Post

    It can also be done with quick masks - very similar to the feathered lasoo method.

    Start with the standard circle and run a light blur over it so you have something like this to start with:

    firstblur.jpg

    Now click the quick mask button (circled in green on the following image). It should now look like this:

    mask.jpg

    Now use the gradient tool to get a nice graded selection. Drawing over the image with white creates a see-through areas of the mask (the red) that will be interprested as the selection later on. Therefore using a gradien tool we can leave some areas black (unselected) and then as it fades to white, the area becomes selected. Using the gradient like this:

    mask2.jpg

    ... should give a quick mask that looks like this:

    selection1.jpg

    Now click the quickmask button again to turn the quickmask into a selection. You should now have what looks like a rectangular selection around the bottom. With this selection in place, run the Gaussian Blur filter again at 100px to get the following:

    final.jpg

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •