Skip to content

Commit

Permalink
Merge pull request opencv#5093 from sturkmen72:patch-5
Browse files Browse the repository at this point in the history
  • Loading branch information
mshabunin committed Jul 30, 2015
2 parents 2b2bc83 + 9dd41a8 commit 6922b94
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ int main( int argc, char* argv[])
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();

Expand Down Expand Up @@ -165,7 +165,7 @@ Mat& ScanImageAndReduceC(Mat& I, const uchar* const table)
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)
Expand Down Expand Up @@ -197,7 +197,7 @@ Mat& ScanImageAndReduceIterator(Mat& I, const uchar* const table)
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)
Expand Down

0 comments on commit 6922b94

Please sign in to comment.