Click or drag to resize
Accord.NET (logo)

BagOfVisualWordsCreateTExtractor, TClustering Method (IImageFeatureExtractorFeatureDescriptor, 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<FeatureDescriptor, double[], TClustering, IImageFeatureExtractor<FeatureDescriptor>> Create<TExtractor, TClustering>(
	IImageFeatureExtractor<FeatureDescriptor> detector,
	TClustering clustering
)
where TClustering : Object, IUnsupervisedLearning<IClassifier<double[], int>, double[], int>
Request Example View Source

Parameters

detector
Type: Accord.ImagingIImageFeatureExtractorFeatureDescriptor
clustering
Type: TClustering

Type Parameters

TExtractor
TClustering

Return Value

Type: BagOfVisualWordsFeatureDescriptor, Double, TClustering, IImageFeatureExtractorFeatureDescriptor
See Also