OpenCV  3.2.0-dev
Open Source Computer Vision
Collaboration diagram for Connections with C++:

Classes

struct  CvType
 class for automatic module/RTTI data registration/unregistration More...
 
class  cv::Seq< _Tp >
 Template Sequence Class derived from CvSeq. More...
 
class  cv::SeqIterator< _Tp >
 STL-style Sequence Iterator inherited from the CvSeqReader structure. More...
 

Typedefs

typedef Ptr< CvMemStoragecv::MemStorage
 

Functions

 cv::Seq< _Tp >::Seq ()
 the default constructor More...
 
 cv::Seq< _Tp >::Seq (const CvSeq *seq)
 the constructor for wrapping CvSeq structure. The real element type in CvSeq should match _Tp. More...
 
 cv::Seq< _Tp >::Seq (MemStorage &storage, int headerSize=sizeof(CvSeq))
 creates the empty sequence that resides in the specified storage More...
 
 cv::SeqIterator< _Tp >::SeqIterator ()
 the default constructor More...
 
 cv::SeqIterator< _Tp >::SeqIterator (const Seq< _Tp > &seq, bool seekEnd=false)
 the constructor setting the iterator to the beginning or to the end of the sequence More...
 
_Tp & cv::Seq< _Tp >::back ()
 returns reference to the last sequence element More...
 
const _Tp & cv::Seq< _Tp >::back () const
 returns read-only reference to the last sequence element More...
 
SeqIterator< _Tp > cv::Seq< _Tp >::begin () const
 returns iterator pointing to the beginning of the sequence More...
 
int cv::Seq< _Tp >::channels () const
 returns the number of channels in each sequence element More...
 
void cv::Seq< _Tp >::clear ()
 removes all the elements from the sequence More...
 
void cv::clearSeq (CvSeq *seq)
 
void cv::Seq< _Tp >::copyTo (std::vector< _Tp > &vec, const Range &range=Range::all()) const
 copies the whole sequence or the sequence slice to the specified vector More...
 
Mat cv::cvarrToMat (const CvArr *arr, bool copyData=false, bool allowND=true, int coiMode=0, AutoBuffer< double > *buf=0)
 converts array (CvMat or IplImage) to cv::Mat More...
 
static Mat cv::cvarrToMatND (const CvArr *arr, bool copyData=false, int coiMode=0)
 
int cv::Seq< _Tp >::depth () const
 returns the depth of sequence elements (CV_8U ... CV_64F) More...
 
size_t cv::Seq< _Tp >::elemSize () const
 returns the size of each sequence element More...
 
bool cv::Seq< _Tp >::empty () const
 returns true iff the sequence contains no elements More...
 
SeqIterator< _Tp > cv::Seq< _Tp >::end () const
 returns iterator pointing to the element following the last sequence element More...
 
void cv::extractImageCOI (const CvArr *arr, OutputArray coiimg, int coi=-1)
 extracts Channel of Interest from CvMat or IplImage and makes cv::Mat out of it. More...
 
_Tp & cv::Seq< _Tp >::front ()
 returns reference to the first sequence element More...
 
const _Tp & cv::Seq< _Tp >::front () const
 returns read-only reference to the first sequence element More...
 
scharcv::getSeqElem (const CvSeq *seq, int index)
 
size_t cv::Seq< _Tp >::index (const _Tp &elem) const
 returns index of the specified sequence element More...
 
void cv::Seq< _Tp >::insert (int idx, const _Tp &elem)
 inserts the specified element to the specified position More...
 
void cv::Seq< _Tp >::insert (int idx, const _Tp *elems, size_t count)
 inserts zero or more elements to the specified position More...
 
void cv::insertImageCOI (InputArray coiimg, CvArr *arr, int coi=-1)
 inserts single-channel cv::Mat into a multi-channel CvMat or IplImage More...
 
 cv::Seq< _Tp >::operator std::vector< _Tp > () const
 returns the vector containing all the sequence elements More...
 
