Jump to content

Photoshop Lens Blur Effect


Joey
 Share

Recommended Posts

Since I do a little rendering I loved that effect since it enabled me to easily get depth of field without leaving that to the renderer (which greatly prolongs render times). Anyhow, I wanted to try implementing that effect for Paint.NET and after finally understanding how convolution works and in which way one can avoid using integrals I came up with some code that works pretty similar to the Unfocus Effect. Results are not exactly equal and my code is way slower, so I thought I could maybe utilize Unfocus.

Now the Lens Blur filter utilizes a depth map which you could either hand-paint for photos or easily generate with 3D applications for rendered scenes and simulates depth of field while you can select where the focus lies. After looking how Unfocus worked (and trying to grasp what was done there with pointers) I think I would be unable to feed that code with varying levels of blurriness. Or may that still be possible somehow?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...