|
|
@ -2644,6 +2644,10 @@ void _OutputArray::assign(const UMat& u) const |
|
|
|
{ |
|
|
|
{ |
|
|
|
u.copyTo(*(Mat*)obj); // TODO check u.getMat()
|
|
|
|
u.copyTo(*(Mat*)obj); // TODO check u.getMat()
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
else if (k == MATX) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
u.copyTo(getMat()); // TODO check u.getMat()
|
|
|
|
|
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
CV_Error(Error::StsNotImplemented, ""); |
|
|
|
CV_Error(Error::StsNotImplemented, ""); |
|
|
@ -2662,6 +2666,10 @@ void _OutputArray::assign(const Mat& m) const |
|
|
|
{ |
|
|
|
{ |
|
|
|
*(Mat*)obj = m; |
|
|
|
*(Mat*)obj = m; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
else if (k == MATX) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
getMat() = m; |
|
|
|
|
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
CV_Error(Error::StsNotImplemented, ""); |
|
|
|
CV_Error(Error::StsNotImplemented, ""); |
|
|
|