Click or drag to resize
Accord.NET (logo)

BaseBagOfVisualWordsTModel, TPoint, TFeature, TClustering, TDetectorCompute 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.7.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<TPoint>[] 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: ListTPoint
The list of feature points detected in all images.
See Also