O'Reilly logo

Emgu CV Essentials by Shin Shi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Structure mapping

Emgu.CV.Structure namespace contains all the direct mappings to OpenCV basic structures. Examples are shown in the following table:

Emgu CV structure

OpenCV structure

Emgu.CV.Structure.MIplImage

IplImage

Emgu.CV.Structure.MCvMat

CvMat

Emgu.CV.Structure.Mxxxx

xxxx

The prefix M in the table means managed structure.

The best thing is that Emgu CV mixes .NET graphics and the OpenCV structures together. Parts of them are shown in the following structure:

.NET structure

OpenCV structure

System.Drawing.Point

CvPoint

System.Drawing.PointF

CvPoint2D32f

System.Drawing.Size

CvSize

System.Drawing.Rectangle

CvRect

This is amazing because it is just like a bridge from OpenCV to .NET structure. If we know something about ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required