DocumentationHelp Center
Make movie from multiframe image
mov = immovie(X,cmap)
mov = immovie(RGB)
example
mov = immovie(X,cmap) returns the movie structure array mov from the images in the multiframe indexed image X with colormap cmap.
mov
X
cmap
mov = immovie(RGB) returns the movie structure array mov from the images in the multiframe truecolor image RGB.
RGB
collapse all
load mri mov = immovie(D,map); implay(mov)
Multiframe indexed image, specified as an m-by-n-by-1-by-k numeric array, where k is the number of frames. Each frame uses the same colormap, cmap.
Data Types: single | double | uint8 | uint16 | logical
single
double
uint8
uint16
logical
Color map associated with multiframe indexed image X, specified as a c-by-3 numeric matrix containing the RGB values of c colors.
Multiframe truecolor image, specified as an m-by-n-by-3-by-k numeric array, where k is the number of frames.
Data Types: single | double | uint8 | uint16
Movie, returned as an k-by-1 array of movie frame structures. For details about the movie frame structure, see getframe.
getframe
To play the movie, call implay.
implay
To create a movie that can be played outside the MATLAB® environment, use a VideoWriter object.
VideoWriter
getframe | implay | montage | movie | VideoWriter
montage
movie
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office