Ask Your Question
1

CamShift on grayscael

asked Dec 2 '13

vandelfi gravatar image

Hi,

I would like to use Camshift to track the head and retrieve the roll angle like this. Is there a way to use CamShift on a grayscale image? I'm using a Time-of-flight camera and I can only get a grayscale image from it.

Cheers, V.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Apr 28 '15

ricor29 gravatar image

I watched a lecture that once said for meanshift (so pretty similar to camshift) only using the pixel intensity from a grayscale image was not sufficient. Previously I tried implementing meanshift with just grayscale and it didn't work (just ended up chasing the object around the image). Loads of camshift examples out there try to track a colour ball but then the colour bit is unique enough. For a standard grayscale image from a normal camera one thing to do would be to augment the pixel intesnisty with image gradient and orientation information (easily obtained with Sobel filters).

However, you mention a time-of-flight camera and in that situation I have no idea. Hopefully somebody with a bit more insight may be able to help.

Preview: (hide)

Question Tools

Stats

Asked: Dec 2 '13

Seen: 818 times

Last updated: Apr 28 '15