Table of Contents

Class Context

Namespace
Emgu.CV.Ocl
Assembly
Emgu.CV.dll

This class contains ocl context information

public class Context : UnmanagedObject, IDisposable
Inheritance
Context
Implements
Inherited Members

Constructors

Context()

Create a empty OclContext object

public Context()

Properties

Default

Get the default OclContext. Do not dispose this context.

public static Context Default { get; }

Property Value

Context

Methods

DisposeObject()

Release all the unmanaged memory associated with this OclContext

protected override void DisposeObject()

GetProgram(ProgramSource, string, CvString)

Compile the program

public Program GetProgram(ProgramSource prog, string buildOpt, CvString errMsg)

Parameters

prog ProgramSource

The program source

buildOpt string

The build option

errMsg CvString

Error message

Returns

Program

The compiled program