Click or drag to resize
Accord.NET (logo)

BaseBagOfVisualWordsTModel, TFeature, TPoint, TClustering, TExtractorCompute Method (Bitmap, Double)

Note: This API is now obsolete.

Computes the Bag of Words model.

Namespace:  Accord.Imaging
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please configure the tolerance of the clustering algorithm directly in the algorithm itself by accessing it through the Clustering property of this class.")]
public List<TFeature>[] Compute(
	Bitmap[] images,
	double threshold
)
Request Example View Source

Parameters

images
Type: System.DrawingBitmap
The set of images to initialize the model.
threshold
Type: SystemDouble
Convergence rate for the k-means algorithm. Default is 1e-5.

Return Value

Type: ListTFeature
The list of feature points detected in all images.
See Also