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

📄 image.h

📁 VC视频对象的跟踪提取原代码(vc视频监控源码)
💻 H
字号:
/* * Image.h * general image class (base class) * * author : A M Baumberg */#ifndef __IMAGE_H__#define __IMAGE_H__#include <cassert>#include <cstring>  // for strncpy()#ifndef NO_DISPLAY// include graphics libraries#ifdef USE_GL#include <gl.h>#else // use X interface and not GL#include <X11/X.h>#include <X11/Xlib.h>// #include <X11/Xutil.h>#include <X11/Xatom.h>#endif   // #ifdef USE_GL#endif   // #ifndef NO_DISPLAY// includes#include "realno.h"#include "tracker_defines_types_and_helpers.h"#include "Kernel.h"#include "GreyMap.h"#include "timestamp_c.h"#include "EnvParameter.h"namespace ReadingPeopleTracker{// forward declarationsclass RGB32Image;class Point2;class GreyMap;class Image{    // The following three lines should not be necessary since protected members    // derived `public'ly should be accessible in derived classes.  Never mind.    friend class Grey8Image;    friend class RGB32Image;    friend class HSV32Image;public:    // public static member variables    // image_addressing_mode: determines the orientation of the v axis in the image.    //   This should always be BOTTOM_TO_TOP, like axes in mathematics and physics.    //   TOP_TO_BOTTOM: line 0 is the top line,  BOTTOM_TO_TOP: line 0 is the bottom line    static const ImageAddressing image_addressing_mode;    // image_storage_mode: determines the orientation of the image in memory.  This has an    //   influence only on functions which operate in the image memory, e.g. JPEGSource.    //   This should be set to the way your graphics library or display (e.g. X11) handles it.    //   TOP_TO_BOTTOM: a lower memory address is closer to the top line of the image,    //   BOTTOM_TO_TOP: a higher memory address is closer to the top line of the image.    static const ImageAddressing image_storage_mode;  protected:    frame_id_t frame_id;           // frame id: numeric identifier of this frame (frame number)    frame_time_t frame_time_in_ms; // frame time in milliseconds since the Epoch    // (01/01/1970) UTC (== GMT) 

⌨️ 快捷键说明

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