⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 videosource.h

📁 this is software for visual SLAM
💻 H
字号:
// -*- c++ *--// Copyright 2008 Isis Innovation Limited//// VideoSource.h// Declares the VideoSource class// // This is a very simple class to provide video input; this can be// replaced with whatever form of video input that is needed.  It// should open the video input on construction, and provide two// function calls after construction: Size() must return the video// format as an ImageRef, and GetAndFillFrameBWandRGB should wait for// a new frame and then overwrite the passed-as-reference images with// GreyScale and Colour versions of the new frame.//#include <cvd/image.h>#include <cvd/byte.h>#include <cvd/rgb.h>struct VideoSourceData;class VideoSource{ public:  VideoSource();  void GetAndFillFrameBWandRGB(CVD::Image<CVD::byte> &imBW, CVD::Image<CVD::Rgb<CVD::byte> > &imRGB);  CVD::ImageRef Size();   private:  void *mptr;  CVD::ImageRef mirSize;};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -