Table of Contents

Class CCheckerDetector

Namespace
Emgu.CV.Mcc
Assembly
Emgu.CV.dll

A class to find the positions of the ColorCharts in the image.

public class CCheckerDetector : SharedPtrObject, IDisposable, IAlgorithm
Inheritance
CCheckerDetector
Implements
Inherited Members
Extension Methods

Constructors

CCheckerDetector()

Create a new CCheckerDetector.

public CCheckerDetector()

Properties

AlgorithmPtr

Pointer to the native algorithm object

public nint AlgorithmPtr { get; }

Property Value

nint

BestColorChecker

Get the best color checker. By the best it means the one detected with the highest confidence.

public CChecker BestColorChecker { get; }

Property Value

CChecker

Methods

DisposeObject()

Release the unmanaged memory associated with this object

protected override void DisposeObject()

Process(IInputArray, TypeChart, int, bool, DetectorParameters)

Find the ColorCharts in the given image. The found charts are not returned but instead stored in the detector, these can be accessed later on using BestColorChecker and GetListColorChecker()

public bool Process(IInputArray image, CChecker.TypeChart chartType, int nc = 1, bool useNet = false, DetectorParameters p = null)

Parameters

image IInputArray

Image in color space BGR

chartType CChecker.TypeChart

Type of the chart to detect

nc int

Number of charts in the image, if you don't know the exact then keeping this number high helps.

useNet bool

If it is true, the network provided using the setNet() is used for preliminary search for regions where chart could be present, inside the regionsOfInterest provided.

p DetectorParameters

Parameters of the detection system

Returns

bool

true if at least one chart is detected, otherwise false