How can one calculate the velocity for multiple objects from a stack of tiff images?

4 ビュー (過去 30 日間)
How can one calculate the velocity for multiple objects from a stack of tiff images?

採用された回答

Walter Roberson
Walter Roberson 2017 年 5 月 11 日
You can modify https://www.mathworks.com/help/vision/examples/motion-based-multiple-object-tracking.html to pull from subsequent TIFF images instead of reading from a video or camera.
With the tracking handled, you can calculate velocity as distance moved between frames.
  2 件のコメント
birdeye001
birdeye001 2017 年 5 月 11 日
Based on your suggestion I will modify the setupSystemObjects method to read from a tiff stack instead of an .avi file. Does one still have to assign the maskplayer and video player and use them to display text? To save the processesed image stack, I could create an .avi file and write each frame to it at the end of the while obj.reader loop - do you think that is the right place to do so?
Walter Roberson
Walter Roberson 2017 年 5 月 11 日
"Does one still have to assign the maskplayer and video player and use them to display text?"
No. You could remove all the present output, and instead just keep track of the positions over time, and turn that into velocity calculations once all of the frames were processed.
"To save the processesed image stack,"
As just described, you do not need to save the processed image stack.

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by