Into

Modules

Documentation

namespace referencePiiOpenCv

Definitions for OpenCV-related routines.

Functions

template<class T>
CvMat *
(
  • int rows
  • int columns
)

Allocates a new CvMat object with the given data type T.

Function details

  • template<class T>

    CvMat * cvMat

    (
    • int rows
    • int columns
    )
    [inline]

    #include <PiiOpenCv.h>

    Allocates a new CvMat object with the given data type T.

    This is the same as cvCreateMat(rows, columns, type), but saves you from using cumbersome OpenCV type constants.

    Parameters
    rows

    the number of rows in the matrix

    columns

    the number of columns in the matrix

    Returns

    a newly allocated (one-channel) CvMat structure. Deallocate with cvReleaseMat.

Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.