struct CvScalar

See also:

Scalar_

#include <types_c.h>

struct CvScalar
{
    // fields

    double val[4];

    // construction

    CvScalar();

    CvScalar(
        double d0,
        double d1 = 0,
        double d2 = 0,
        double d3 = 0
        );

    template <typename _Tp>
    CvScalar(const cv::Scalar_<_Tp>& s);

    template <
        typename _Tp,
        int cn
        >
    CvScalar(const cv::Vec<_Tp, cn>& v);

    // methods

    template <typename _Tp>
    operator cv::Scalar_< _Tp >() const;
};