| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>ALE User Manual: Point Spread Functions</title> |
| 5 | |
| 6 | <style type="text/css"> |
| 7 | TABLE.ba { max-width: 678; text-align: center; padding-bottom: 15; padding-top: 5} |
| 8 | TABLE.inline { padding-right: 300; clear: left} |
| 9 | TD.text_table {padding-left: 2; padding-right: 2; border-width: 1} |
| 10 | H2 {clear: left} |
| 11 | P {max-width: none; padding-right: 300; clear: left} |
| 12 | BLOCKQUOTE {padding-right: 400 } |
| 13 | LI {max-width: 640; clear: left} |
| 14 | P.footer {max-width: none; width: auto; padding-left: 0} |
| 15 | P.header {max-width: none; width: auto; padding-left: 0} |
| 16 | HR.main {max-width: 640; clear: left; padding-left: 0; margin-left: 0} |
| 17 | HR.footer {clear: both} |
| 18 | </style> |
| 19 | </head><body> |
| 20 | |
| 21 | |
| 22 | |
| 23 | <table align=right valign=top width=160> |
| 24 | <td valign=top height=600 width=160> |
| 25 | <a href="http://auricle.dyndns.org/ALE/"> |
| 26 | <big>ALE</big> |
| 27 | <br> |
| 28 | Image Processing Software |
| 29 | <br> |
| 30 | <br> |
| 31 | <small>Deblurring, Anti-aliasing, and Superresolution.</small></a> |
| 32 | <br><br> |
| 33 | <big> |
| 34 | Local Operation |
| 35 | </big> |
| 36 | <hr> |
| 37 | localhost<br> |
| 38 | 2684415918<br> |
| 39 | </table> |
| 40 | |
| 41 | |
| 42 | |
| 43 | <p><b>[ <a href="../">Up</a> ]</b></p> |
| 44 | <h1>ALE Point Spread Functions</h1> |
| 45 | |
| 46 | <p>The ALE Irani-Peleg renderer uses a point-spread function to model the optical |
| 47 | and electronic properties of the capture device used. The PSF can be specified |
| 48 | in terms of one linear and one non-linear component. |
| 49 | |
| 50 | <h3>PSF specification</h3> |
| 51 | |
| 52 | <p>The PSF can be explicitly specified by using one or both of the psf options. |
| 53 | |
| 54 | <pre> |
| 55 | --lpsf <p> Set linear colorspace point-spread function to <p> |
| 56 | --nlpsf <p> Set non-linear colorspace point-spread function to <p> |
| 57 | </pre> |
| 58 | |
| 59 | Available explicit point-spread functions are as follows: |
| 60 | |
| 61 | <pre> |
| 62 | box=<d> Set the PSF to a box filter with diameter <d>. |
| 63 | circle=<d> Set the PSF to a circular filter with diameter <d>. |
| 64 | stdin Specify a custom filter at runtime. |
| 65 | stdin_vg stdin with vertically-oriented gaps after every 8th pixel. |
| 66 | <p>+<p> Summation of two functions |
| 67 | <p>^<p> Convolution of two functions. |
| 68 | <n>*<p> Multiplication by a scalar <n>. |
| 69 | </pre> |
| 70 | |
| 71 | If a device is known to ALE, then its PSF can be implicitly set with the |
| 72 | <code>--device</code> option. (See the <a href="../../device/">device</a> page |
| 73 | for more information.) If a device is not specified, then the default linear |
| 74 | PSF component is <code>box=1</code>. The non-linear PSF component is disabled |
| 75 | by default. |
| 76 | |
| 77 | <h3>Determining the PSF</h3> |
| 78 | |
| 79 | <p>The PSF can be approximated based on images of known scenes. The ALE source |
| 80 | distribution includes an experimental script that numerically approximates the |
| 81 | PSF in this way (<code>d2/render/psf/ale-psf-calibrate</code>). Other, more |
| 82 | efficient methods for approximating the PSF are likely possible, however. |
| 83 | |
| 84 | <br> |
| 85 | <hr> |
| 86 | <i>Copyright 2003, 2004 <a href="mailto:[email protected]">David Hilvert</a></i> |
| 87 | <p>Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. |
| 88 | |
| 89 | |
| 90 | </body> |
| 91 | </html> |