Class ImageTrackingConfiguration

Definition

Namespace:
Tizen.Multimedia.Vision
Assembly:
Tizen.Multimedia.Vision.dll
API Level:
4
Feature:
http://tizen.org/feature/vision.image_recognition

Represents a configuration of ImageTracker.

C#
Copy
public class ImageTrackingConfiguration : ImageRecognitionConfiguration, IDisposable
Inheritance
System.Object
ImageTrackingConfiguration
Implements
System.IDisposable

Constructors

View Source

ImageTrackingConfiguration()

Initializes a new instance of the ImageTrackingConfiguration class.

Declaration
C#
Copy
public ImageTrackingConfiguration()
Exceptions
Type Condition
System.NotSupportedException

The feature is not supported.

API Level: 4

Fields

View Source

DefaultExpectedOffset

A read-only field that represents the default value of ExpectedOffset.

Declaration
C#
Copy
public static readonly double DefaultExpectedOffset
Field Value
Type Description
System.Double
API Level: 4
View Source

DefaultHistoryAmount

A read-only field that represents the default value of HistoryAmount.

Declaration
C#
Copy
public static readonly int DefaultHistoryAmount
Field Value
Type Description
Int32
API Level: 4
View Source

DefaultStabilizationAcceleration

A read-only field that represents the default value of StabilizationAcceleration.

Declaration
C#
Copy
public static readonly double DefaultStabilizationAcceleration
Field Value
Type Description
System.Double
API Level: 4
View Source

DefaultStabilizationEnabled

A read-only field that represents the default value of IsStabilizationEnabled.

Declaration
C#
Copy
public static readonly bool DefaultStabilizationEnabled
Field Value
Type Description
Boolean
API Level: 4
View Source

DefaultStabilizationSpeed

A read-only field that represents the default value of StabilizationSpeed.

Declaration
C#
Copy
public static readonly double DefaultStabilizationSpeed
Field Value
Type Description
System.Double
API Level: 4
View Source

DefaultStabilizationTolerantShift

A read-only field that represents the default value of StabilizationTolerantShift.

Declaration
C#
Copy
public static readonly double DefaultStabilizationTolerantShift
Field Value
Type Description
System.Double
API Level: 4

Properties

View Source

ExpectedOffset

Gets or sets the expected tracking offset.

Declaration
C#
Copy
public double ExpectedOffset { get; set; }
Property Value
Type Description
System.Double

Relative offset value for which the object offset is expected (relative to the object size in the current frame).
The default is 0.

Exceptions
Type Condition
ObjectDisposedException

The ImageTrackingConfiguration already has been disposed of.

API Level: 4
View Source

HistoryAmount

Gets or sets the number of recognition results in the tracking history.

Declaration
C#
Copy
public int HistoryAmount { get; set; }
Property Value
Type Description
Int32

The number of previous recognition results, which will influence the stabilization.
The default is 3.

Exceptions
Type Condition
ObjectDisposedException

The ImageTrackingConfiguration already has been disposed of.

System.ArgumentOutOfRangeException

value is less than zero.

API Level: 4
View Source

IsStabilizationEnabled

Gets or sets the state of the contour stabilization during tracking process.

Declaration
C#
Copy
public bool IsStabilizationEnabled { get; set; }
Property Value
Type Description
Boolean

true if the contour stabilization is enabled; otherwise false.
The default is true.

Exceptions
Type Condition
ObjectDisposedException

The ImageTrackingConfiguration already has been disposed of.

API Level: 4
View Source

StabilizationAcceleration

Gets or sets the acceleration of the tracking stabilization.

Declaration
C#
Copy
public double StabilizationAcceleration { get; set; }
Property Value
Type Description
System.Double

Acceleration will be used for image stabilization (relative to the distance from current location to stabilized location); from 0 to 1, inclusive.
The default is 0.1.

Exceptions
Type Condition
ObjectDisposedException

The ImageTrackingConfiguration already has been disposed of.

System.ArgumentOutOfRangeException

value is less than zero.
-or-
value is greater than one.

API Level: 4
View Source

StabilizationSpeed

Gets or sets the speed of the tracking stabilization.

Declaration
C#
Copy
public double StabilizationSpeed { get; set; }
Property Value
Type Description
System.Double

The start speed value used for image stabilization.
The default is 0.3.

Exceptions
Type Condition
ObjectDisposedException

The ImageTrackingConfiguration already has been disposed of.

API Level: 4
View Source

StabilizationTolerantShift

Gets or sets the relative tolerant shift for the tracking stabilization.

Declaration
C#
Copy
public double StabilizationTolerantShift { get; set; }
Property Value
Type Description
System.Double

It is component of tolerant shift which will be ignored by stabilization process. (this value is relative to the object size in the current frame). Tolerant shift will be computed like R * S + C, where R is the value set to StabilizationTolerantShift, S is the area of object location on frame, C is a constant value 1.3.

The default is 0.00006.

Exceptions
Type Condition
ObjectDisposedException

The ImageTrackingConfiguration already has been disposed of.

API Level: 4

Implements

System.IDisposable