Image.h
Go to the documentation of this file.
00001 #ifndef __Image_H__
00002 #define __Image_H__
00003 
00004 namespace EdgeDetection
00005 {
00006         class Image
00007         {
00008                 private: int width;
00009                 private: int height;
00010         
00011                 public: int GetWidth() { return width; }
00012                 public: int GetHeight() { return height; }
00013                 public: virtual double Get(int x, int y) = 0;
00014         
00015                 protected: Image(int width, int height)
00016                 {
00017                         if (width < 0) throw "The parameter 'width' was out of range.";
00018                         if (height < 0) throw "The parameter 'height' was out of range.";
00019 
00020                         this->width = width;
00021                         this->height = height;
00022                 }
00023 
00024                 public: virtual Image* GetRegion(int left, int right, int top, int bottom) = 0;
00025 
00026                 public: static double Combine(Image* image1, Image* image2);
00027         };
00028 };
00029 
00030 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


aruco_pose
Author(s): Julian Brunner
autogenerated on Thu May 23 2013 12:15:46