<< CloseImage Image Processing Design ComputeChannelVariance >>

Image Processing Design >> Image Processing Design > CloseVideoFile

CloseVideoFile

closes a video file

Calling Sequence

CloseVideoFile(VideoFilePointer);

VideoFilePointer = CloseVideoFile(VideoFilePointer);

Parameters

VideoFilePointer

pointer to a video file

Description

This function closes a video file.

Examples

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);

See Also


Report an issue
<< CloseImage Image Processing Design ComputeChannelVariance >>