Mat& ScanImageAndReduceC(Mat& I, const uchar* const table)
{
// accept only char type matrices
- CV_Assert(I.depth() != sizeof(uchar));
+ CV_Assert(I.depth() == CV_8U);
int channels = I.channels();
Mat& ScanImageAndReduceIterator(Mat& I, const uchar* const table)
{
// accept only char type matrices
- CV_Assert(I.depth() != sizeof(uchar));
+ CV_Assert(I.depth() == CV_8U);
const int channels = I.channels();
switch(channels)
Mat& ScanImageAndReduceRandomAccess(Mat& I, const uchar* const table)
{
// accept only char type matrices
- CV_Assert(I.depth() != sizeof(uchar));
+ CV_Assert(I.depth() == CV_8U);
const int channels = I.channels();
switch(channels)