How can I use ROI in movie?

I've already reading one frame at a time and I know want to select a one region of interest on every frame. It should by selected by imrect but I dont know how to put it, on all frames. I done it on image already but having problem with this.

Answers (1)

Image Analyst
Image Analyst on 8 Apr 2013

0 votes

Do you want to specify the box on the first frame and then have all subsequent frames use that same box location? Or do you want to interactively specify the box on each and every frame?

3 Comments

It has to be already specify box and It supposed to move when object changes location.
That's different - that's "tracking". Search MATLAB Central for "Tracking" - there are lots of demos/examples plus lots in the File Exchange.
Hello how can i specify the box on the first frame and then have all the subsequent frames use the same box?

Sign in to comment.

Asked:

on 8 Apr 2013

Commented:

on 3 Oct 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!