template<typename _Tp >
bool cv::operator!= (const SeqIterator< _Tp > &a, const SeqIterator< _Tp > &b)
 
_Tp & cv::SeqIterator< _Tp >::operator* ()
 returns reference to the current sequence element More...
 
const _Tp & cv::SeqIterator< _Tp >::operator* () const
 returns read-only reference to the current sequence element More...
 
SeqIterator & cv::SeqIterator< _Tp >::operator++ ()
 moves iterator to the next sequence element More...
 
SeqIterator cv::SeqIterator< _Tp >::operator++ (int) const
 moves iterator to the next sequence element More...
 
SeqIterator & cv::SeqIterator< _Tp >::operator+= (int)
 moves iterator forward by the specified offset (possibly negative) More...
 
template<typename _Tp >
ptrdiff_t cv::operator- (const SeqIterator< _Tp > &a, const SeqIterator< _Tp > &b)
 
SeqIterator & cv::SeqIterator< _Tp >::operator-- ()
 moves iterator to the previous sequence element More...
 
SeqIterator cv::SeqIterator< _Tp >::operator-- (int) const
 moves iterator to the previous sequence element More...
 
SeqIterator & cv::SeqIterator< _Tp >::operator-= (int)
 moves iterator backward by the specified offset (possibly negative) More...
 
template<typename _Tp >
bool cv::operator== (const SeqIterator< _Tp > &a, const SeqIterator< _Tp > &b)
 
_Tp & cv::Seq< _Tp >::operator[] (int idx)
 returns read-write reference to the specified element More...
 
const _Tp & cv::Seq< _Tp >::operator[] (int idx) const
 returns read-only reference to the specified element More...
 
void cv::Seq< _Tp >::pop_back ()
 removes the last element from the sequence More...
 
void cv::Seq< _Tp >::pop_back (_Tp *elems, size_t count)
 removes zero or more elements from the end of the sequence More...
 
void cv::Seq< _Tp >::pop_front ()
 removes the first element from the sequence More...
 
void cv::Seq< _Tp >::pop_front (_Tp *elems, size_t count)
 removes zero or more elements from the beginning of the sequence More...
 
void cv::Seq< _Tp >::push_back (const _Tp &elem)
 appends the specified element to the end of the sequence More...
 
void cv::Seq< _Tp >::push_back (const _Tp *elems, size_t count)
 appends zero or more elements to the end of the sequence More...
 
void cv::Seq< _Tp >::push_front (const _Tp &elem)
 appends the specified element to the front of the sequence More...
 
void cv::Seq< _Tp >::push_front (const _Tp *elems, size_t count)
 appends zero or more elements to the front of the sequence More...
 
void cv::Seq< _Tp >::remove (int idx)
 removes element at the specified position More...
 
void cv::Seq< _Tp >::remove (const Range &r)
 removes the specified subsequence More...
 
void cv::SeqIterator< _Tp >::seek (size_t pos)
 positions the iterator within the sequence More...
 
void cv::seqInsertSlice (CvSeq *seq, int before_index, const CvArr *from_arr)
 
void cv::seqPop (CvSeq *seq, void *element=0)
 
void cv::seqPopFront (CvSeq *seq, void *element=0)
 
void cv::seqPopMulti (CvSeq *seq, void *elements, int count, int in_front=0)
 
scharcv::seqPush (CvSeq *seq, const void *element=0)
 
scharcv::seqPushFront (CvSeq *seq, const void *element=0)
 
void cv::seqRemove (CvSeq *seq, int index)
 
void cv::seqRemoveSlice (CvSeq *seq, CvSlice slice)
 
size_t cv::Seq< _Tp >::size () const
 returns the number of elements in the sequence More...
 
size_t cv::SeqIterator< _Tp >::tell () const
 reports the current iterator position More...
 
