名前

CloseVideoFile — はビデオ・ファイルをクローズする

Calling Sequence

CloseVideoFile(VideoFilePointer);

VideoFilePointer = CloseVideoFile(VideoFilePointer);

Parameters

VideoFilePointer

ビデオ・ファイルへのポインタ

Description

本関数はビデオ・ファイルをクローズする。

Examples

VideoPath = 'contrib\IPD-5.0\demos\red-car-video.avi';

VideoInfo = GetVideoInfo(VideoPath);

VideoFilePointer = OpenVideoFile(VideoPath);

figure();

for n = 1 : VideoInfo.NumberOfFrames

 RGB = ReadImage(VideoFilePointer);

 ShowColorImage(RGB, VideoPath);

end;

CloseVideoFile(VideoFilePointer);

See Also

GetVideoStruct, OpenVideoFile, ReadImage, GetVideoInfo, ReadImageFromVideo