Made a sentence in the doc for Mat::copyTo more clearer

This commit is contained in:
yash 2014-02-18 10:51:05 +05:30
parent e0d991cf46
commit 38ef8894b7

View File

@ -1355,7 +1355,7 @@ The method copies the matrix data to another matrix. Before copying the data, th
so that the destination matrix is reallocated if needed. While ``m.copyTo(m);`` works flawlessly, the function does not handle the case of a partial overlap between the source and the destination matrices.
When the operation mask is specified, and the ``Mat::create`` call shown above reallocated the matrix, the newly allocated matrix is initialized with all zeros before copying the data.
When the operation mask is specified and the ``Mat::create`` call shown above is invoked to reallocate the matrix, the newly allocated matrix is initialized with all zeros before copying the data.
.. _Mat::convertTo: