BOWKMeansTrainer Constructor
|
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic BOWKMeansTrainer(
int clusterCount,
Nullable<TermCriteria> termcrit = null,
int attempts = 3,
KMeansFlags flags = KMeansFlags.PpCenters
)
Public Sub New (
clusterCount As Integer,
Optional termcrit As Nullable(Of TermCriteria) = Nothing,
Optional attempts As Integer = 3,
Optional flags As KMeansFlags = KMeansFlags.PpCenters
)
public:
BOWKMeansTrainer(
int clusterCount,
Nullable<TermCriteria> termcrit = nullptr,
int attempts = 3,
KMeansFlags flags = KMeansFlags::PpCenters
)
new :
clusterCount : int *
?termcrit : Nullable<TermCriteria> *
?attempts : int *
?flags : KMeansFlags
(* Defaults:
let _termcrit = defaultArg termcrit null
let _attempts = defaultArg attempts 3
let _flags = defaultArg flags KMeansFlags.PpCenters
*)
-> BOWKMeansTrainer
OpenCvSharp.BOWKMeansTrainer = function(clusterCount, termcrit, attempts, flags);
Parameters
- clusterCount
- Type: SystemInt32
- termcrit (Optional)
- Type: SystemNullableTermCriteria
- attempts (Optional)
- Type: SystemInt32
- flags (Optional)
- Type: OpenCvSharpKMeansFlags
See Also