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