How to convert an image into XY, XY and YT plane?

1 view (last 30 days)
I want to extract dynamic texture of videos. So need to convert an image into xy, xt and yt plane then further process on these plane would be done. Can anybody explain me what doest it mean by these planes and how to convert it in matlab.

Answers (1)

Image Analyst
Image Analyst on 29 Jul 2017
Imagine the video as a 3-D volumetric image with x and y being the lateral dimensions and frame time being the vertical Z dimension. So the xt and yt planes would be a slice through that value. The xt plane would have x along one axis and t along the other and would apply for one specific y value. The yt plane could apply for one specific x value and have y along one dimension and t along the other dimension. You can build up the slice one row or column at a time as you read in frames, or, if you have enough memory, read the entire video into a 3-D array and use indexing or slice() to get either the xt or yt plane.
See attached demo for a start. The demo doesn't create those planes but you can easily put in 2 or 3 lines to make it do that.
  2 Comments
sonu Lamba
sonu Lamba on 1 Aug 2017
Thank you very much for your response. Here, time(t) is consequent frame in video? I understood that if we consider features in videos then it is called spatio-temporal?. Correct if I am wrong.
One more question: In video, how to compute hessian matrix for interest point detection.
Image Analyst
Image Analyst on 1 Aug 2017
Some features may be derived from both spatial and temporal changes, for example frequency of intensity oscillation of a quasar. Usually though a feature is derived from just one frame and then you store that value for each frame (each time).

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!