int cv::Seq< _Tp >::type () const
 returns the type of sequence elements (CV_8UC1 ... CV_64FC(CV_CN_MAX) ...) More...
 

Detailed Description

Typedef Documentation

#include <core/include/opencv2/core/core_c.h>

Function Documentation

template<typename _Tp >
cv::Seq< _Tp >::Seq ( )
inline

#include <core/include/opencv2/core/core_c.h>

the default constructor

template<typename _Tp >
cv::Seq< _Tp >::Seq ( const CvSeq< _Tp > *  seq)
inline

#include <core/include/opencv2/core/core_c.h>

the constructor for wrapping CvSeq structure. The real element type in CvSeq should match _Tp.

References CV_Assert, and CvSeq::elem_size.

template<typename _Tp >
cv::Seq< _Tp >::Seq ( MemStorage storage,
int  headerSize = sizeof(CvSeq< _Tp >) 
)
inline

#include <core/include/opencv2/core/core_c.h>

creates the empty sequence that resides in the specified storage

References CV_Assert, and cvCreateSeq().

Here is the call graph for this function:

template<typename _Tp >
cv::SeqIterator< _Tp >::SeqIterator ( )
inline

#include <core/include/opencv2/core/core_c.h>

the default constructor

template<typename _Tp >
cv::SeqIterator< _Tp >::SeqIterator ( const Seq< _Tp > &  seq,
bool  seekEnd = false 
)
inline

#include <core/include/opencv2/core/core_c.h>

the constructor setting the iterator to the beginning or to the end of the sequence

References cvStartReadSeq(), cv::Seq< _Tp >::seq, and CvSeq::total.

Here is the call graph for this function:

template<typename _Tp >
_Tp & cv::Seq< _Tp >::back ( )
inline

#include <core/include/opencv2/core/core_c.h>

returns reference to the last sequence element

References cv::getSeqElem().

Here is the call graph for this function:

template<typename _Tp >
const _Tp & cv::Seq< _Tp >::back ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

returns read-only reference to the last sequence element

References cv::getSeqElem().

Here is the call graph for this function:

template<typename _Tp >
SeqIterator< _Tp > cv::Seq< _Tp >::begin ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

returns iterator pointing to the beginning of the sequence

template<typename _Tp >
int cv::Seq< _Tp >::channels ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

returns the number of channels in each sequence element

References CV_MAT_CN, and CvSeq::flags.

template<typename _Tp >
void cv::Seq< _Tp >::clear ( )
inline

#include <core/include/opencv2/core/core_c.h>

removes all the elements from the sequence

References cv::clearSeq().

Here is the call graph for this function:

void cv::clearSeq ( CvSeq seq)

#include <core/include/opencv2/core/core_c.h>

Referenced by cv::Seq< _Tp >::clear().

Here is the caller graph for this function:

template<typename _Tp >
void cv::Seq< _Tp >::copyTo ( std::vector< _Tp > &  vec,
const Range range = Range::all() 
) const
inline

#include <core/include/opencv2/core/core_c.h>

copies the whole sequence or the sequence slice to the specified vector

References cv::Range::all(), cvCvtSeqToArray(), cv::Range::end, cv::Range::start, and CvSeq::total.

Referenced by cv::Seq< _Tp >::operator std::vector< _Tp >().

Here is the call graph for this function:

Here is the caller graph for this function:

Mat cv::cvarrToMat ( const CvArr arr,
bool  copyData = false,
bool  allowND = true,
int  coiMode = 0,
AutoBuffer< double > *  buf = 0 
)

#include <core/include/opencv2/core/core_c.h>

converts array (CvMat or IplImage) to cv::Mat

Referenced by cv::cvarrToMatND().

Here is the caller graph for this function:

static Mat cv::cvarrToMatND ( const CvArr arr,
bool  copyData = false,
int  coiMode = 0 
)
inlinestatic

#include <core/include/opencv2/core/core_c.h>

