summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-07-17 15:18:30 +0200
committerPaul B Mahol <onemda@gmail.com>2021-07-17 15:18:30 +0200
commit075157ec867e0bf8d500bbbd23fee86f37eff45a (patch)
tree354a071962f446cc497e52b219753bd7dfbedbcb /doc
parent7f6d20931b1b14031f585610a8d81a86368ab46d (diff)
avfilter/vf_chromanr: add also euclidean distance for calculations
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi20
1 files changed, 16 insertions, 4 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index d991c06628..232d81ae3e 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -7857,7 +7857,7 @@ Set threshold for averaging chrominance values.
Sum of absolute difference of Y, U and V pixel components of current
pixel and neighbour pixels lower than this threshold will be used in
averaging. Luma component is left unchanged and is copied to output.
-Default value is 30. Allowed range is from 1 to 200.
+Default value is 30. Allowed range is from 1 to 5000.
@item sizew
Set horizontal radius of rectangle used for averaging.
@@ -7881,19 +7881,31 @@ Mostly useful to speed-up filtering.
Set Y threshold for averaging chrominance values.
Set finer control for max allowed difference between Y components
of current pixel and neigbour pixels.
-Default value is 200. Allowed range is from 1 to 200.
+Default value is 5000. Allowed range is from 1 to 5000.
@item threu
Set U threshold for averaging chrominance values.
Set finer control for max allowed difference between U components
of current pixel and neigbour pixels.
-Default value is 200. Allowed range is from 1 to 200.
+Default value is 5000. Allowed range is from 1 to 5000.
@item threv
Set V threshold for averaging chrominance values.
Set finer control for max allowed difference between V components
of current pixel and neigbour pixels.
-Default value is 200. Allowed range is from 1 to 200.
+Default value is 5000. Allowed range is from 1 to 5000.
+
+@item distance
+Set distance type used in calculations.
+
+@table @samp
+@item manhattan
+Absolute difference.
+@item euclidean
+Difference squared.
+@end table
+
+Default distance type is manhattan.
@end table
@subsection Commands