|
|
BaseBagOfVisualWordsTModel, TPoint, TFeature, TClustering, TDetector Class |
Namespace: Accord.Imaging
[SerializableAttribute] public class BaseBagOfVisualWords<TModel, TPoint, TFeature, TClustering, TDetector> : ParallelLearningBase, IBagOfWords<Bitmap>, ITransform<Bitmap, double[]>, ITransform, ITransform<Bitmap, int[]>, IBagOfWords<UnmanagedImage>, ITransform<UnmanagedImage, double[]>, ITransform<UnmanagedImage, int[]>, IUnsupervisedLearning<TModel, Bitmap, int[]>, IUnsupervisedLearning<TModel, Bitmap, double[]>, IUnsupervisedLearning<TModel, UnmanagedImage, int[]>, IUnsupervisedLearning<TModel, UnmanagedImage, double[]> where TModel : BaseBagOfVisualWords<TModel, TPoint, TFeature, TClustering, TDetector> where TPoint : Object, IFeatureDescriptor<TFeature> where TClustering : Object, IUnsupervisedLearning<IClassifier<TFeature, int>, TFeature, int> where TDetector : Object, IFeatureDetector<TPoint, TFeature>
The BaseBagOfVisualWordsTModel, TPoint, TFeature, TClustering, TDetector type exposes the following members.
| Name | Description | |
|---|---|---|
| BaseBagOfVisualWordsTModel, TPoint, TFeature, TClustering, TDetector |
Constructs a new BagOfVisualWords.
|
| Name | Description | |
|---|---|---|
| Clustering |
Gets the clustering algorithm used to create this model.
| |
| Detector |
Gets the SURF
feature point detector used to identify visual features in images.
| |
| NumberOfInputs |
Gets the number of inputs accepted by the model.
| |
| NumberOfOutputs |
Gets the number of outputs generated by the model.
| |
| NumberOfWords |
Gets the number of words in this codebook.
| |
| ParallelOptions |
Gets or sets the parallelization options for this algorithm.
(Inherited from ParallelLearningBase.) | |
| Token |
Gets or sets a cancellation token that can be used
to cancel the algorithm while it is running.
(Inherited from ParallelLearningBase.) |
| Name | Description | |
|---|---|---|
| Compute(Bitmap) | Obsolete.
Computes the Bag of Words model.
| |
| Compute(TFeature) | Obsolete.
Computes the Bag of Words model.
| |
| Compute(Bitmap, Double) | Obsolete.
Computes the Bag of Words model.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetFeatureVector(ListTPoint) | Obsolete.
Gets the codeword representation of a given image.
| |
| GetFeatureVector(Bitmap) | Obsolete.
Gets the codeword representation of a given image.
| |
| GetFeatureVector(UnmanagedImage) | Obsolete.
Gets the codeword representation of a given image.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Init |
Initializes this instance.
| |
| Learn(Bitmap, Double) |
Learns a model that can map the given inputs to the desired outputs.
| |
| Learn(TFeature, Double) |
Learns a model that can map the given inputs to the desired outputs.
| |
| Learn(UnmanagedImage, Double) |
Learns a model that can map the given inputs to the desired outputs.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Save(Stream) | Obsolete.
Saves the bag of words to a stream.
| |
| Save(String) | Obsolete.
Saves the bag of words to a file.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Transform(ListTPoint) |
Applies the transformation to an input, producing an associated output.
| |
| Transform(Bitmap) |
Applies the transformation to an input, producing an associated output.
| |
| Transform(Bitmap) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
| |
| Transform(UnmanagedImage) |
Applies the transformation to an input, producing an associated output.
| |
| Transform(UnmanagedImage) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
| |
| Transform(IListTPoint, Double) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
| |
| Transform(IListTPoint, Int32) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
| |
| Transform(Bitmap, Double) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
| |
| Transform(Bitmap, Int32) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
| |
| Transform(Bitmap, Double) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
| |
| Transform(Bitmap, Int32) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
| |
| Transform(UnmanagedImage, Double) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
| |
| Transform(UnmanagedImage, Int32) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
| |
| Transform(UnmanagedImage, Double) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
| |
| Transform(UnmanagedImage, Int32) |
Applies the transformation to a set of input vectors,
producing an associated set of output vectors.
|
| Name | Description | |
|---|---|---|
| HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
| IsEqual | Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices. (Defined by Matrix.) | |
| ToT |
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |