]> rtime.felk.cvut.cz Git - opencv.git/blobdiff - opencv/doc/cxcore_basic_structures.tex
Cleanup of param formatting in arrays. Python: introduction, doctests, fromarray()
[opencv.git] / opencv / doc / cxcore_basic_structures.tex
index b75d450459b13d89b69b1392224aceb9042820a0..fc98f28029376aa35cd24fed0ab6668383af9226 100644 (file)
@@ -250,8 +250,8 @@ CvScalar is always represented as a 4-tuple.
 (7.0, 7.0, 7.0, 7.0)
 >>> cv.RealScalar(7)
 (7.0, 0.0, 0.0, 0.0)
->>> cv.RGB(0.1, 0.2, 0.3)
-(0.29999999999999999, 0.20000000000000001, 0.10000000000000001, 0.0)
+>>> cv.RGB(17, 110, 255)
+(255.0, 110.0, 17.0, 0.0)
 \end{lstlisting}
 \fi % }