First time here? Check out the FAQ!
answered 2017-02-03 04:48:16 -0600
I'm not sure how to check for binary, but this works for scanning through each pixel.
for( int y=0; y< roi.rows; y+=1){ for (int x=0;x< roi.cols;x+=1){ checkforbinary(); } }