From 4d544f608608f69e68136b8333d3649866e2a7ed Mon Sep 17 00:00:00 2001 From: Lou Logan Date: Thu, 12 Apr 2018 12:44:49 -0800 Subject: [PATCH] doc/filters: fix lenscorrection k1 & k2 typo 0 means no correction, not 0.5. Also document ranges and defaults for options. Signed-off-by: Lou Logan --- doc/filters.texi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index b78e05a329..09b07d2a4a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -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: