Commit 4d544f60 authored by Lou Logan's avatar Lou Logan

doc/filters: fix lenscorrection k1 & k2 typo

0 means no correction, not 0.5.

Also document ranges and defaults for options.
Signed-off-by: 's avatarLou Logan <lou@lrcd.com>
parent 52623bc2
......@@ -10373,15 +10373,17 @@ The filter accepts the following options:
@item cx
Relative x-coordinate of the focal point of the image, and thereby the center of the
distortion. This value has a range [0,1] and is expressed as fractions of the image
width.
width. Default is 0.5.
@item cy
Relative y-coordinate of the focal point of the image, and thereby the center of the
distortion. This value has a range [0,1] and is expressed as fractions of the image
height.
height. Default is 0.5.
@item k1
Coefficient of the quadratic correction term. 0.5 means no correction.
Coefficient of the quadratic correction term. This value has a range [-1,1]. 0 means
no correction. Default is 0.
@item k2
Coefficient of the double quadratic correction term. 0.5 means no correction.
Coefficient of the double quadratic correction term. This value has a range [-1,1].
0 means no correction. Default is 0.
@end table
The formula that generates the correction is:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment