OpenCV  2.4.13.3
Open Source Computer Vision
CvMatrix Class Reference

#include <legacy.hpp>

Public Member Functions

 CvMatrix ()
 
 CvMatrix (int _rows, int _cols, int _type)
 
 CvMatrix (int _rows, int _cols, int _type, CvMat *hdr, void *_data=0, int _step=CV_AUTOSTEP)
 
 CvMatrix (int rows, int cols, int type, CvMemStorage *storage, bool alloc_data=true)
 
 CvMatrix (int _rows, int _cols, int _type, void *_data, int _step=CV_AUTOSTEP)
 
 CvMatrix (CvMat *m)
 
 CvMatrix (const CvMatrix &m)
 
 CvMatrix (const char *filename, const char *matname=0, int color=-1)
 
 CvMatrix (CvFileStorage *fs, const char *mapname, const char *matname)
 
 CvMatrix (CvFileStorage *fs, const char *seqname, int idx)
 
 ~CvMatrix ()
 
CvMatrix clone ()
 
void set (CvMat *m, bool add_ref)
 
void create (int _rows, int _cols, int _type)
 
void addref () const
 
void release ()
 
void clear ()
 
bool load (const char *filename, const char *matname=0, int color=-1)
 
bool read (CvFileStorage *fs, const char *mapname, const char *matname)
 
bool read (CvFileStorage *fs, const char *seqname, int idx)
 
void save (const char *filename, const char *matname, const int *params=0)
 
void write (CvFileStorage *fs, const char *matname)
 
void show (const char *window_name)
 
bool is_valid ()
 
int rows () const
 
int cols () const
 
CvSize size () const
 
int type () const
 
int depth () const
 
int channels () const
 
int pix_size () const
 
uchardata ()
 
const uchardata () const
 
int step () const
 
void set_data (void *_data, int _step=CV_AUTOSTEP)
 
ucharrow (int i)
 
const ucharrow (int i) const
 
 operator const CvMat * () const
 
 operator CvMat * ()
 
CvMatrixoperator= (const CvMatrix &_m)
 

Protected Attributes

CvMatmatrix
 

Constructor & Destructor Documentation

§ CvMatrix() [1/10]

CvMatrix::CvMatrix ( )
inline

§ CvMatrix() [2/10]

CvMatrix::CvMatrix ( int  _rows,
int  _cols,
int  _type 
)
inline

§ CvMatrix() [3/10]

CvMatrix::CvMatrix ( int  _rows,
int  _cols,
int  _type,
CvMat hdr,
void _data = 0,
int  _step = CV_AUTOSTEP 
)
inline

§ CvMatrix() [4/10]

CvMatrix::CvMatrix ( int  rows,
int  cols,
int  type,
CvMemStorage storage,
bool  alloc_data = true 
)

§ CvMatrix() [5/10]

CvMatrix::CvMatrix ( int  _rows,
int  _cols,
int  _type,
void _data,
int  _step = CV_AUTOSTEP 
)
inline

§ CvMatrix() [6/10]

CvMatrix::CvMatrix ( CvMat m)
inline

§ CvMatrix() [7/10]

CvMatrix::CvMatrix ( const CvMatrix m)
inline

§ CvMatrix() [8/10]

CvMatrix::CvMatrix ( const char *  filename,
const char *  matname = 0,
int  color = -1 
)
inline

§ CvMatrix() [9/10]

CvMatrix::CvMatrix ( CvFileStorage fs,
const char *  mapname,
const char *  matname 
)
inline

§ CvMatrix() [10/10]

CvMatrix::CvMatrix ( CvFileStorage fs,
const char *  seqname,
int  idx 
)
inline

§ ~CvMatrix()

CvMatrix::~CvMatrix ( )
inline

Member Function Documentation

§ addref()

void CvMatrix::addref ( ) const
inline

§ channels()

int CvMatrix::channels ( ) const
inline

§ clear()

void CvMatrix::clear ( )
inline

§ clone()

CvMatrix CvMatrix::clone ( )
inline

§ cols()

int CvMatrix::cols ( ) const
inline

§ create()

void CvMatrix::create ( int  _rows,
int  _cols,
int  _type 
)
inline

§ data() [1/2]

uchar* CvMatrix::data ( )
inline

§ data() [2/2]

const uchar* CvMatrix::data ( ) const
inline

§ depth()

int CvMatrix::depth ( ) const
inline

§ is_valid()

bool CvMatrix::is_valid ( )
inline

§ load()

bool CvMatrix::load ( const char *  filename,
const char *  matname = 0,
int  color = -1 
)

§ operator const CvMat *()

CvMatrix::operator const CvMat * ( ) const
inline

§ operator CvMat *()

CvMatrix::operator CvMat * ( )
inline

§ operator=()

CvMatrix& CvMatrix::operator= ( const CvMatrix _m)
inline

§ pix_size()

int CvMatrix::pix_size ( ) const
inline

§ read() [1/2]

bool CvMatrix::read ( CvFileStorage fs,
const char *  mapname,
const char *  matname 
)

§ read() [2/2]

bool CvMatrix::read ( CvFileStorage fs,
const char *  seqname,
int  idx 
)

§ release()

void CvMatrix::release ( )
inline

§ row() [1/2]

uchar* CvMatrix::row ( int  i)
inline

§ row() [2/2]

const uchar* CvMatrix::row ( int  i) const
inline

§ rows()

int CvMatrix::rows ( ) const
inline

§ save()

void CvMatrix::save ( const char *  filename,
const char *  matname,
const int params = 0 
)

§ set()

void CvMatrix::set ( CvMat m,
bool  add_ref 
)
inline

§ set_data()

void CvMatrix::set_data ( void _data,
int  _step = CV_AUTOSTEP 
)
inline

§ show()

void CvMatrix::show ( const char *  window_name)

§ size()

CvSize CvMatrix::size ( ) const
inline

§ step()

int CvMatrix::step ( ) const
inline

§ type()

int CvMatrix::type ( ) const
inline

§ write()

void CvMatrix::write ( CvFileStorage fs,
const char *  matname 
)

Member Data Documentation

§ matrix

CvMat* CvMatrix::matrix
protected

The documentation for this class was generated from the following file: