|
BagOfVisualWordsCreateTDetector, TClustering, TFeature Method (TDetector, 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.6.0
Syntaxpublic static BagOfVisualWords<IFeatureDescriptor<TFeature>, TFeature, TClustering, TDetector> Create<TDetector, TClustering, TFeature>(
TDetector detector,
TClustering clustering
)
where TDetector : Object, IFeatureDetector<IFeatureDescriptor<TFeature>, TFeature>
where TClustering : Object, IUnsupervisedLearning<IClassifier<TFeature, int>, TFeature, int>
Public Shared Function Create(Of TDetector As {Object, IFeatureDetector(Of IFeatureDescriptor(Of TFeature), TFeature)}, TClustering As {Object, IUnsupervisedLearning(Of IClassifier(Of TFeature, Integer), TFeature, Integer)}, TFeature) (
detector As TDetector,
clustering As TClustering
) As BagOfVisualWords(Of IFeatureDescriptor(Of TFeature), TFeature, TClustering, TDetector) Request Example
View SourceParameters
- detector
- Type: TDetector
- clustering
- Type: TClustering
Type Parameters
- TDetector
- TClustering
- TFeature
Return Value
Type:
BagOfVisualWordsIFeatureDescriptorTFeature,
TFeature,
TClustering,
TDetector
See Also