|
BagOfVisualWords. Create< TExtractor, TClustering> Method (IImageFeatureExtractor< FeatureDescriptor> , 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
Syntaxpublic 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.Imaging.IImageFeatureExtractor<FeatureDescriptor>
- clustering
- Type: TClustering
Type Parameters
- TExtractor
- TClustering
Return Value
Type:
BagOfVisualWords<FeatureDescriptor,
Double[],
TClustering,
IImageFeatureExtractor<FeatureDescriptor>>
See Also