ALE
Image Processing Software Deblurring, Anti-aliasing, and Superresolution. Local Operation localhost 2684415918 |
[ Up ]
--drizzle-diam=x Drizzle with input pixel diameter x (where x > 0) --drizzle-only If drizzling, output black for pixels with no drizzle data.
For more information about drizzling, see the paper by Richard Hook and Andrew Fruchter, "Variable-Pixel Linear Combination", or the following URL:
http://www.cv.nrao.edu/adass/adassVI/hookr.html
Non-incremental renderers use a point-spread function to model the optical and electronic properties of the capture device used. The PSF can be specified in terms of a linear and non-linear component. The non-linear component is disabled by default.
The point-spread function can be approximated through trial-and-error or
based on known scenes. ALE includes a script that numerically approximates the
point-spread function based on images captured from known scenes. This script
can be found in the source distribution
(d2/render/psf/ale-psf-calibrate
).
--device <d> Set the capture device to <d>.Available devices are as follows:
xvp610_320x240 IBM PC Camera Pro (XVP610) in 320x240 mode.
The PSF can also be explicitly specified by using one or both of the psf options. These options have precedence over the device option.
--lpsf <p> Set linear colorspace point-spread function to <p> --nlpsf <p> Set non-linear colorspace point-spread function to <p>Available explicit point-spread functions are as follows:
box=<d> Set the PSF to a box filter with diameter <d>. stdin Specify a custom filter at runtime. <p>+<p> Summation of two functions
This non-incremental renderer uses an unsharp mask to compensate for blur introduced by the image capture device. It is fairly inexpensive computationally, but it may not be effective in all cases.
--usm <m> Apply an unsharp mask with multiplier <m>.
This non-incremental renderer is very general, and attempts to reconstruct the original scene based on the captured frames and the PSF. Unlike the USM renderer, it can compensate for blur introduced by the incremental renderers, and it may be more effective than the USM renderer in compensating for blur introduced by the image capture device.
Note that this method can take a long time to produce output. If incremental output is enabled (see below), output is written after each iteration is complete. Using more iterations will generally improve output, up to the point of convergence, when additional iterations have no effect. A dot is displayed to indicate the completion of each iteration.
--ips <i> Run <i> iterations.
For more information on the iterative backprojection technique of Michal Irani and Shmuel Peleg, see their paper, "Improving Resolution by Image Registration", at
ftp://ftp.wisdom.weizmann.ac.il/pub/irani/PAPERS/SR_CVGIP91.pdf
By default, ALE adjusts an exposure model to minimize differences in tone
between frames. The option --exp-noregister
indicates that
exposure should be assumed uniform across all frames. In this case, no
adjustment is performed.
--exp-register Register exposure between frames. [default] --exp-noregister Assume uniform exposure across all frames.For more information about analyzing and processing images having differing exposures, see Steve Mann's comparametric paper, at
http://wearcam.org/comparam.htm
The exposure model in ALE includes an associated certainty function, which
quantifies the reliability of sensor measurements. By default, this function
is raised to the zeroth power to obtain uniform certainty for all measurements.
To specify a different certainty exponent, the option --cx
can be
used.
--cx <x> Render with certainty exponent <x> --no-cx Render with uniform certainty. [default]Note that ALE uses a one-sided certainty function, biased by backprojection value, in Irani-Peleg rendering. In some cases, this approach seems to offer better results than the unbiased function used in drizzling and merging. For more information on the certainty weighting approach used by ALE, see the ALE source code.
For more information on Steve Mann's original approach to certainty-weighted rendering, see his comparametric paper, at
http://wearcam.org/comparam.htm
--scale=x Scale images by the factor x (where x is at least 1.0)
--extend Increase image extents to accommodate all pixel data. --no-extend Don't increase extents; crop to original frame. [default]
--inc Produce incremental output. [default] --no-inc Don't produce incremental output.
When using the merging or drizzling renderer, --replace indicates that each new frame should replace the corresponding region of the rendering, instead of being averaged with data from previous frames. This option was originally suggested by Jeff Treece for use in stabilization of video streams. His approach to stabilization is outlined below.
If the files
0.ppm, 1.ppm, ..., 9.ppmrepresent frames from an unstabilized video stream, then the following sequence of commands may result in a stabilized sequence:
ale --replace 0.ppm 1.ppm 1.stable.ppm ale --replace 1.stable.ppm 2.ppm 2.stable.ppm ale --replace 2.stable.ppm 3.ppm 3.stable.ppm . . . ale --replace 8.stable.ppm 9.ppm 9.stable.ppm
The resulting stabilized sequence would be:
0.ppm, 1.stable.ppm, 2.stable.ppm, ..., 9.stable.ppm
--replace Replace overlapping areas when merging and drizzling. --no-replace Do not replace. [default]
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.