Ask Your Question

BoozeAddict's profile - activity

2017-01-09 10:00:29 -0600 commented answer What is the most effective way to access cv::Mat elements in a loop?

you need to multiply i with the number of channels too... unsigned char r = input[img.step * j + i*img.channels() + 2 ] ; etc