Difference between revisions of "Emgu CV 1.5 Upgrade Instructions"

From Emgu CV: OpenCV in .NET (C#, VB, C++ and more)
Jump to navigation Jump to search
m (Reverted edits by Inuxejiq (talk) to last revision by Canming)
Line 1: Line 1:
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://evicijum.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
 
----
 
=[http://evicijum.co.cc CLICK HERE]=
 
----
 
</div>
 
 
===Upgrading from Emgu CV 1.4 to 1.5===
 
===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:
 
The following steps must be performed to upgrade from Emgu CV 1.4 to 1.5:
* Replace Point2D&lt;int> and MCvPoint with System.Drawing.Point
+
* Replace Point2D<int> and MCvPoint with System.Drawing.Point
* Replace Point2D&lt;float> and MCvPoint2D32F with System.Drawing.PointF
+
* Replace Point2D<float> and MCvPoint2D32F with System.Drawing.PointF
* Replace Point2D&lt;double> with MCvPoint2D64F
+
* Replace Point2D<double> with MCvPoint2D64F
 
* Replace MCvSize with System.Drawing.Size
 
* Replace MCvSize with System.Drawing.Size
* Replace Rectangle&lt;TDepth> with System.Drawing.Rectangle.  
+
* Replace Rectangle<TDepth> with System.Drawing.Rectangle.  
* Replace LineSegment2D&lt;int> with LineSegment2D
+
* Replace LineSegment2D<int> with LineSegment2D
* Replace LineSegment2D&lt;float> with LineSegment2DF
+
* Replace LineSegment2D<float> with LineSegment2DF
* Replace Circle&lt;TDepth> with CircleF
+
* Replace Circle<TDepth> with CircleF
 
* Include Emgu.CV.Structure namespace for codes that use Managed [[OpenCV]] structures (MCv***).
 
* Include Emgu.CV.Structure namespace for codes that use Managed [[OpenCV]] structures (MCv***).

Revision as of 13:43, 30 November 2010

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***).