Ask Your Question
0

video processing ?

asked 2013-02-14 07:40:53 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

I've got an assingment as follow: programming C++ by using VS2010 combined with OpenCV to run a AVI file, use a cursor to choose an area an the window displaying AVI file, after choose, this area is converted into Gray code, while the other areas still have their original colors! But i haven't got any idea abot how to do this ! i mean which OpenCV functions i can use ! hope someone can give me some clues! ^~^

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-02-20 00:23:50 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

Use VideoCapture class to read videos, Mat class to represent video frame and make operations with it and cvtColor function to convert color image to gray scale. There are a lot of C++ samples in OpenCV package. It will be very helpful for you.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-14 07:40:53 -0600

Seen: 237 times

Last updated: Feb 20 '13