![]() |
GSLAM
3.0.0
|
The GImage class is a tiny implementation of image for removing dependency of opencv. More...
Public Member Functions | |
| GImage (int rows_, int cols_, int type=GImageType<>::Type, uchar *src=NULL, bool copy=false, int imageAlign=16) | |
| GImage (const GImage &ref) | |
| GImage & | operator= (const GImage &rhs) |
| bool | empty () const |
| int | elemSize () const |
| int | elemSize1 () const |
| int | channels () const |
| int | type () const |
| int | total () const |
| GImage | clone () const |
| template<typename C > | |
| C & | at (int idx) |
| template<typename C > | |
| C & | at (int ix, int iy) |
| void | release () |
| template<typename _Tp > | |
| _Tp * | ptr (int i0=0) |
| template<typename _Tp > | |
| const _Tp * | ptr (int i0=0) const |
| const GImage | row (int idx=0) const |
| int | getWidth () const |
| int | getHeight () const |
Static Public Member Functions | |
| static GImage | create (int rows, int cols, int type=GImageType<>::Type, uchar *src=NULL, bool copy=false, int imageAlign=16) |
| static GImage | zeros (int rows, int cols, int type=GImageType<>::Type, uchar *src=NULL, bool copy=false, int imageAlign=16) |
Public Attributes | |
| int | cols |
| int | rows |
| int | flags |
| uchar * | data |
| int * | refCount |
The GImage class is a tiny implementation of image for removing dependency of opencv.
Most APIs are corrosponding to "cv::Mat".
1.8.11