https://9dok.net/document/q2np8oo6-opencv-reference-manual.html