References CV_EXPORTS, cv::cvarrToMat(), cv::extractImageCOI(), and cv::insertImageCOI().

Here is the call graph for this function:

template<typename _Tp >
int cv::Seq< _Tp >::depth ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

returns the depth of sequence elements (CV_8U ... CV_64F)

References CV_MAT_DEPTH, and CvSeq::flags.

template<typename _Tp >
size_t cv::Seq< _Tp >::elemSize ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

returns the size of each sequence element

References CvSeq::elem_size.

template<typename _Tp >
bool cv::Seq< _Tp >::empty ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

returns true iff the sequence contains no elements

References CvSeq::total.

template<typename _Tp >
SeqIterator< _Tp > cv::Seq< _Tp >::end ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

returns iterator pointing to the element following the last sequence element

void cv::extractImageCOI ( const CvArr arr,
OutputArray  coiimg,
int  coi = -1 
)

#include <core/include/opencv2/core/core_c.h>

extracts Channel of Interest from CvMat or IplImage and makes cv::Mat out of it.

Referenced by cv::cvarrToMatND().

Here is the caller graph for this function:

template<typename _Tp >
_Tp & cv::Seq< _Tp >::front ( )
inline

#include <core/include/opencv2/core/core_c.h>

returns reference to the first sequence element

References cv::getSeqElem().

Here is the call graph for this function:

template<typename _Tp >
const _Tp & cv::Seq< _Tp >::front ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

returns read-only reference to the first sequence element

References cv::getSeqElem().

Here is the call graph for this function:

schar* cv::getSeqElem ( const CvSeq seq,
int  index 
)

#include <core/include/opencv2/core/core_c.h>

Referenced by cv::Seq< _Tp >::back(), cv::Seq< _Tp >::front(), and cv::Seq< _Tp >::operator[]().

Here is the caller graph for this function:

template<typename _Tp >
size_t cv::Seq< _Tp >::index ( const _Tp &  elem) const
inline

#include <core/include/opencv2/core/core_c.h>

returns index of the specified sequence element

References cvSeqElemIdx().

Referenced by cv::SeqIterator< _Tp >::tell().

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename _Tp >
void cv::Seq< _Tp >::insert ( int  idx,
const _Tp &  elem 
)
inline

#include <core/include/opencv2/core/core_c.h>

inserts the specified element to the specified position

template<typename _Tp >
void cv::Seq< _Tp >::insert ( int  idx,
const _Tp *  elems,
size_t  count 
)
inline

#include <core/include/opencv2/core/core_c.h>

inserts zero or more elements to the specified position

References cvMat(), and cv::seqInsertSlice().

Here is the call graph for this function:

void cv::insertImageCOI ( InputArray  coiimg,
CvArr arr,
int  coi = -1 
)

#include <core/include/opencv2/core/core_c.h>

inserts single-channel cv::Mat into a multi-channel CvMat or IplImage

Referenced by cv::cvarrToMatND().

Here is the caller graph for this function:

template<typename _Tp >
cv::Seq< _Tp >::operator std::vector< _Tp > ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

returns the vector containing all the sequence elements

References cv::Seq< _Tp >::copyTo().

Here is the call graph for this function:

template<typename _Tp >
bool cv::operator!= ( const SeqIterator< _Tp > &  a,
const SeqIterator< _Tp > &  b 
)
inline

#include <core/include/opencv2/core/core_c.h>

template<typename _Tp >
_Tp & cv::SeqIterator< _Tp >::operator* ( )
inline

#include <core/include/opencv2/core/core_c.h>

returns reference to the current sequence element

template<typename _Tp >
const _Tp & cv::SeqIterator< _Tp >::operator* ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

returns read-only reference to the current sequence element

template<typename _Tp >
SeqIterator< _Tp > & cv::SeqIterator< _Tp >::operator++ ( )
inline

#include <core/include/opencv2/core/core_c.h>

moves iterator to the next sequence element

References CV_NEXT_SEQ_ELEM, and CvSeq::total.

