what are the features of a video

we use regionprops command to get the features of an image... similarly what are the features can we use to get from a video...

2 Comments

Lots of things. Be more specific.
using regionprops, we can get centroid, perimeter and bounding box.. all these things can be obtained from an image.. how to get that for a video

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 22 Dec 2013
Edited: Image Analyst on 22 Dec 2013
A video is simply a sequence of individual images. You know how to get things like centroid, perimeter, etc. already. Recall that you are a university instructor of MATLAB courses who develops workshops for MATLAB students at engineering colleges. Plus I've been showing you over the past year or two, and I know you've seen my demos in my File Exchange and demos that I've posted in direct response to your questions. Since you already know how to do it for individual images, you already know what to do for a video.
If you need another demo, please see this demo on video analysis I uploaded just a few hours ago: http://www.mathworks.com/matlabcentral/answers/110291#comment_186462

3 Comments

Thanks.. When i manually check the property of an image, it shows 4 MB... Can MATLAB recognize the memory size of the image?? is there any direct command to check for this?
Try this:
fileInfo = imfinfo('moon.tif')
message = sprintf('The file size = %d bytes.', fileInfo.FileSize);
uiwait(helpdlg(message));
The size required in memory would be the height times ceiling(the width times the bit depth divided by 8)
where ceiling is "the least integer at least as large as the given value" (e.g., "round up")

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!