Cv2CalcGlobalOrientation Method OpenCvSharp Class Library
Computes the global orientation of the selected motion history image part

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static double CalcGlobalOrientation(
	InputArray orientation,
	InputArray mask,
	InputArray mhi,
	double timestamp,
	double duration
)

Parameters

orientation
Type: OpenCvSharp.CPlusPlusInputArray
Motion gradient orientation image calculated by the function CalcMotionGradient() .
mask
Type: OpenCvSharp.CPlusPlusInputArray
Mask image. It may be a conjunction of a valid gradient mask, also calculated by CalcMotionGradient() , and the mask of a region whose direction needs to be calculated.
mhi
Type: OpenCvSharp.CPlusPlusInputArray
Motion history image calculated by UpdateMotionHistory() .
timestamp
Type: SystemDouble
Timestamp passed to UpdateMotionHistory() .
duration
Type: SystemDouble
Maximum duration of a motion track in milliseconds, passed to UpdateMotionHistory() .

Return Value

Type: Double

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcGlobalOrientation(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,System.Double,System.Double)"]

See Also

Reference