applied comments after review

pull/1275/head
Dmitry Retinskiy 11 years ago
parent f013baf739
commit ab8c0fde52
  1. 6
      modules/core/doc/basic_structures.rst

@ -514,6 +514,8 @@ Scalar\_
--------
.. ocv:class:: Scalar_
Template class for a 4-element vector derived from Vec.
::
template<typename _Tp> class CV_EXPORTS Scalar_ : public Vec<_Tp, 4>
@ -543,10 +545,6 @@ Scalar\_
bool isReal() const;
};
Template class for a 4-element vector derived from Vec. ::
template<typename _Tp> class Scalar_ : public Vec<_Tp, 4> { ... };
typedef Scalar_<double> Scalar;
Being derived from ``Vec<_Tp, 4>`` , ``Scalar_`` and ``Scalar`` can be used just as typical 4-element vectors. In addition, they can be converted to/from ``CvScalar`` . The type ``Scalar`` is widely used in OpenCV to pass pixel values.

Loading…
Cancel
Save