| 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
)
Public Shared Function CalcGlobalOrientation (
orientation As InputArray,
mask As InputArray,
mhi As InputArray,
timestamp As Double,
duration As Double
) As Double
public:
static double CalcGlobalOrientation(
InputArray^ orientation,
InputArray^ mask,
InputArray^ mhi,
double timestamp,
double duration
)
static member CalcGlobalOrientation :
orientation : InputArray *
mask : InputArray *
mhi : InputArray *
timestamp : float *
duration : float -> float
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