Connections with C++

Overview

// typedefs

typedef Ptr<CvMemStorage> cv::MemStorage;

// structs

struct CvType;

// classes

template <typename _Tp>
class cv::Seq;

template <typename _Tp>
class cv::SeqIterator;

// global functions

void
cv::clearSeq(CvSeq* seq);

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

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

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

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

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

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

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

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

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
    );

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

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

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

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

Detailed Documentation

Global Functions

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

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.

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

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