CvSeqPartition Method (CvSeq, CvMemStorage, CvSeq, CvCmpFunc) 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 static int SeqPartition(
	CvSeq seq,
	CvMemStorage storage,
	out CvSeq labels,
	CvCmpFunc isEqual
)

Parameters

seq
Type: OpenCvSharpCvSeq
The sequence to partition.
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: OpenCvSharpCvCmpFunc
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.Cv.SeqPartition(OpenCvSharp.CvSeq,OpenCvSharp.CvMemStorage,OpenCvSharp.CvSeq@,OpenCvSharp.CvCmpFunc)"]

See Also

Reference