#include <cxcore.hpp>
Inherits cv::SparseMat.
Public Types | |
typedef SparseMatIterator_< _Tp > | iterator |
typedef SparseMatConstIterator_< _Tp > | const_iterator |
enum | { MAGIC_VAL = 0x42FD0000, MAX_DIM = CV_MAX_DIM, HASH_SCALE = 0x5bd1e995, HASH_BIT = 0x80000000 } |
Public Member Functions | |
SparseMat_ () | |
SparseMat_ (int dims, const int *_sizes) | |
SparseMat_ (const SparseMat &m) | |
SparseMat_ (const SparseMat_ &m) | |
SparseMat_ (const Mat &m) | |
SparseMat_ (const MatND &m) | |
SparseMat_ (const CvSparseMat *m) | |
SparseMat_ & | operator= (const SparseMat &m) |
SparseMat_ & | operator= (const SparseMat_ &m) |
SparseMat_ & | operator= (const Mat &m) |
SparseMat_ & | operator= (const MatND &m) |
SparseMat_ | clone () const |
void | create (int dims, const int *_sizes) |
operator CvSparseMat * () const | |
int | type () const |
int | depth () const |
int | channels () const |
_Tp & | ref (int i0, size_t *hashval=0) |
_Tp | operator() (int i0, size_t *hashval=0) const |
_Tp & | ref (int i0, int i1, size_t *hashval=0) |
_Tp | operator() (int i0, int i1, size_t *hashval=0) const |
_Tp & | ref (int i0, int i1, int i2, size_t *hashval=0) |
_Tp | operator() (int i0, int i1, int i2, size_t *hashval=0) const |
_Tp & | ref (const int *idx, size_t *hashval=0) |
_Tp | operator() (const int *idx, size_t *hashval=0) const |
SparseMatIterator_< _Tp > | begin () |
SparseMatConstIterator_< _Tp > | begin () const |
SparseMatIterator_< _Tp > | end () |
SparseMatConstIterator_< _Tp > | end () const |
void | copyTo (SparseMat &m) const |
void | copyTo (Mat &m) const |
void | copyTo (MatND &m) const |
void | convertTo (SparseMat &m, int rtype, double alpha=1) const |
void | convertTo (Mat &m, int rtype, double alpha=1, double beta=0) const |
void | convertTo (MatND &m, int rtype, double alpha=1, double beta=0) const |
void | assignTo (SparseMat &m, int type=-1) const |
void | create (int dims, const int *_sizes, int _type) |
void | clear () |
void | addref () |
void | release () |
size_t | elemSize () const |
size_t | elemSize1 () const |
const int * | size () const |
int | size (int i) const |
int | dims () const |
size_t | nzcount () const |
size_t | hash (int i0) const |
size_t | hash (int i0, int i1) const |
size_t | hash (int i0, int i1, int i2) const |
size_t | hash (const int *idx) const |
uchar * | ptr (int i0, bool createMissing, size_t *hashval=0) |
uchar * | ptr (int i0, int i1, bool createMissing, size_t *hashval=0) |
uchar * | ptr (int i0, int i1, int i2, bool createMissing, size_t *hashval=0) |
uchar * | ptr (const int *idx, bool createMissing, size_t *hashval=0) |
template<typename _Tp > | |
_Tp | value (int i0, size_t *hashval=0) const |
template<typename _Tp > | |
_Tp | value (int i0, int i1, size_t *hashval=0) const |
template<typename _Tp > | |
_Tp | value (int i0, int i1, int i2, size_t *hashval=0) const |
template<typename _Tp > | |
_Tp | value (const int *idx, size_t *hashval=0) const |
template<typename _Tp > | |
_Tp & | value (Node *n) |
template<typename _Tp > | |
const _Tp & | value (const Node *n) const |
template<typename _Tp > | |
const _Tp * | find (int i0, size_t *hashval=0) const |
template<typename _Tp > | |
const _Tp * | find (int i0, int i1, size_t *hashval=0) const |
template<typename _Tp > | |
const _Tp * | find (int i0, int i1, int i2, size_t *hashval=0) const |
template<typename _Tp > | |
const _Tp * | find (const int *idx, size_t *hashval=0) const |
void | erase (int i0, int i1, size_t *hashval=0) |
void | erase (int i0, int i1, int i2, size_t *hashval=0) |
void | erase (const int *idx, size_t *hashval=0) |
Node * | node (size_t nidx) |
const Node * | node (size_t nidx) const |
uchar * | newNode (const int *idx, size_t hashval) |
void | removeNode (size_t hidx, size_t nidx, size_t previdx) |
void | resizeHashTab (size_t newsize) |
Public Attributes | |
int | flags |
Hdr * | hdr |
typedef SparseMatIterator_<_Tp> cv::SparseMat_< _Tp >::iterator |
Reimplemented from cv::SparseMat.
typedef SparseMatConstIterator_<_Tp> cv::SparseMat_< _Tp >::const_iterator |
Reimplemented from cv::SparseMat.
cv::SparseMat_< _Tp >::SparseMat_ | ( | ) |
cv::SparseMat_< _Tp >::SparseMat_ | ( | int | dims, | |
const int * | _sizes | |||
) |
cv::SparseMat_< _Tp >::SparseMat_ | ( | const SparseMat & | m | ) |
cv::SparseMat_< _Tp >::SparseMat_ | ( | const SparseMat_< _Tp > & | m | ) |
cv::SparseMat_< _Tp >::SparseMat_ | ( | const Mat & | m | ) |
cv::SparseMat_< _Tp >::SparseMat_ | ( | const MatND & | m | ) |
cv::SparseMat_< _Tp >::SparseMat_ | ( | const CvSparseMat * | m | ) |
SparseMat_< _Tp > & cv::SparseMat_< _Tp >::operator= | ( | const SparseMat & | m | ) |
Reimplemented from cv::SparseMat.
SparseMat_< _Tp > & cv::SparseMat_< _Tp >::operator= | ( | const SparseMat_< _Tp > & | m | ) |
SparseMat_< _Tp > & cv::SparseMat_< _Tp >::operator= | ( | const Mat & | m | ) |
Reimplemented from cv::SparseMat.
SparseMat_< _Tp > & cv::SparseMat_< _Tp >::operator= | ( | const MatND & | m | ) |
Reimplemented from cv::SparseMat.
SparseMat_< _Tp > cv::SparseMat_< _Tp >::clone | ( | ) | const |
Reimplemented from cv::SparseMat.
void cv::SparseMat_< _Tp >::create | ( | int | dims, | |
const int * | _sizes | |||
) |
cv::SparseMat_< _Tp >::operator CvSparseMat * | ( | ) | const |
Reimplemented from cv::SparseMat.
int cv::SparseMat_< _Tp >::type | ( | ) | const |
Reimplemented from cv::SparseMat.
int cv::SparseMat_< _Tp >::depth | ( | ) | const |
Reimplemented from cv::SparseMat.
int cv::SparseMat_< _Tp >::channels | ( | ) | const |
Reimplemented from cv::SparseMat.
_Tp & cv::SparseMat_< _Tp >::ref | ( | int | i0, | |
size_t * | hashval = 0 | |||
) |
Reimplemented from cv::SparseMat.
_Tp cv::SparseMat_< _Tp >::operator() | ( | int | i0, | |
size_t * | hashval = 0 | |||
) | const |
_Tp & cv::SparseMat_< _Tp >::ref | ( | int | i0, | |
int | i1, | |||
size_t * | hashval = 0 | |||
) |
Reimplemented from cv::SparseMat.
_Tp cv::SparseMat_< _Tp >::operator() | ( | int | i0, | |
int | i1, | |||
size_t * | hashval = 0 | |||
) | const |
_Tp & cv::SparseMat_< _Tp >::ref | ( | int | i0, | |
int | i1, | |||
int | i2, | |||
size_t * | hashval = 0 | |||
) |
Reimplemented from cv::SparseMat.
_Tp cv::SparseMat_< _Tp >::operator() | ( | int | i0, | |
int | i1, | |||
int | i2, | |||
size_t * | hashval = 0 | |||
) | const |
_Tp & cv::SparseMat_< _Tp >::ref | ( | const int * | idx, | |
size_t * | hashval = 0 | |||
) |
Reimplemented from cv::SparseMat.
_Tp cv::SparseMat_< _Tp >::operator() | ( | const int * | idx, | |
size_t * | hashval = 0 | |||
) | const |
SparseMatIterator_< _Tp > cv::SparseMat_< _Tp >::begin | ( | ) |
Reimplemented from cv::SparseMat.
SparseMatConstIterator_< _Tp > cv::SparseMat_< _Tp >::begin | ( | ) | const |
Reimplemented from cv::SparseMat.
SparseMatIterator_< _Tp > cv::SparseMat_< _Tp >::end | ( | ) |
Reimplemented from cv::SparseMat.
SparseMatConstIterator_< _Tp > cv::SparseMat_< _Tp >::end | ( | ) | const |
Reimplemented from cv::SparseMat.
void cv::SparseMat::copyTo | ( | SparseMat & | m | ) | const [inherited] |
void cv::SparseMat::copyTo | ( | Mat & | m | ) | const [inherited] |
void cv::SparseMat::copyTo | ( | MatND & | m | ) | const [inherited] |
void cv::SparseMat::convertTo | ( | SparseMat & | m, | |
int | rtype, | |||
double | alpha = 1 | |||
) | const [inherited] |
void cv::SparseMat::convertTo | ( | Mat & | m, | |
int | rtype, | |||
double | alpha = 1 , |
|||
double | beta = 0 | |||
) | const [inherited] |
void cv::SparseMat::convertTo | ( | MatND & | m, | |
int | rtype, | |||
double | alpha = 1 , |
|||
double | beta = 0 | |||
) | const [inherited] |
void cv::SparseMat::assignTo | ( | SparseMat & | m, | |
int | type = -1 | |||
) | const [inherited] |
void cv::SparseMat::create | ( | int | dims, | |
const int * | _sizes, | |||
int | _type | |||
) | [inherited] |
void cv::SparseMat::clear | ( | ) | [inherited] |
void cv::SparseMat::addref | ( | ) | [inherited] |
void cv::SparseMat::release | ( | ) | [inherited] |
size_t cv::SparseMat::elemSize | ( | ) | const [inherited] |
size_t cv::SparseMat::elemSize1 | ( | ) | const [inherited] |
const int * cv::SparseMat::size | ( | ) | const [inherited] |
int cv::SparseMat::size | ( | int | i | ) | const [inherited] |
int cv::SparseMat::dims | ( | ) | const [inherited] |
size_t cv::SparseMat::nzcount | ( | ) | const [inherited] |
size_t cv::SparseMat::hash | ( | int | i0 | ) | const [inherited] |
size_t cv::SparseMat::hash | ( | int | i0, | |
int | i1 | |||
) | const [inherited] |
size_t cv::SparseMat::hash | ( | int | i0, | |
int | i1, | |||
int | i2 | |||
) | const [inherited] |
size_t cv::SparseMat::hash | ( | const int * | idx | ) | const [inherited] |
uchar* cv::SparseMat::ptr | ( | int | i0, | |
bool | createMissing, | |||
size_t * | hashval = 0 | |||
) | [inherited] |
uchar* cv::SparseMat::ptr | ( | int | i0, | |
int | i1, | |||
bool | createMissing, | |||
size_t * | hashval = 0 | |||
) | [inherited] |
uchar* cv::SparseMat::ptr | ( | int | i0, | |
int | i1, | |||
int | i2, | |||
bool | createMissing, | |||
size_t * | hashval = 0 | |||
) | [inherited] |
uchar* cv::SparseMat::ptr | ( | const int * | idx, | |
bool | createMissing, | |||
size_t * | hashval = 0 | |||
) | [inherited] |
_Tp cv::SparseMat::value | ( | int | i0, | |
size_t * | hashval = 0 | |||
) | const [inherited] |
_Tp cv::SparseMat::value | ( | int | i0, | |
int | i1, | |||
size_t * | hashval = 0 | |||
) | const [inherited] |
_Tp cv::SparseMat::value | ( | int | i0, | |
int | i1, | |||
int | i2, | |||
size_t * | hashval = 0 | |||
) | const [inherited] |
_Tp cv::SparseMat::value | ( | const int * | idx, | |
size_t * | hashval = 0 | |||
) | const [inherited] |
_Tp & cv::SparseMat::value | ( | Node * | n | ) | [inherited] |
const _Tp & cv::SparseMat::value | ( | const Node * | n | ) | const [inherited] |
const _Tp * cv::SparseMat::find | ( | int | i0, | |
size_t * | hashval = 0 | |||
) | const [inherited] |
const _Tp * cv::SparseMat::find | ( | int | i0, | |
int | i1, | |||
size_t * | hashval = 0 | |||
) | const [inherited] |
const _Tp * cv::SparseMat::find | ( | int | i0, | |
int | i1, | |||
int | i2, | |||
size_t * | hashval = 0 | |||
) | const [inherited] |
const _Tp * cv::SparseMat::find | ( | const int * | idx, | |
size_t * | hashval = 0 | |||
) | const [inherited] |
void cv::SparseMat::erase | ( | int | i0, | |
int | i1, | |||
size_t * | hashval = 0 | |||
) | [inherited] |
void cv::SparseMat::erase | ( | int | i0, | |
int | i1, | |||
int | i2, | |||
size_t * | hashval = 0 | |||
) | [inherited] |
void cv::SparseMat::erase | ( | const int * | idx, | |
size_t * | hashval = 0 | |||
) | [inherited] |
SparseMat::Node * cv::SparseMat::node | ( | size_t | nidx | ) | [inherited] |
const SparseMat::Node * cv::SparseMat::node | ( | size_t | nidx | ) | const [inherited] |
uchar* cv::SparseMat::newNode | ( | const int * | idx, | |
size_t | hashval | |||
) | [inherited] |
void cv::SparseMat::removeNode | ( | size_t | hidx, | |
size_t | nidx, | |||
size_t | previdx | |||
) | [inherited] |
void cv::SparseMat::resizeHashTab | ( | size_t | newsize | ) | [inherited] |
int cv::SparseMat::flags [inherited] |
Hdr* cv::SparseMat::hdr [inherited] |