Camshift Class |
Namespace: Accord.Vision.Tracking
The Camshift type exposes the following members.
Name | Description | |
---|---|---|
Camshift |
Constructs a new Camshift tracking algorithm.
| |
Camshift(Rectangle) |
Constructs a new Camshift tracking algorithm.
| |
Camshift(Rectangle, CamshiftMode) |
Constructs a new Camshift tracking algorithm.
| |
Camshift(UnmanagedImage, Rectangle) |
Constructs a new Camshift tracking algorithm.
| |
Camshift(UnmanagedImage, Rectangle, CamshiftMode) |
Constructs a new Camshift tracking algorithm.
|
Name | Description | |
---|---|---|
AspectRatio |
Gets or sets the desired window aspect ratio.
| |
Conservative |
Gets or sets whether the algorithm should scan only the
active window or the entire image for histogram ratio.
| |
Extract |
Gets or sets a value indicating whether the tracker
should extract the object image from the source. The
extracted image will be available in Image.
| |
HslLightnessRange |
If using HSL mode, specifies the operational lightness range for the tracker.
| |
HslSaturationRange |
If using HSL mode, specifies the operational saturation range for the tracker.
| |
IsSteady |
Gets whether the tracking object is
showing little variation of fluctuation.
| |
Map |
Probability map
| |
Mode |
Gets or sets the mode of operation for this tracker.
| |
SearchWindow |
Gets or sets the current search window.
| |
Smooth |
Gets or sets a value indicating whether the angular
movements should be smoothed using a moving average.
| |
TrackingObject |
Gets the location of the object being tracked.
|
Name | Description | |
---|---|---|
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.) | |
GetBackprojection |
Generates a image of the histogram back projection
| |
GetBackprojection(PixelFormat) |
Generates a image of the histogram backprojection
| |
GetBackprojection(PixelFormat, Rectangle) |
Generates a image of the histogram backprojection
| |
GetBackprojection(UnmanagedImage, Rectangle) |
Generates a image of the histogram backprojection
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ProcessFrame |
Processes a new video frame.
| |
Reset |
Resets the object tracking algorithm.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.) | |
To(Type) | Overloaded.
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.) | |
ToT | Overloaded.
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.) |
Camshift stands for "Continuously Adaptive Mean Shift". It combines the basic Mean Shift algorithm with an adaptive region-sizing step. The kernel is a step function applied to a probability map. The probability of each image pixel is based on color using a method called histogram backprojection.
The implementation of this code has used Gary Bradski's original publication, the OpenCV Library and the FaceIt implementation as references. The OpenCV library is distributed under a BSD license. FaceIt is distributed under a MIT license. The original licensing terms for FaceIt are described in the source code and in the Copyright.txt file accompanying the framework.
References: