Register  |  FAQ  |  Search  |  Memberlist  |  Usergroups  |  Log in 
Reply to topic
 Problem from the start... 
thomas treadway


Joined: 30 Jun 2006
Posts: 5
Reply with quote
If I am to understand the tutorial, once I've opened the bitmap image, opened the dof generator, and set the depth mode to "Depth Map" the image is to go b&w, correct? This is not happening. The generator indicates "registered"...

Help.
View user's profile Send private message
  
martinvicanek


Joined: 23 Oct 2005
Posts: 49
Location: Germany
Reply with quote
Thomas,

greetings and thanks for your post!

You have to distinguish between the image and the depth map, respectively. They are both of the same size, and the depth map is essentially a b&w image which serves as a control file for the DOF effect. Once you have opened DOF PRO with an image file, you can load the depth map and view it. It will be shown in the preview as a b&w image.

The image file, on the other hand, is usually an RGB image. It will not be converted to b&w in DOF PRO.

Hope that helps!
Martin

_________________
Martin Vicanek
DOF PRO Developer
View user's profile Send private message
 No luck... 
thomas treadway


Joined: 30 Jun 2006
Posts: 5
Reply with quote
sorry, I've followed the tutorial word for word... and I'm finding no success. This shouldn't be as complicated as it seems. My version seems to be incapable of differentiating between what I wish to be the center of focus and what isn't. All results end in nothing but a completely blurred image with nothing in focus.

I'm at a loss.
View user's profile Send private message
  
martinvicanek


Joined: 23 Oct 2005
Posts: 49
Location: Germany
Reply with quote
Thomas,

would it be possible for you to post the image that you wish to process along with the depth map?

Greetings
Martin

_________________
Martin Vicanek
DOF PRO Developer
View user's profile Send private message
 Sure!!! 
thomas treadway


Joined: 30 Jun 2006
Posts: 5
Reply with quote
Thanks for the help. Okay, here are two links. The first is the original file... and I am working in bitmap, but for the web I had to convert to jpegs.

The original is here:


Here is what I get after loading the depth map and hitting view depth map:

Thanks for any help!

Thomas
View user's profile Send private message
  
richardrosenman
Site Admin

Joined: 23 Oct 2005
Posts: 145
Location: Canada
Reply with quote
Hi Thomas;

The reason you are not getting DOF PRO to work is because you are loading the RGB image as your depth map. This is not what a depth map should be.

The depth map is a greyscale image that defines objects in distances from the camera. Objects that are closer will be whiter and objects that are further will be darker. This will then allow DOF PRO to detect how much defocus to apply and where to do so.

Martin will most likely suggest you try the following. Using your RGB image, do a selection around the woman and paint her flat white (255,255,255). Then invert your selection and paint the rest of the image black (0,0,0). Save that image and load it into DOF PRO as your depth map, while still using your RGB image as the image to process. Now apply blur. You will see that no blur is applied to your subject and the background is defocused. Now set the F-Depth slider to 0 instead of 255 and your subject defocuses and the background become focused. This is a crude, but simple example of what a depth map should be.

Martin, feel free to add...

-Richard

_________________
Richard Rosenman
DOF PRO Developer
Digital Animation Director
http://www.dofpro.com
http://www.mblpro.com
http://www.cgsphere.com
http://www.hatchstudios.net
http://www.lumierefilter.com
http://www.richardrosenman.com
View user's profile Send private message Visit poster's website
  
martinvicanek


Joined: 23 Oct 2005
Posts: 49
Location: Germany
Reply with quote
Thomas,

to complement Richard's remarks I have created a depth map for your nice picture (it's a bmp but I have converted it to jpg for the Web):



Then I ran DOF PRO on your original image. These were the settings:



Nothing fancy, just a circular aperture and proper edges management. Here is the result:



Hope you like it!

Martin

_________________
Martin Vicanek
DOF PRO Developer
View user's profile Send private message
 That is absolutely fab! 
thomas treadway


Joined: 30 Jun 2006
Posts: 5
Reply with quote
Ugh... okay guys, I'm going to figure this wonderful software out. Thanks so much for your help.

I'm GOING TO GET THIS!

The image looks fantastic. Thanks guys!

Thomas
View user's profile Send private message
 By jove I think I've got it!!! 
thomas treadway


Joined: 30 Jun 2006
Posts: 5
Reply with quote
Thanks guys!

before:



after:



before:



after:

View user's profile Send private message
  
martinvicanek


Joined: 23 Oct 2005
Posts: 49
Location: Germany
Reply with quote
Thomas,

now you've got the hang of it! Nice work, perhaps you want to post some of it in the Gallery? Wink

Greetings
Martin

_________________
Martin Vicanek
DOF PRO Developer
View user's profile Send private message
  
Anonymous
Guest

Reply with quote
Hi, I am sure this has been asked berfore..

But can't this be done using the blur filter in cs2?

What makes this different or better or both?

Thank You
  
richardrosenman
Site Admin

