Discussions (286)

Fake Tilt-Shift with The Gimp.

shygantic [deleted] says:

Here's how to use The Gimp to fake a tilt-shift. I like The Gimp.

Step 1 Set gradient mask

Open the image and toggle the switch mask on. There are three ways to do this. Click the dotted box in the bottom left had corner of the open image, got to Select > Toggle Quick Mask, or press Shift+Q. The image will now be pink. Click on the gradient tool. It looks like a square with a green gradient applied to it. Set the Gradient to Bi-linear.

Step 2 Apply mask

Pick your focal point. Decide what areas of the image you would like to be in or out of focus. Click in the center of the area you would like to be in focus and drag a line perpendicular to the direction you want to be masked. Play around with the center, size, and angle of the mask until you get what you are looking for. Toggle the switch mask off.

Step 3 Apply blur

The gimp doesn't have Lens Blur like Photoshop. We have to make do with Gaussian Blur. Go to Filters > Blur > Gaussian Blur. In the Gaussian Blur window click on Preview and maximize the window so that you can see what you are doing. Play with the blur radius until it looks right. A Blur radius between 5.0 and 10.0 seems to work most of the time. When you have the blur right, delete the quick mask be going to Select > All.

Step 4 Adjust curves

Go to Layer > Colors > Curves. Click at about x: 130 y: 210. Move the curve around until you get what you are looking for.
Originally posted at 11:27AM, 2 March 2006 PDT (permalink)
shygantic edited this topic 99 months ago.

view photostream

zachstern says:

shygantic - thanks - I love the gimp as well and I found your tutorial quite useful!
99 months ago (permalink)

view photostream

earth2marsh says:

Shygantic, nice simple steps!

May I suggest Focus Blur as an alternative to the Gaussian Blur? It gives good results with 10.00 radius, flat model, and 255 focus. (There was a windows binary version somewhere once, but it seems to have disappeared!)

Also, you might add something like "delete the quick mask" before adjusting curves in step 4.

My first T-S fake:

Originally posted 99 months ago. (permalink)
earth2marsh edited this topic 99 months ago.

view photostream

earth2marsh says:

Update: I've been playing with depth maps and the Focus Blur plugin. This one is improved:


See the description for more info. Also see:
fancy masks (see mute*'s post). Another good example here.
Originally posted 99 months ago. (permalink)
earth2marsh edited this topic 99 months ago.

shygantic [deleted] says:

The only plugins I have ever used are the defaults. I should really check them out.
99 months ago (permalink)

view photostream

earth2marsh says:

If anyone needs the Focus Blur binary, I've mirrored it here temporarily as it seems to have disappeared. Place it in your lib\gimp\2.0\plug-ins folder.
99 months ago (permalink)

view photostream

arripay says:

Thankyou so much for this explanation of tilt shift in gimp and the focus blur plug in and the explanation of how to 'install' the plug in! You have solved 3 problems of mine in 5 minutes!
99 months ago (permalink)

view photostream

Yay, it's Rob! says:

I don't own Photoshop and have always wanted to try tilt-shift.

Thanks!
99 months ago (permalink)

view photostream

GothCandy says:

From
L'Opera Garnier (Source)
L'Opera Garnier (Focus)

Comes
L'Opera Garnier in Paris, France

Settings include 30px blur, sparkle (apparently unused) and mask. Gradient is comprised of a bi-linear gradient with a radial gradient overlay at around 30% opacity, then adjusted with Levels & Curves tools.
Originally posted 98 months ago. (permalink)
GothCandy edited this topic 98 months ago.

view photostream

FaniRama says:

Nice tutorial. I've successfully created my own. It worked quite well. Thanks.
97 months ago (permalink)

view photostream

nickleus says:

Thanks for the tutorial! Gimp rules =) Here's my first tilt-shift miniature fake:

Originally posted 95 months ago. (permalink)
nickleus edited this topic 95 months ago.

view photostream

nickleus says:

Don't feel limited to using the gradient tool. You don't even need to do the quick mask thing either. You can select something with the "Select rectangular regions" or "Select elliptical regions" or "Select hand-drawn regions", then do:
Select > Invert

