CvSeqPartitionT Method (CvSeqT, 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 static int SeqPartition<T>(
	CvSeq<T> seq,
	CvMemStorage storage,
	out CvSeq labels,
	CvCmpFunc<T> isEqual
)
where T : struct, new()

Parameters

seq
Type: OpenCvSharpCvSeqT
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: 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.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:OpenCvSharp.Cv.SeqPartition``1(OpenCvSharp.CvSeq{``0},OpenCvSharp.CvMemStorage,OpenCvSharp.CvSeq@,OpenCvSharp.CvCmpFunc{``0})"]

Return Value

Type: Int32

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

See Also

Reference