Exemple #1
0
UMat UMat::ones(Size size, int type)
{
    return UMat(size, type, Scalar(1));
}
Exemple #2
0
UMat UMat::zeros(int ndims, const int* sz, int type)
{
    return UMat(ndims, sz, type, Scalar::all(0));
}
Exemple #3
0
UMat UMat::zeros(Size size, int type)
{
    return UMat(size, type, Scalar::all(0));
}
Exemple #4
0
UMat UMat::zeros(int rows, int cols, int type)
{
    return UMat(rows, cols, type, Scalar::all(0));
}
Exemple #5
0
UMat UMat::ones(int ndims, const int* sz, int type)
{
    return UMat(ndims, sz, type, Scalar(1));
}
Exemple #6
0
UMat UMat::cross(InputArray) const
{
    CV_Error(CV_StsNotImplemented, "");
    return UMat();
}