then go to Filters > Blur > Gaussian blur
ok

for example:

you can see that i've made clear the left and right regions of us, but we in between are blurry. this isn't the best example of a tilt shift fake, but just illustrates that it is possible to select what you want instead of just a horizontal line the entire way across the picture...
95 months ago (permalink)

view photostream

nickleus says:

Here i wrote a tutorial about how to select 2 different areas that are completely unconnected to each other (like the picture in my last post):
norgesinternettforum.no/showthread.php?p=2491
Originally posted 95 months ago. (permalink)
nickleus edited this topic 95 months ago.

view photostream

DaveSinclair says:

thanks for the tip! Just tried it for myself ...
Toy Cars
94 months ago (permalink)

view photostream

der Dominik says:

That's a great instruction. Thank you very much, shygantic. I just tried it with a photo of the Reichstag in Berlin, Germany.

Reichstag as a miniature
Originally posted 93 months ago. (permalink)
der Dominik edited this topic 93 months ago.

view photostream

jurabilis says:

I gave it a try, too:



Thank you for the lens blur plug-in.
Originally posted 89 months ago. (permalink)
jurabilis edited this topic 89 months ago.

view photostream

TTChopper says:

Does anyone have any experience installing the fblur plugin on os x? I've tried following the instructions to install it using gimptool, but I appear to get a compile error.

>CFLAGS="-O2 -DG_DISABLE_ASSERT -DFBLUR_PREVIEW=1 -DENABLE_NLS" /Applications/Gimp.app/Contents/Resources/bin/gimptool-2.0 --install Downloads/fblur-2.3.c

typing the above results in the errors below:
/Applications/Gimp.app/Contents/Resources/bin/gimptool-2.0: line 327: unexpected EOF while looking for matching ``'
/Applications/Gimp.app/Contents/Resources/bin/gimptool-2.0: line 346: syntax error: unexpected end of file
89 months ago (permalink)

view photostream

Tyler Gavett (old account) says:

what does everyone think of this: My first attempt at a tilt shift photo

am i doing anything wrong?
82 months ago (permalink)

view photostream

Roger T Wong says:

Hi, I'm using FBlur and it's working fine, but there's something about using FFTW to speed up the maths on the FBlur homepage. Has anyone had any success installing FFTW since it seems like you have to know about compiling in C which I don't know how to do!
75 months ago (permalink)

view photostream

JenniferTraina.com says:

Chicago

I'm in LOVE with this effect!
74 months ago (permalink)

view photostream

chad.latta says:

Great post. I just started this technique and its a lot of fun!

Vegas Miniature
74 months ago (permalink)

view photostream

[~_~] Strings_of_Infinity [~_~] says:

thx for posting ;)

my second trial

Fall from Grace

greetz max
74 months ago (permalink)

big_mouth [deleted] says:

Salzburg from above
74 months ago (permalink)

view photostream

Dirk Hartung says:

I tried it as well with the Focus Blur:
Minitiature view from Sky Tower, Auckland
70 months ago (permalink)

view photostream

DrDamage73 says:

Hey, great tutorial on how to create tilt shift effects in GIMP.
I tried it myself and here is the first result, enjoy :)

First attempt
Originally posted 68 months ago. (permalink)
DrDamage73 edited this topic 68 months ago.

view photostream

DrDamage73 says:

Second attempt :)

The Thames
Originally posted 68 months ago. (permalink)
DrDamage73 edited this topic 68 months ago.

view photostream

Sarah L. Carnes Photography says:

When I go to Gaussian Blur, it doesn't do anything. This is my first time with the Gimp, so I'm not surprised, lol.
68 months ago (permalink)

view photostream

itscosmo says:

Glad I stumbled on this tutorial. Here is my first attempt.

Tilt-Shift Train by itscosmo

Originally posted 67 months ago. (permalink)
itscosmo edited this topic 67 months ago.

view photostream

Ningaloo :-) says:

Am I going nuts?.... I cannot see any gradient tool in GIMP 2.6 which I've recently downloaded. So I can't even complete step 1.

