00001 #ifndef VIDEOCONVERT_H
00002 #define VIDEOCONVERT_H
00003
00004 extern "C"
00005 {
00006 #include "image.h"
00007 }
00008
00009 #include "mpegfile.h"
00010
00011 int VidToColor2D(MpegFile *myvf, IMAGE *im); /* convert the current frame to COLOR_2D of ScilImage */
00012 /* myvf: input video file; im: output color image */
00013 int VidToGrey2D(MpegFile *myvf, IMAGE *im); /* convert the current frame to GREY_2D of ScilImage */
00014
00015
00016 int VidToColor3D(MpegFile *myvf, IMAGE *im, int StartFrame, int NumOfFrames);
00017 /* extract NumOfFrames frames,
00018 starting from StartFrame and convert to COLOR_3D */
00019 int VidToGrey3d(MpegFile *myvf, IMAGE *im, int StartFrame, int NumOfFrames); /* extract NumOfFrames frames,
00020 starting from StartFrame and convert to GREY_3D */
00021
00022 #endif
1.2.12 written by Dimitri van Heesch,
© 1997-2001