assign mat value int integer array

asked 2015-01-28 23:31:54 -0500

Deepak Kumar gravatar image

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

edit retag flag offensive close merge delete

Comments

1

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 ?

berak gravatar imageberak ( 2015-01-29 01:13:16 -0500 )edit