Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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();
    }
}