fastest way to access individual bytes in CV_8U1
I am hoping to squeeze every ounce of speed from opencv videocapture. Can someone please enlighten me as to whether there is a better method to access individual pixel grayscale values as i iterate through a CV_8U1. i am using currently
public int getValue (int Col, int Row) {
return (int)itsMat.get(Row,Col)[0];
}
all help greatly appreciated.