摘要: 1 template<class T> class Image 2 { 3 private: 4 IlpImage *imgp; 5 public: 6 Image(IplImage* img = 0) 7 { 8 imgp = img; 9 }10 inline T* operator[](const int rowIndx)11 {12 return( (T*)(imgp ->imageData + rowIndx * imgp ... 阅读全文
posted @ 2011-09-07 20:56 杨溪 阅读(408) 评论(0) 推荐(1) 编辑