Possible to make semitransparent video from semitransparent images?
6 次查看(过去 30 天)
显示 更早的评论
Hi all,
If I've exported transparent (or semitransparent) images to png, it it possible to use these to assemble a video within MATLAB that retains transparency?
Right now I am just using [data color_data alpha_data] = imread('my_image'); , but I don't know how to convert this to a frame (was using im2frame) while retaining the alpha_data.
Or, if it's not possible, is there an easy way to do it outside of MATLAB?
Thanks! Jared
4 个评论
Walter Roberson
2013-1-23
So to check, it has to play in powerpoint, but it has to be semi-transparent to reveal whatever is behind the powerpoint video-display window?
回答(2 个)
Walter Roberson
2013-1-23
3 个评论
Oliver Woodford
2013-1-23
First ask yourself what video formats support transparency. Then ask if PowerPoint supports that format. Then ask if MATLAB can export in that format. It's a mixture of all three factors.
Walter Roberson
2013-1-23
mp4 videos cannot be transparent, it appears. I gather flash can, but I do not find any software to create swf files from MATLAB.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!