Possible to make semitransparent video from semitransparent images?

조회 수: 5 (최근 30일)
Jared
Jared 2013년 1월 23일
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
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
Walter Roberson 2013년 1월 23일
  댓글 수: 3
Oliver Woodford
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
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.

댓글을 달려면 로그인하십시오.


Elad
Elad 2013년 7월 5일
PowerPoint can play .avi files... see if this helps: http://imageprocessingblog.com/?p=65

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by