CvSeqTPartition Method (CvMemStorage, CvSeq, CvCmpFuncT) OpenCvSharp Class Library
Splits sequence into equivalence classes

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public int Partition(
	CvMemStorage storage,
	out CvSeq labels,
	CvCmpFunc<T> isEqual
)

Parameters

storage
Type: OpenCvSharpCvMemStorage
The storage to store the sequence of equivalence classes. If it is null, the function uses seq->storage for output labels.
labels
Type: OpenCvSharpCvSeq
Output parameter. Double pointer to the sequence of 0-based labels of input sequence elements.
isEqual
Type: OpenCvSharpCvCmpFuncT
The relation function that should return non-zero if the two particular sequence elements are from the same class, and zero otherwise. The partitioning algorithm uses transitive closure of the relation function as equivalence criteria.

Return Value

Type: Int32

[Missing <returns> documentation for "M:OpenCvSharp.CvSeq`1.Partition(OpenCvSharp.CvMemStorage,OpenCvSharp.CvSeq@,OpenCvSharp.CvCmpFunc{`0})"]

See Also

Reference