mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
fixed typos in the mat tutorial (ticket #2380)
This commit is contained in:
parent
c9f1490302
commit
a4adf57edc
@ -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() <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() <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
|
||||
|
Loading…
Reference in New Issue
Block a user