//javadoc: FarnebackOpticalFlow::create(numLevels, pyrScale, fastPyramids, winSize) public static FarnebackOpticalFlow create(int numLevels, double pyrScale, bool fastPyramids, int winSize) { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER FarnebackOpticalFlow retVal = FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_14(numLevels, pyrScale, fastPyramids, winSize)); return(retVal); #else return(null); #endif }
//javadoc: FarnebackOpticalFlow::create() public static FarnebackOpticalFlow create() { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER FarnebackOpticalFlow retVal = FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_18()); return(retVal); #else return(null); #endif }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.FarnebackOpticalFlow)) { LogError("owner is not initialized. Add Action \"newFarnebackOpticalFlow\"."); return; } OpenCVForUnity.VideoModule.FarnebackOpticalFlow wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.FarnebackOpticalFlow, OpenCVForUnity.VideoModule.FarnebackOpticalFlow>(owner); storeResult.Value = wrapped_owner.getWinSize(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.FarnebackOpticalFlow)) { LogError("owner is not initialized. Add Action \"newFarnebackOpticalFlow\"."); return; } OpenCVForUnity.VideoModule.FarnebackOpticalFlow wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.FarnebackOpticalFlow, OpenCVForUnity.VideoModule.FarnebackOpticalFlow>(owner); wrapped_owner.setFastPyramids(fastPyramids.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.FarnebackOpticalFlow)) { LogError("owner is not initialized. Add Action \"newFarnebackOpticalFlow\"."); return; } OpenCVForUnity.VideoModule.FarnebackOpticalFlow wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.FarnebackOpticalFlow, OpenCVForUnity.VideoModule.FarnebackOpticalFlow>(owner); if (!(polySigma.Value is OpenCVForUnityPlayMakerActions.Double)) { LogError("polySigma is not initialized. Add Action \"newDouble\"."); return; } System.Double wrapped_polySigma = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Double, System.Double>(polySigma); wrapped_owner.setPolySigma(wrapped_polySigma); }
public FarnebackOpticalFlow(OpenCVForUnity.VideoModule.FarnebackOpticalFlow nativeObj) : base(nativeObj) { }
public static FarnebackOpticalFlow create() { return(FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_18())); }
public static FarnebackOpticalFlow create(int numLevels) { return(FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_17(numLevels))); }
public static FarnebackOpticalFlow create(int numLevels, double pyrScale) { return(FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_16(numLevels, pyrScale))); }
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, bool fastPyramids) { return(FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_15(numLevels, pyrScale, fastPyramids))); }
public static FarnebackOpticalFlow create(int numLevels, double pyrScale, bool fastPyramids, int winSize, int numIters, int polyN) { return(FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_12(numLevels, pyrScale, fastPyramids, winSize, numIters, polyN))); }