|
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>
Public Shared Function Create(Of TExtractor, TClustering As {Object, IUnsupervisedLearning(Of IClassifier(Of Double(), Integer), Double(), Integer)}) (
detector As IImageFeatureExtractor(Of FeatureDescriptor),
clustering As TClustering
) As BagOfVisualWords(Of FeatureDescriptor, Double(), TClustering, IImageFeatureExtractor(Of FeatureDescriptor))
Request Example
View SourceParameters
- detector
- Type: Accord.ImagingIImageFeatureExtractorFeatureDescriptor
- clustering
- Type: TClustering
Type Parameters
- TExtractor
- TClustering
Return Value
Type:
BagOfVisualWordsFeatureDescriptor,
Double,
TClustering,
IImageFeatureExtractorFeatureDescriptorSee Also