Scilab Function
Last update : 22/8/2006
general_subm - construct a generalized subharmonic method.
Calling Sequence
-
[subm]=general_subm(depth, subpix_per_level, subpix_per_pix)
Parameters
-
depth
: the number of subharmonic levels to use in the correction (integer).
-
subpix_per_level
:
the number of subpixels to use in each subharmonic level.
This number must be odd (integer) and must be greater than subpix_per_pix
and less than 3*subpix_per_pix .
-
subpix_per_pix
:
the number of subpixels in each of the original pixels.
This number must be odd (integer).
-
subm
:the output subharmonic methed;
Description
set the generalized subharmonic method. it is a generalization of the methods
of subharmonic correction described by Johansson and Gavel,1994, and Lane 1992.
lane_subm
correspond to (subpix_per_level=3 and subpix_per_pix=3);
johansson_gavel_subm
correspond to (subpix_per_level=5 and subpix_per_pix=3);
Examples
subm=general_subm(3,11,5);
Author
Chen jingyuan, IAPCM, China.
See Also
null_subm
,
lane_subm
,
johansson_gavel_subm
,
quad_pix_subm
,