assign mat value int integer array
hi, i stucked into a little problem. I am unable to assign mat value into the integer array. below is my code : Mat arr = imread("image.jpg"); int histBuff[SIZE]; arr.get(0, 0, histBuff);
the problem is that class mat has no member get().
what should i do
arr.get(0, 0, histBuff); is java code
unfortunately, none of your code lines above make sense.
(an image you read from disk is rarely an integer array, and a histogram is something completely different)
could you try to explain, what you are trying to achieve ?