Get pixel informations wit Mat.get(int,int) on Android
Hi, i am trying to get the pixel infromations (RGB) of a specific pixel on Android with OpenCV 2.4.4
Sometimes Mat.get(int,int) returns "null". Is there an bug or another way?
double[] colors = img.get(123, 123);
Log.v(tag, "-->"+ colors[0] +";"+ colors[1] +";"+ colors[2] +"");
thx