Click or drag to resize
Accord.NET (logo) BaseBagOfVisualWordsTModel, TPoint, TFeature, TClustering, TDetector Class
Base class for Bag of Visual Words implementations.
Inheritance Hierarchy
SystemObject
  Accord.MachineLearningParallelLearningBase
    Accord.ImagingBaseBagOfVisualWordsTModel, TPoint, TFeature, TClustering, TDetector
      Accord.ImagingBagOfVisualWords
      Accord.ImagingBagOfVisualWordsTPoint
      Accord.ImagingBagOfVisualWordsTPoint, TFeature
      Accord.ImagingBagOfVisualWordsTPoint, TFeature, TClustering, TDetector

Namespace:  Accord.Imaging
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.4.0
Syntax
[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, IClusteringAlgorithm<TFeature>
where TDetector : Object, IFeatureDetector<TPoint, TFeature>
Request Example View Source

Type Parameters

TModel
TPoint
TFeature
TClustering
TDetector

The BaseBagOfVisualWordsTModel, TPoint, TFeature, TClustering, TDetector type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyClustering
Gets the clustering algorithm used to create this model.
Public propertyDetector
Gets the SURF feature point detector used to identify visual features in images.
Public propertyNumberOfInputs
Gets the number of inputs accepted by the model.
Public propertyNumberOfOutputs
Gets the number of outputs generated by the model.
Public propertyNumberOfWords
Gets the number of words in this codebook.
Public propertyParallelOptions
Gets or sets the parallelization options for this algorithm.
(Inherited from ParallelLearningBase.)
Public propertyToken
Gets or sets a cancellation token that can be used to cancel the algorithm while it is running.
(Inherited from ParallelLearningBase.)
Top
Methods
  NameDescription
Public methodCompute(Bitmap) Obsolete.
Computes the Bag of Words model.
Public methodCompute(TFeature) Obsolete.
Computes the Bag of Words model.
Public methodCompute(Bitmap, Double) Obsolete.
Computes the Bag of Words model.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetFeatureVector(ListTPoint) Obsolete.
Gets the codeword representation of a given image.
Public methodGetFeatureVector(Bitmap) Obsolete.
Gets the codeword representation of a given image.
Public methodGetFeatureVector(UnmanagedImage) Obsolete.
Gets the codeword representation of a given image.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInit
Initializes this instance.
Public methodLearn(Bitmap, Double)
Learns a model that can map the given inputs to the desired outputs.
Public methodLearn(TFeature, Double)
Learns a model that can map the given inputs to the desired outputs.
Public methodLearn(UnmanagedImage, Double)
Learns a model that can map the given inputs to the desired outputs.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave(Stream) Obsolete.
Saves the bag of words to a stream.
Public methodSave(String) Obsolete.
Saves the bag of words to a file.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransform(ListTPoint)
Applies the transformation to an input, producing an associated output.
Public methodTransform(Bitmap)
Applies the transformation to an input, producing an associated output.
Public methodTransform(Bitmap)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(UnmanagedImage)
Applies the transformation to an input, producing an associated output.
Public methodTransform(UnmanagedImage)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(IListTPoint, Double)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(IListTPoint, Int32)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(Bitmap, Double)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(Bitmap, Int32)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(Bitmap, Double)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(Bitmap, Int32)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(UnmanagedImage, Double)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(UnmanagedImage, Int32)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(UnmanagedImage, Double)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Public methodTransform(UnmanagedImage, Int32)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
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.)
Public Extension MethodToTOverloaded.
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 Matrix.)
Top
See Also