Merge pull request #3629 from nstiurca:matx-fix
This commit is contained in:
@@ -2644,6 +2644,10 @@ void _OutputArray::assign(const UMat& u) const
|
||||
{
|
||||
u.copyTo(*(Mat*)obj); // TODO check u.getMat()
|
||||
}
|
||||
else if (k == MATX)
|
||||
{
|
||||
u.copyTo(getMat()); // TODO check u.getMat()
|
||||
}
|
||||
else
|
||||
{
|
||||
CV_Error(Error::StsNotImplemented, "");
|
||||
@@ -2662,6 +2666,10 @@ void _OutputArray::assign(const Mat& m) const
|
||||
{
|
||||
*(Mat*)obj = m;
|
||||
}
|
||||
else if (k == MATX)
|
||||
{
|
||||
m.copyTo(getMat());
|
||||
}
|
||||
else
|
||||
{
|
||||
CV_Error(Error::StsNotImplemented, "");
|
||||
|
Reference in New Issue
Block a user