Difference between revisions of "Emgu CV 1.5 Upgrade Instructions"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===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 | + | * Replace Point2D<int> and MCvPoint with System.Drawing.Point |
− | * Replace Point2D | + | * Replace Point2D<float> and MCvPoint2D32F with System.Drawing.PointF |
− | * Replace Point2D | + | * Replace Point2D<double> with MCvPoint2D64F |
* Replace MCvSize with System.Drawing.Size | * Replace MCvSize with System.Drawing.Size | ||
− | * Replace Rectangle | + | * Replace Rectangle<TDepth> with System.Drawing.Rectangle. |
− | * Replace LineSegment2D | + | * Replace LineSegment2D<int> with LineSegment2D |
− | * Replace LineSegment2D | + | * Replace LineSegment2D<float> with LineSegment2DF |
− | * Replace Circle | + | * 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***).