<< OpenImage Image Processing Design PadImage >>

Image Processing Design >> Image Processing Design > OpenVideoFile

OpenVideoFile

はビデオ・ファイルをオープンする

呼び出し

VideoFilePointer = OpenVideoFile(VideoPath);

引数

VideoPath

ビデオ・ファイルの名前又はパスである

VideoFilePointer

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

説明

本関数はビデオ・ファイルをオープンする。

global IPD_PATH;

VideoPath = IPD_PATH + 'demos\red-car-video.avi';

VideoInfo = GetVideoStruct(VideoPath);

VideoFilePointer = OpenVideoFile(VideoPath);

figure();

for n = 1 : VideoInfo.NumberOfFrames

 RGB = ReadImage(VideoFilePointer);

 ShowColorImage(RGB, VideoPath);

end;

CloseVideoFile(VideoFilePointer);

参考


Report an issue
<< OpenImage Image Processing Design PadImage >>