From a4adf57edc9254c6ae0e0472ae9206a58f9e1dce Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Mon, 1 Oct 2012 16:35:12 +0400 Subject: [PATCH] fixed typos in the mat tutorial (ticket #2380) --- .../mat_the_basic_image_container.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/tutorials/core/mat_the_basic_image_container/mat_the_basic_image_container.rst b/doc/tutorials/core/mat_the_basic_image_container/mat_the_basic_image_container.rst index 4496412..42fe58f 100644 --- a/doc/tutorials/core/mat_the_basic_image_container/mat_the_basic_image_container.rst +++ b/doc/tutorials/core/mat_the_basic_image_container/mat_the_basic_image_container.rst @@ -174,18 +174,19 @@ Although *Mat* is a great class as image container it is also a general matrix c :alt: Demo image of the matrix output :align: center -Print out formatting -==================== - .. note:: - You can fill out a matrix with random values using the :operationsOnArrays:`randu() ` function. You need to give the lover and upper value between what you want the random values: + You can fill out a matrix with random values using the :operationsOnArrays:`randu() ` function. You need to give the lower and upper value between what you want the random values: .. literalinclude:: ../../../../samples/cpp/tutorial_code/core/mat_the_basic_image_container/mat_the_basic_image_container.cpp :language: cpp :tab-width: 4 :lines: 57-58 + +Print out formatting +==================== + In the above examples you could see the default formatting option. Nevertheless, OpenCV allows you to format your matrix output format to fit the rules of: .. container:: enumeratevisibleitemswithsquare -- 2.7.4