Determine if bulk movement is to the left or right of movie frame?

1 回表示 (過去 30 日間)
Diego Huyke
Diego Huyke 2019 年 7 月 31 日
回答済み: Jyothis Gireesh 2019 年 8 月 9 日
I have a bunch of multipage TIFFs of red blood cells (RBC's) moving within a microfluidic chip (each TIFF stack is 4000 frames long). In some of these videos the cells are moving left-to-right, and in other videos cells move right-to-left. There is hardly ever any movement in y and there are never cells travelling left-to-right and right-to-left in the same video. In a normal video about 200 cells cross the region of interest in about 40 frames each.
Is there any quick way to, given a video, determine if the cells are moving to the left or to the right? no information needed about velocity

採用された回答

Jyothis Gireesh
Jyothis Gireesh 2019 年 8 月 9 日
It is my understanding that you want to calculate the direction of motion of cells in a video.
For this purpose, you may make use of optical flow techniques in Computer Vision. Optical flow techniques are usually used to estimate the apparent motion of objects, surfaces and edges in a visual scene. You may make use of the following link to get a high-level overview about the technique.
Regarding the implementation, you may use the estimateFlow function available in the Computer Vision toolbox. This function takes the video file and any one frame as input and returns an opticalFlow object. This contains information about the velocity, phase and amplitude components of the optical flow.
For detailed information on using estimateFlow function you may refer to the following link.
Hope this helps!

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRead, Write, and Modify Image についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by