Ask Your Question

Ali Tillawi's profile - activity

2016-07-22 11:43:01 -0500 received badge  Famous Question (source)
2015-06-04 16:43:47 -0500 received badge  Notable Question (source)
2015-06-04 06:07:22 -0500 received badge  Famous Question (source)
2014-09-18 08:35:30 -0500 received badge  Popular Question (source)
2014-09-15 01:54:33 -0500 received badge  Notable Question (source)
2014-05-22 03:51:08 -0500 received badge  Popular Question (source)
2013-07-01 04:28:17 -0500 asked a question CvBox2D cvMinAreaRect2 points ?

Hello,

Can anyone please brief me about the points used in cvMinAreaRect2 function? your help is really appreciated.

2013-07-01 04:24:39 -0500 asked a question Image convolution Question

Hello, I was wondering how to make a convolution using to images with the Filter2d(). Considering a binary 480x640 image and another binary image 40x40.

2013-06-20 04:09:43 -0500 commented question Count Objects (Red Caps in Coca Cola case)

I tried to isolate the caps, with color thresholding (From HSV frame), and I tried to draw contours around each cap but it did not work will due to color similarity

2013-06-19 15:17:26 -0500 asked a question Count Objects (Red Caps in Coca Cola case)

I need count the red Caps in this Image any Ideas The main problem that I have faced is that I finding a difference in the colors

image descriptionC:\fakepath\cola.bmp

2013-06-07 15:33:33 -0500 commented question int wcount = cvCountNonZero(roi); program craches when wCount > 0
 int wcount = 0;
     wcount = cvCountNonZero(roi);
   printf("Number of white pixels =%i \n\r",wcount );

Input: roi // binary image

I have a moving parts when they are in the image (ROI) The program crashes

2013-06-07 15:25:20 -0500 asked a question int wcount = cvCountNonZero(roi); program craches when wCount > 0

int wcount = cvCountNonZero(roi); program craches when wCount > 0

 int wcount = 0;
     wcount = cvCountNonZero(roi);
   printf("Number of white pixels =%i \n\r",wcount );

Input: roi // binary image is generated from rectangles aquiered from bounding boxes

I have a moving parts when they are in the image (roi) The program crashes

2013-06-07 15:23:58 -0500 commented question convert from iplimage to cvArry

It worked, Thank you the input Image had 3-channels, and this is not compatable with cvCountNonZero function

2013-06-07 14:15:43 -0500 commented question convert from iplimage to cvArry

But then I get an Error in ther Kernel32

2013-06-06 17:47:34 -0500 asked a question convert from iplimage to cvArry

Hi there, I want to convert from iplimage to cvArry to use it in cvCountNonZero() thank you for your help :)

2013-05-31 07:17:59 -0500 received badge  Student (source)
2013-05-31 05:07:38 -0500 commented answer How to combine two or more overlapping bounding boxes?

And is it supposed to combine only the overlapped rectangles ?

2013-05-31 04:59:33 -0500 commented answer How to combine two or more overlapping bounding boxes?

exactly I want to detect the overlapping

2013-05-31 04:39:39 -0500 asked a question How to combine two or more overlapping bounding boxes?

Hello, How to combine two or more overlapping bounding boxes, into one region.

your help is highly appreciated :)

2013-05-26 06:21:34 -0500 asked a question remove small objects C style API

remove small objects using cvFilter2d?

2013-05-22 03:10:36 -0500 answered a question How to open webcam with open cv

Try this code CvCapture *capture = cvCaptureFromCAM(0); if ( !capture ) { fprintf( stderr, "ERROR: capture is NULL \n" ); getchar(); return -1; }

IplImage* frame = cvQueryFrame( capture );

2013-05-21 11:20:06 -0500 marked best answer How to extract red color plane in OpenCV C++

How to extract red color plane in OpenCV C++?

2013-05-21 10:23:22 -0500 received badge  Scholar (source)
2013-05-21 09:11:17 -0500 received badge  Self-Learner (source)
2013-05-21 09:03:30 -0500 edited answer Error opening file (../../modules/highgui/src/cap_ffmpeg_impl.hpp:529)

sorry! try to past all the opencv's *.dll files in the debug folder of your project. It worked fine for me

My Documents\Visual Studio 2010\Projects\hallo_Welt\Debug

2013-05-21 08:57:53 -0500 edited answer How to extract red color plane in OpenCV C++

Thank you :)

I have used this one and it worked well:

IplImage* frame_r = cvCreateImage(size, IPL_DEPTH_8U, 1);
IplImage* frame_g = cvCreateImage(size, IPL_DEPTH_8U, 1);
IplImage* frame_b = cvCreateImage(size, IPL_DEPTH_8U, 1);

    cvSplit(frame, frame_b, frame_g, frame_r, NULL);
2013-05-21 08:28:59 -0500 received badge  Supporter (source)
2013-05-21 08:15:30 -0500 received badge  Editor (source)