BlurParameter:

Path: Imaging/Optics

% Find the blur parameter.

   if v = f sigma is zero. The default for D is inf. v may be a 1 D array.

   Type BlurParameter for a demo.

   Since version 11.
--------------------------------------------------------------------------
   Form:
   sigma = BlurParameter( f, v, r, N, lambda, D )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   f           (1,1)   Focal length (mm)
   v           (1,:)   Distance from image plane to lens (mm)
   r           (1,1)   Lens radius (mm)
   N           (1,1)   F stop
   lambda      (1,1)   Wavelength (nm)
   D           (1,1)   Distance of the object point to the lens (mm)

   -------
   Outputs
   -------
   sigma       (1,:)  Blur parameter/camera parametr

--------------------------------------------------------------------------
   Reference: Chaudhuri, S. and A. N. Rajagopalan, "Depth from Defocus:
              A Real Aperture Imaging Approach," Springer-Verlag, 1999, 
              p. 10.
--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D

Back to the Imaging Module page