template<typename _Tp >
SeqIterator< _Tp > cv::SeqIterator< _Tp >::operator++ ( int  ) const
inline

#include <core/include/opencv2/core/core_c.h>

moves iterator to the next sequence element

template<typename _Tp >
SeqIterator< _Tp > & cv::SeqIterator< _Tp >::operator+= ( int  delta)
inline

#include <core/include/opencv2/core/core_c.h>

moves iterator forward by the specified offset (possibly negative)

References cvSetSeqReaderPos(), and CvSeq::total.

Here is the call graph for this function:

template<typename _Tp >
ptrdiff_t cv::operator- ( const SeqIterator< _Tp > &  a,
const SeqIterator< _Tp > &  b 
)
inline

#include <core/include/opencv2/core/core_c.h>

References cv::SeqIterator< _Tp >::index, CvSeqReader::seq, and CvSeq::total.

template<typename _Tp >
SeqIterator< _Tp > & cv::SeqIterator< _Tp >::operator-- ( )
inline

#include <core/include/opencv2/core/core_c.h>

moves iterator to the previous sequence element

References CV_PREV_SEQ_ELEM, and CvSeq::total.

template<typename _Tp >
SeqIterator< _Tp > cv::SeqIterator< _Tp >::operator-- ( int  ) const
inline

#include <core/include/opencv2/core/core_c.h>

moves iterator to the previous sequence element

template<typename _Tp >
SeqIterator< _Tp > & cv::SeqIterator< _Tp >::operator-= ( int  delta)
inline

#include <core/include/opencv2/core/core_c.h>

moves iterator backward by the specified offset (possibly negative)

template<typename _Tp >
bool cv::operator== ( const SeqIterator< _Tp > &  a,
const SeqIterator< _Tp > &  b 
)
inline

#include <core/include/opencv2/core/core_c.h>

References cv::SeqIterator< _Tp >::index, and CvSeqReader::seq.

Referenced by cv::instr::NodeData::getMeanMs().

Here is the caller graph for this function:

template<typename _Tp >
_Tp & cv::Seq< _Tp >::operator[] ( int  idx)
inline

#include <core/include/opencv2/core/core_c.h>

returns read-write reference to the specified element

References cv::getSeqElem().

Here is the call graph for this function:

template<typename _Tp >
const _Tp & cv::Seq< _Tp >::operator[] ( int  idx) const
inline

#include <core/include/opencv2/core/core_c.h>

returns read-only reference to the specified element

References cv::getSeqElem().

Here is the call graph for this function:

template<typename _Tp >
void cv::Seq< _Tp >::pop_back ( )
inline

#include <core/include/opencv2/core/core_c.h>

removes the last element from the sequence

References cv::seqPop().

Here is the call graph for this function:

template<typename _Tp >
void cv::Seq< _Tp >::pop_back ( _Tp *  elems,
size_t  count 
)
inline

#include <core/include/opencv2/core/core_c.h>

removes zero or more elements from the end of the sequence

References cv::seqPopMulti().

Here is the call graph for this function:

template<typename _Tp >
void cv::Seq< _Tp >::pop_front ( )
inline

#include <core/include/opencv2/core/core_c.h>

removes the first element from the sequence

References cv::seqPopFront().

Here is the call graph for this function:

template<typename _Tp >
void cv::Seq< _Tp >::pop_front ( _Tp *  elems,
size_t  count 
)
inline

#include <core/include/opencv2/core/core_c.h>

removes zero or more elements from the beginning of the sequence

References cv::seqPopMulti().

Here is the call graph for this function:

template<typename _Tp >
void cv::Seq< _Tp >::push_back ( const _Tp &  elem)
inline

#include <core/include/opencv2/core/core_c.h>

appends the specified element to the end of the sequence

References cvSeqPush().

Here is the call graph for this function:

