To create animation video using array frames of different size

3 ビュー (過去 30 日間)
sam l
sam l 2020 年 8 月 26 日
コメント済み: sam l 2020 年 10 月 20 日
Hi
I am trying to create a video using a for loop - plot a figure inside loop and save the frames into a movie array.
The issue is that the figure are having different frame size. I am trying different methods to set the figure position (location and size values, but the figure created do not follow the set values.
  • so i need to create video from array of differing frame sizes.
Createing Figure and saving frame to array myMovie
MyMovie has different frames sizes ...
Trying to create vedio but failed due to different frame size
  2 件のコメント
sam l
sam l 2020 年 10 月 20 日
is there something similar to imresize for mathworks 2015b version

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

回答 (1 件)

sushanth govinahallisathyanarayana
sushanth govinahallisathyanarayana 2020 年 9 月 22 日
You could crop the first 2 down to 934x1672, or resize the frames to a common size, imresize will help. Failing that, you can create separate videos for the size and stitch them together later.

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

製品


リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by