|
BagOfVisualWordsCreateTExtractor, TClustering 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<IFeatureDescriptor<double[]>, double[], TClustering, TExtractor> Create<TExtractor, TClustering>(
TExtractor detector,
TClustering clustering
)
where TExtractor : Object, IImageFeatureExtractor<IFeatureDescriptor<double[]>>
where TClustering : Object, IUnsupervisedLearning<IClassifier<double[], int>, double[], int>
Public Shared Function Create(Of TExtractor As {Object, IImageFeatureExtractor(Of IFeatureDescriptor(Of Double()))}, TClustering As {Object, IUnsupervisedLearning(Of IClassifier(Of Double(), Integer), Double(), Integer)}) (
detector As TExtractor,
clustering As TClustering
) As BagOfVisualWords(Of IFeatureDescriptor(Of Double()), Double(), TClustering, TExtractor)
Request Example
View SourceParameters
- detector
- Type: TExtractor
- clustering
- Type: TClustering
Type Parameters
- TExtractor
- TClustering
Return Value
Type:
BagOfVisualWordsIFeatureDescriptorDouble,
Double,
TClustering,
TExtractorSee Also