projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e21f06
)
Fixed the RGB2HSV formula (ticket #868)
author
Ilya Lysenkov
<no@email>
Tue, 7 Jun 2011 12:22:07 +0000
(12:22 +0000)
committer
Ilya Lysenkov
<no@email>
Tue, 7 Jun 2011 12:22:07 +0000
(12:22 +0000)
modules/imgproc/doc/miscellaneous_transformations.rst
patch
|
blob
|
history
diff --git
a/modules/imgproc/doc/miscellaneous_transformations.rst
b/modules/imgproc/doc/miscellaneous_transformations.rst
index
b67f180
..
eb89b5a
100644
(file)
--- a/
modules/imgproc/doc/miscellaneous_transformations.rst
+++ b/
modules/imgproc/doc/miscellaneous_transformations.rst
@@
-202,7
+202,7
@@
The function can do the following transformations:
.. math::
- H \leftarrow \forkthree{{60(G - B)}/{
S}}{if $V=R$}{{120+60(B - R)}/{S}}{if $V=G$}{{240+60(R - G)}/{S
}}{if $V=B$}
+ H \leftarrow \forkthree{{60(G - B)}/{
(V-min(R,G,B))}}{if $V=R$}{{120+60(B - R)}/{(V-min(R,G,B))}}{if $V=G$}{{240+60(R - G)}/{(V-min(R,G,B))
}}{if $V=B$}
If
:math:`H<0` then