how to provide video (Heigh x Width x frames)

1 回表示 (過去 30 日間)
Ren
Ren 2013 年 5 月 19 日
Hi, i'm working in the spatio temporel interest point, and in order to detect the keypoints , the video have to be matrice (Height x Width x frames) How can i do it? Thank you.
  1 件のコメント
Image Analyst
Image Analyst 2013 年 5 月 19 日
Search the tag keyframes

サインインしてコメントする。

回答 (2 件)

Image Analyst
Image Analyst 2013 年 5 月 19 日
I'm not sure what you're asking. You can provide video by using a video camera to create a video that is stored in a file. Or you can create one manually from a bunch of frames and using the im2frame() function. Or you can "provide" one to your program (i.e. put into a variable in your program) by using VideoReader class, or mmreader(), or avireader().

Youssef  Khmou
Youssef Khmou 2013 年 5 月 19 日
hi Ren,
i think you have to explain a little more your situation, are you working on existing Video or image sequences ? or you want to generate such 3d array ?
  4 件のコメント
Youssef  Khmou
Youssef Khmou 2013 年 5 月 19 日
you can use "aviread" function, next you extract the dimensions from that structure , and you create a 3d matrix A(x,y,t).Using a loop on the third dimension, you can affect each frame to A .
Ren
Ren 2013 年 5 月 19 日
Thanks it works now

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by