Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Histogram and backprojection windows, in black

Hello:

I have a problem:

I made a program to detect a red circle, and once detected to track it with camshift.

I tsuposed to work, but now I have a problem:

when I run the program (with a video file), I can see the "normal"window (the window whit the video file) correctly, but the histogram window or the window with the backprojection mode are in black (sometimes i can see some white points, but it doesn´t work well).

What can be the problem? What do you think? Where would you look? Ideas?

Thanks!!

Histogram and backprojection windows, in black

Hello:

I have a problem:

I made a program to detect a red circle, and once detected to track it with camshift.

I tsuposed to work, but now I have a problem:

when I run the program (with a video file), I can see the "normal"window (the window whit the video file) correctly, but the histogram window or the window with the backprojection mode are in black (sometimes i can see some white points, but it doesn´t work well).

What can be the problem? What do you think? Where would you look? Ideas?

Thanks!!

EDITED:

now you can see a screeshot of what happens when I run the program.

the "Detection" window shows the input video (with some changes);

in the "Filter" window should appear the backprojection of the tracked object (the red circle), but something is wrong, the only thing that you can see are some white points in the place of the tracked object;

in the "histogram" window should appear the histogram (predominantly red), but neither appears.

Where do you think that can be the problem? Ideas to star searching?

Thanks!!!!!!

image description