Ask Your Question

kokiri's profile - activity

2015-07-12 02:42:22 -0600 received badge  Enthusiast
2015-07-11 14:56:17 -0600 commented question width and height of imread

Thanks, I managed to get what i wanted with image.rows and image.cols

2015-07-11 14:05:54 -0600 asked a question width and height of imread
const char* filename = "people.jpg";
Mat image = imread(filename, CV_LOAD_IMAGE_GRAYSCALE);

I would like the get the width and height of the image. Also I would like to divide the image into 9 parts

X  X  X
X  X  X
X  X  X

But before I can do that, I need to get the width and height

2015-07-09 11:08:51 -0600 asked a question Converting NV12 to RGB (blackberry)

I've got a NV12 Image, which I want to convert to RGB.

src = Mat(height,width,CV_8UC1, imagebuffer,stride) cvtColor(src,src, CV_YUV2RGB_NV12)

It doesnt look anything like it should! Omitting the cvtColor line leads to a grayscale image.

2015-07-07 14:31:09 -0600 asked a question Detecting Objects in different regions and emitting a message

I'm processing a webcam picture and I want to find out if object is in certain areas (Top-right, Top-center- Top-left) (Right, center, left) (...) in that case I want to put a cout into the console. "Object in topleft"

There will only be one object.