how to add two videos which of different size?

1 回表示 (過去 30 日間)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2014 年 3 月 24 日
回答済み: Image Analyst 2014 年 4 月 29 日
how to add two videos which of different size? or in other way, how to vary a video size.. for images,we use imresize command

回答 (1 件)

Image Analyst
Image Analyst 2014 年 4 月 29 日
You can use imresize on a frame by frame basis to make one frame size match the other. Then you need to cast both frames to double before adding and dividing by 2 (dividing by 2 only if you want the average instead of the sum ). Finally, cast back to uint8 after the averaging.

Community Treasure Hunt

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

Start Hunting!

Translated by