Emgu CV 1.5 Upgrade Instructions

From Emgu CV: OpenCV in .NET (C#, VB, C++ and more)
Jump to: navigation, search

Upgrading from Emgu CV 1.4 to 1.5

The following steps must be performed to upgrade from Emgu CV 1.4 to 1.5:

  • Replace Point2D<int> and MCvPoint with System.Drawing.Point
  • Replace Point2D<float> and MCvPoint2D32F with System.Drawing.PointF
  • Replace Point2D<double> with MCvPoint2D64F
  • Replace MCvSize with System.Drawing.Size
  • Replace Rectangle<TDepth> with System.Drawing.Rectangle.
  • Replace LineSegment2D<int> with LineSegment2D
  • Replace LineSegment2D<float> with LineSegment2DF
  • Replace Circle<TDepth> with CircleF
  • Include Emgu.CV.Structure namespace for codes that use Managed OpenCV structures (MCv***).