Click or drag to resize
Accord.NET (logo)

BagOfVisualWordsCreateTExtractor, TClustering, TPoint, TFeature Method (TExtractor, TClustering)

Creates a Bag-of-Words model using the given feature detector and clustering algorithm.

Namespace:  Accord.Imaging
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
public static BagOfVisualWords<TPoint, TFeature, TClustering, TExtractor> Create<TExtractor, TClustering, TPoint, TFeature>(
	TExtractor detector,
	TClustering clustering
)
where TExtractor : Object, IImageFeatureExtractor<TPoint>
where TClustering : Object, IUnsupervisedLearning<IClassifier<TFeature, int>, TFeature, int>
where TPoint : Object, IFeatureDescriptor<TFeature>
Request Example View Source

Parameters

detector
Type: TExtractor
clustering
Type: TClustering

Type Parameters

TExtractor
TClustering
TPoint
TFeature

Return Value

Type: BagOfVisualWordsTPoint, TFeature, TClustering, TExtractor
See Also