Joined: 23 Oct 2005
Posts: 145
Location: Canada
Reply with quote
Hi cctaylor;

That's a good question and I have a good answer for you. First off, the example above is a basic example and yes, you CAN do that with PS Lens Blur.

Having said that, PS can't handle animation/sequences - and DOF PRO has as large a userbase of digital animators/artists as it does photographers.

And to quote our DOF PRO site:

"Why Depth of Field Generator PRO? Naturally occurring depth of field has extremely complex optical characteristics. It cannot be simply simulated through the use of a standard blur filter. Lens size, subject distance, aperture shape, lens curvature, film grain, spherical aberration, lens asymmetry, transparency, light refraction, motion blur and much more must be taken into account in order to achieve an accurate and convincing depth of field effect. A simple gaussian blur is one of the least effective methods of reproducing a believable DOF effect. In addition, a competent DOF filter must also have additional features for dealing with unavoidable post-processing artefacts such as edge management controls, depth map aliasing tools, and highlight enhancement functions. DOF PRO carefully takes into consideration all of these aspects in order to produce the highest quality depth of field output possible."

When you start REALLY analyzing real-world DOF, you begin to notice specific things such as different aperture shapes, aperture imperfections, and much more. PS Lens Blur is quite basic - it cannot account for edge artefacting, it cannot handle aperture spherical aberrations, it cannot handle negative aperture curvature, it cannot use custom aperture maps, it cannot retrieve lost grain or add it based on your focus map, it has it's own highlight preservation algorithms (which we feel are not as crisp and clear as DOF PRO's), it does not have any tools for removing antialiasing from depth maps which therefore produce incorrect DOF results, it does not provide a complete, color-based toolset for non-destructive depth map editing, no built-in gradients to assist photographers with depth maps, no keyframing, no function curve editing, no log file reports...

I could go on and on. It is a basic DOF filter and that may be sufficient for some users but it seems clear from our large userbase that more and more professionals are interested in accurate DOF processing rather than faster DOF processing.

I suppose this is what sets apart DOF PRO from Lens Blur, and many other DOF post filters. Wink

-Richard

_________________
Richard Rosenman
DOF PRO Developer
Digital Animation Director
http://www.dofpro.com
http://www.mblpro.com
http://www.cgsphere.com
http://www.hatchstudios.net
http://www.lumierefilter.com
http://www.richardrosenman.com
View user's profile Send private message Visit poster's website
  
Anonymous
Guest

Reply with quote
Well Thanks for the Great Reply!

I am trying the demo And I guess at the Moment it seems Complicated.. Confused

Do I need to make a Depth Map for every Image I want?

Thanks Again

CC
  
richardrosenman
Site Admin

Joined: 23 Oct 2005
Posts: 145
Location: Canada
Reply with quote
Hey cctaylor;

Yes, it can be a little daunting at first. Have you gone over the getting started tutorial? It's very helpful and it will give you a very good understanding of how it works.

It's located in the download section of the DOF PRO site: http://www.dofpro.com/download.htm

You don't have to create a depth map for all images - you can use the built-in gradients for many of them. For instance, take a look at the photo gallery: http://www.dofpro.com/photogallery.htm

90% of these examples use the built-in gradients.

If you have something more detailed, and you are working from a photograph, then you will have to create your own depth map - but this is true for any dof filter. You have to give it some info so it knows what to defocus and what not to. If you are working with 3D programs, outputting a depth map is extremely easy and only takes a few minutes.

-Richard

_________________
Richard Rosenman
DOF PRO Developer
Digital Animation Director
http://www.dofpro.com
http://www.mblpro.com
http://www.cgsphere.com
http://www.hatchstudios.net
http://www.lumierefilter.com
http://www.richardrosenman.com
View user's profile Send private message Visit poster's website
  
block306


Joined: 18 Mar 2008
Posts: 1
Reply with quote
richardrosenman wrote:
Hi Thomas;

The reason you are not getting DOF PRO to work is because you are loading the RGB image as your depth map. This is not what a depth map should be.

The depth map is a greyscale image that defines objects in distances from the camera. Objects that are closer will be whiter and objects that are further will be darker. This will then allow DOF PRO to detect how much defocus to apply and where to do so.

Martin will most likely suggest you try the following. Using your RGB image, do a selection around the woman and paint her flat white (255,255,255). Then invert your selection and paint the rest of the image black (0,0,0). Save that image and load it into DOF PRO as your depth map, while still using your RGB image as the image to process. Now apply blur. You will see that no blur is applied to your subject and the background is defocused. Now set the F-Depth slider to 0 instead of 255 and your subject defocuses and the background become focused. This is a crude, but simple example of what a depth map should be.

Martin, feel free to add...

-Richard


I have attempted to create a depth map file as suggested here. I did everything and saved the file as a .jpg. The sw could not load it as it is looking for a .ini file. Then I came back here & see that you suggested a .bmp file & I saved as that; again the sw is not able to load this. What's the story?? Thanks.
View user's profile Send private message
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 4 Hours  
Page 1 of 2  

  
  
 Reply to topic