Working with Matrices

From EMGU
Revision as of 20:28, 22 May 2009 by Emgucv (talk | contribs) (New page: == Depth as Generic Parameter == A Matrix is defined by its generic parameters '''depth'''. To create a 32bit floating point matrix, in Emgu CV it is done by calling <source lang="csha...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Depth as Generic Parameter

A Matrix is defined by its generic parameters depth. To create a 32bit floating point matrix, in Emgu CV it is done by calling

Matrix<Single> matrix = new Matrix<Single>(width, height);

Matrix Depth

The types of depth supported in Emgu CV 1.4.0.0 include

  • Byte
  • SByte
  • Single (float)
  • Double
  • UInt16
  • Int16
  • Int32 (int)