Help!!
64 months ago (permalink)

view photostream

(deaf mute) says:

If Gimp has a toolbar like Photoshop, then the grad fill tool should be next to the paint bucket icon.
If not, someone else will tell you what it looks like. Or you could just like, use the HELP menu and search for "gradient fill".
Originally posted 64 months ago. (permalink)
(deaf mute) edited this topic 64 months ago.

view photostream

Ningaloo :-) says:

Thanks, I'll check it out when I get home tonight....... I have seen 3 different guides which say use the gradient tool but it is still a mystery to me.
64 months ago (permalink)

view photostream

knuckleric says:

In GIMP the term "gradient" is referred to as "blend". It's generally between the paint bucket and the pencil, or you can use Tools > Paint Tools > Blend (or the hotkey for it is L ). You'll want to choose "Bi-linear" for shape and put a check in the box next to the gradient (this will make the default "FG to BG" the inverse "BG to FG" that you'll need).
64 months ago (permalink)

view photostream

knuckleric says:

I just realized that it actually makes it easier not to invert the blend tool. Scratch that... Here are my attempts:


Dayton Tilt-Shift Faking

and

Cox Arboretum Tilt-Shift Fake
64 months ago (permalink)

view photostream

chootx says:

how do i delete the quick mask? i'm using gimp 2.6
61 months ago (permalink)

view photostream

chootx says:

No Entry Yellow Boats by chootx


My first tilt-shift. Followed the steps but without deleting the quick mask. Just went straight to Select>All after Gaussian blur. Not sure if I have done it correctly but it seems to have the T-S effect. After adjusting the curves, it also looks overexposed. Any comments?
61 months ago (permalink)

view photostream

Swishrelic says:

Thanks for the guide - after a bit of blood pressure raising fun I got there in the end :)

Does This Work?
61 months ago (permalink)

view photostream

Arne (macroporn.de) says:

nice tutorial! here is my first try


as a last step is played arround with the saturation of some colors for a better plastic model effect.
Originally posted 58 months ago. (permalink)
Arne (macroporn.de) edited this topic 58 months ago.

view photostream

Arne (macroporn.de) says:

And my second try:

58 months ago (permalink)

view photostream

mollyann. says:

thank you! this was very clear and helpful!
58 months ago (permalink)

view photostream

Andrew West Photography says:

I have learned this using the select tools and the blend tool. I like the blended look but that lacks the ability to choose a specific location. On the other hand, I like being able to select whatever I want using the select tools but that lacks any blending. Is there a way to compromise the two? I can't figure it out. :(
55 months ago (permalink)

view photostream

a-kid says:

Here is my first attempt at fake tilt-shift on GIMP: comments welcome :)

Mini-Me
54 months ago (permalink)

view photostream

fiona j. says:

my first attempt, followed this tutorial (with modifications) and used the focus blur plugin. took a bit of fiddling to work out focus blur, and i'm not sure the subject was ideal for the effect, but a good exercise!

tilt-shift miniature vancouver sunset

depth map (before cropping):
20090910-vancouversunset-faketiltshift-depthmap-DSC02123
Originally posted 48 months ago. (permalink)
fiona j. edited this topic 27 months ago.

view photostream

private miguev says:

Sweet! I just saw this Photoshop-based tutorial and though "hey, let's try with the Gimp"... and went to bed at 4am :D

It didn't occur to me to play with the curves, will try next time, not too bad so far anyway...

Sydney

Londonderry
44 months ago (permalink)

view photostream

grobwire says:

This is my attempt

tilt shift by grobwire

35 months ago (permalink)

view photostream

knehcsg says:

the focus blur based on a depth map method described above, makes it possible to have correct depth of field for objects extending to the vertical:

if you want to have a miniature/toy effect that's the way to go.

Near Ueno Station by knehcsg


and depth map:
toyueno_depthmap by knehcsg


it was my first try, the depth map is more detailed than required. there is also some issue with some of the wires not looking correctly blured.
Originally posted 34 months ago. (permalink)
knehcsg edited this topic 34 months ago.

Would you like to comment?

Sign up for a free account, or sign in (if you're already a member).