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