Click or drag to resize

CvOptFlowCalcGlobalOrientation Method

Computes the global orientation of the selected motion history image part

Namespace:  OpenCvSharp.OptFlow
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static double CalcGlobalOrientation(
	InputArray orientation,
	InputArray mask,
	InputArray mhi,
	double timestamp,
	double duration
)

Parameters

orientation
Type: OpenCvSharpInputArray
Motion gradient orientation image calculated by the function CalcMotionGradient() .
mask
Type: OpenCvSharpInputArray
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: OpenCvSharpInputArray
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.OptFlow.CvOptFlow.CalcGlobalOrientation(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.InputArray,System.Double,System.Double)"]

See Also