return Mat();
}
-
UMat _InputArray::getUMat(int i) const
{
int k = kind();
return getMat(i).getUMat(accessFlags);
}
-
void _InputArray::getMatVector(std::vector<Mat>& mv) const
{
int k = kind();
}
}
-
int _InputArray::sizend(int* arrsz, int i) const
{
int j, d=0, k = kind();
return d;
}
-
bool _InputArray::sameSize(const _InputArray& arr) const
{
int k1 = kind(), k2 = arr.kind();
if(CV_MAT_CN(mtype) == m.channels() && ((1 << CV_MAT_TYPE(flags)) & fixedDepthMask) != 0 )
mtype = m.type();
else
- CV_Assert(!fixedType() || (CV_MAT_CN(mtype) == m.channels() && ((1 << CV_MAT_TYPE(flags)) & fixedDepthMask) != 0));
+ CV_Assert(CV_MAT_TYPE(mtype) == m.type());
}
if(fixedSize())
{
if(CV_MAT_CN(mtype) == m.channels() && ((1 << CV_MAT_TYPE(flags)) & fixedDepthMask) != 0 )
mtype = m.type();
else
- CV_Assert(!fixedType() || (CV_MAT_CN(mtype) == m.channels() && ((1 << CV_MAT_TYPE(flags)) & fixedDepthMask) != 0));
+ CV_Assert(CV_MAT_TYPE(mtype) == m.type());
}
if(fixedSize())
{