コード例 #1
0
ファイル: FrameSource.cs プロジェクト: zanker99/emgucv
        /// <summary>
        /// Retrieve the next frame from the FrameSource
        /// </summary>
        /// <returns>The next frame. If no more frames, null will be returned.</returns>
        public Mat NextFrame()
        {
            Mat frame = new Mat();

            if (VideoStabInvoke.cveVideostabFrameSourceGetNextFrame(FrameSourcePtr, frame))
            {
                return(frame);
            }
            else
            {
                frame.Dispose();
                return(null);
            }
        }
コード例 #2
0
ファイル: FrameSource.cs プロジェクト: zanker99/emgucv
 /// <summary>
 /// Retrieve the next frame from the FrameSource
 /// </summary>
 /// <param name="frame">The next frame</param>
 /// <returns>True if there are more frames</returns>
 public bool NextFrame(Mat frame)
 {
     return(VideoStabInvoke.cveVideostabFrameSourceGetNextFrame(FrameSourcePtr, frame));
 }