template<typename _Tp >
void cv::Seq< _Tp >::push_back ( const _Tp *  elems,
size_t  count 
)
inline

#include <core/include/opencv2/core/core_c.h>

appends zero or more elements to the end of the sequence

References cvSeqPushMulti().

Here is the call graph for this function:

template<typename _Tp >
void cv::Seq< _Tp >::push_front ( const _Tp &  elem)
inline

#include <core/include/opencv2/core/core_c.h>

appends the specified element to the front of the sequence

References cvSeqPushFront().

Here is the call graph for this function:

template<typename _Tp >
void cv::Seq< _Tp >::push_front ( const _Tp *  elems,
size_t  count 
)
inline

#include <core/include/opencv2/core/core_c.h>

appends zero or more elements to the front of the sequence

References cvSeqPushMulti().

Here is the call graph for this function:

template<typename _Tp >
void cv::Seq< _Tp >::remove ( int  idx)
inline

#include <core/include/opencv2/core/core_c.h>

removes element at the specified position

References cv::seqRemove().

Here is the call graph for this function:

template<typename _Tp >
void cv::Seq< _Tp >::remove ( const Range r)
inline

#include <core/include/opencv2/core/core_c.h>

removes the specified subsequence

References cvSlice(), cv::Range::end, cv::seqRemoveSlice(), and cv::Range::start.

Here is the call graph for this function:

template<typename _Tp >
void cv::SeqIterator< _Tp >::seek ( size_t  pos)
inline

#include <core/include/opencv2/core/core_c.h>

positions the iterator within the sequence

References cvSetSeqReaderPos().

Here is the call graph for this function:

void cv::seqInsertSlice ( CvSeq seq,
int  before_index,
const CvArr from_arr 
)

#include <core/include/opencv2/core/core_c.h>

Referenced by cv::Seq< _Tp >::insert().

Here is the caller graph for this function:

void cv::seqPop ( CvSeq seq,
void *  element = 0 
)

#include <core/include/opencv2/core/core_c.h>

Referenced by cv::Seq< _Tp >::pop_back().

Here is the caller graph for this function:

void cv::seqPopFront ( CvSeq seq,
void *  element = 0 
)

#include <core/include/opencv2/core/core_c.h>

Referenced by cv::Seq< _Tp >::pop_front().

Here is the caller graph for this function:

void cv::seqPopMulti ( CvSeq seq,
void *  elements,
int  count,
int  in_front = 0 
)

#include <core/include/opencv2/core/core_c.h>

Referenced by cv::Seq< _Tp >::pop_back(), and cv::Seq< _Tp >::pop_front().

Here is the caller graph for this function:

schar* cv::seqPush ( CvSeq seq,
const void *  element = 0 
)

#include <core/include/opencv2/core/core_c.h>

schar* cv::seqPushFront ( CvSeq seq,
const void *  element = 0 
)

#include <core/include/opencv2/core/core_c.h>

void cv::seqRemove ( CvSeq seq,
int  index 
)

#include <core/include/opencv2/core/core_c.h>

Referenced by cv::Seq< _Tp >::remove().

Here is the caller graph for this function:

void cv::seqRemoveSlice ( CvSeq seq,
CvSlice  slice 
)

#include <core/include/opencv2/core/core_c.h>

Referenced by cv::Seq< _Tp >::remove().

Here is the caller graph for this function:

template<typename _Tp >
size_t cv::Seq< _Tp >::size ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

returns the number of elements in the sequence

References CvSeq::total.

template<typename _Tp >
size_t cv::SeqIterator< _Tp >::tell ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

reports the current iterator position

References cv::Seq< _Tp >::index().

Here is the call graph for this function:

template<typename _Tp >
int cv::Seq< _Tp >::type ( ) const
inline

#include <core/include/opencv2/core/core_c.h>

returns the type of sequence elements (CV_8UC1 ... CV_64FC(CV_CN_MAX) ...)

References CV_MAT_TYPE, and CvSeq::flags.