Mobile app version of vmapp.org
Login or Join
Odierno310

: How can I make a screenshot look like a photograph taken of a real surface? Possible Duplicate: How to get this blur texture effect in photoshop? I'm starting from a plain old

@Odierno310

Posted in: #Blur #Gimp

Possible Duplicate:
How to get this blur texture effect in photoshop?




I'm starting from a plain old screenshot, and I'd like it rotated in 3d, with more distant parts more blurry. Is there a simple way to achieve this effect? I'm mostly using GIMP but tricks with any other tools would also be appreciated!

The result of what I'm trying to achieve:

10.08% popularity Vote Up Vote Down


Login to follow query

More posts by @Odierno310

6 Comments

Sorted by latest first Latest Oldest Best

 

@Shakeerah625

As a complement for the very good answers given before, there is a comprehensive tutorial about this technique on layersmagazine.com.

Okay, the screenshots are taken in photoshop but the technique is there, and it is the same whether you're working with gimp or any other software.

10% popularity Vote Up Vote Down


 

@Sarah814

I used vanishing point to get the angle.
Copied the layer.
Applied lens blur to match the blur part to the most blurry part in your image.
Applied mask, and oval gradient at right to mask blur, and also applied tilted reflected gradient.
Then, applied black gradient left to right and somewhat titled and set mode to desaturate lowered opacity.
Then, copied the layer and set the mode to multiply and adjusted the opacity of it as well.
Crop out the empty parts.

10% popularity Vote Up Vote Down


 

@Ravi4787994

Your example looks like a real photo (amongst other things, the moire is a give-away). Sometimes the best approach is the most obvious one.

1. Display the image on your screen.

2. Take a photo of it.

Honestly, that's a better way to go than spending hours using digital effects and creating something that's likely to look unrealistic.

10% popularity Vote Up Vote Down


 

@Murray976

I'm not a Gimp user, so I won't be able to help you much there, but I can give you some suggestions on how to create this effect in Photoshop. There are basically 2 components to this. First, you need to simulate an LCD display or some other physical surface the image is to be projected onto. Secondly, you need to create perspective cues via 3D perspective and a tilt-shift photography effect.

Part I: Faux LCD Projection

An LCD screen is typically comprised of an RGB pixel grid. There are varying subpixel geometries, but the most common has vertical bands of red, green, blue in that order. This means that when you zoom in on the interface between a light and dark region, there is a slight red tinge on the left border of the illuminated area, and a slight blue tinge on the right border. Additionally, you can usually see the vertical rows that make up the overall pixel grid (often referred to as "scan lines" even though that's a term from CRT displays).

So to simulate this part is quite simple:


To simulate the RGB subpixels, just nudge the red channel over to the left (via the Channels pane), and nudge the blue channel to the right. Since the smallest amount you can alter a raster image is a full pixel, you generally want to start with a very high resolution image or this technique will up-play the subpixel offset too much (effectively representing a single subpixel in your virtual image with a full pixel in your actual image).
The "scan lines" are also easy to reproduce. Start by create a 1x2 pixel transparent image; fill in one pixel; select the document and Define Pattern... (found in the edit menu).
Next create a new layer over your source image and fill it with your new scan line pattern. Set the blending mode to Soft Light and opacity to ~20%.
Duplicate that scan line layer, but this time set the blending mode to Normal and opacity to ~6%. Again, a high resolution source image helps here, as you don't want your scan lines to be disproportionately large, though that can be somewhat attenuated here by adjusting the opacity.


Part II: Perspective Cues

Current versions of Photoshop Extended really make this part so much easier than would otherwise be possible.

3D Perspective


Group your source image and scan line overlay layers together so the whole thing is treated as a single virtual image.
Now go to 3D->New 3D Postcard From Layer.
Now just open up the 3D pane and use the 3D tools (mainly 3D Object Rotate Tool, 3D Object Roll Tool, 3D Object Pan Tool, 3D Object Slide Tool, and 3D Object Scale Tool) to adjust the perspective/orientation of the virtual image.
When you're done, you can change the rendering quality from Interactive to Ray Traced Draft or Ray Traced Final.


Faux Tilt-Shift Effect

Finally, we put the finishing touches on the image by simulating the optical effects of a very shallow depth of field, which is often found in macro-photography or otherwise photographing a very close object. This part is quite easy with Photoshop also.


Select your 3D layer and apply a layer mask to it (Layer->Layer Mask->Reveal All).
Now take the gradient tool and create a black-white gradient across the layer mask to be used as the depth map. That means you want the darker portion to coincide with the more distant (along the Z-axis) part the virtual image, and whiter area to coincide with the closer parts. It's alright if you invert the depth mask, but just make sure the gradient angle matches the perspective of the virtual image. Once you've done this, disable the layer mask so it won't actually mask the layer.
Lastly, use the Lens Blur effect to simulate that shallow depth of field. This particular tool is needed because, as cadmium stated, the optical distortions don't correspond with a simple Gaussian blur. Even as an approximation, simply varying the opacity of a fixed radius Gaussian blur does not come close to simulating a depth of field effect.


The end results after should look a little like this:


This particular image is less than ideal because I started with a relatively low resolution source image. Also, I use the Ray Traced Draft quality setting for the 3D rendering to save on rendering time.

Edit:

Here's a Flickr discussion that mentions alternate solutions and analogous plugins for Gimp for lens blur: www.flickr.com/groups/tilt-shift-fakes/discuss/72057594073514981/
The original post is likely incorrect, but the comments by other users that mention focus blur and depth maps will likely produce a comparable effect to lens blur.

10% popularity Vote Up Vote Down


 

@Speyer780

First off, take your screenshot paste it into Photoshop.

Transform your screenshot (Edit >> Transform >> Perspective)

Then if you have Photoshop CS6 available I would recommend the Tilt-Shift blur functionality Filter >> Blur >> Tilt-Shift. If that's not an option you may have to do a little bit more work. If you go that route I would suggest duplicating your screenshot layer adding a Gaussian Blur (or a Lens Blur if you want to fine-tune it more) to one and then masking the blur out so that it's only visible on the sides. The purpose of this is to mimic depth-of-field.

Then add a slight overall Gaussian Blur (like 0.5 px) if you want it to look a little bit out of focus (as taking a picture of a screen typically does), and then add a little bit of noise if you you want to give it that sort of look. This may add a touch of "realism".

Here is my result:


(click the image for a larger view)

10% popularity Vote Up Vote Down


 

@Sent7350415

What you want to do is a gradient blur.

Don't know / didn't search for it using Gimp, but it's not that hard. Steps would be something like:


duplicate the layer/image
apply the blur that you want to the in the "worst" part, i.e., the one that will have the greater blur
add a mask layer to this blured layer
apply a 2-color gradient
draw the gradient to that the edges get more blur, and the center of the image (or the point that you want to stay original) doesn't receive it.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme