void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.RICInterpolator))
            {
                LogError("owner is not initialized. Add Action \"newRICInterpolator\".");
                return;
            }
            OpenCVForUnity.XimgprocModule.RICInterpolator wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.RICInterpolator, OpenCVForUnity.XimgprocModule.RICInterpolator>(owner);

            storeResult.Value = wrapped_owner.getFGSSigma();
        }
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.RICInterpolator))
            {
                LogError("owner is not initialized. Add Action \"newRICInterpolator\".");
                return;
            }
            OpenCVForUnity.XimgprocModule.RICInterpolator wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.RICInterpolator, OpenCVForUnity.XimgprocModule.RICInterpolator>(owner);

            wrapped_owner.setSuperpixelNNCnt(spNN.Value);
        }
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.RICInterpolator))
            {
                LogError("owner is not initialized. Add Action \"newRICInterpolator\".");
                return;
            }
            OpenCVForUnity.XimgprocModule.RICInterpolator wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.RICInterpolator, OpenCVForUnity.XimgprocModule.RICInterpolator>(owner);

            wrapped_owner.setUseVariationalRefinement(use_variational_refinement.Value);
        }
Пример #4
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.RICInterpolator))
            {
                LogError("owner is not initialized. Add Action \"newRICInterpolator\".");
                return;
            }
            OpenCVForUnity.XimgprocModule.RICInterpolator wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.RICInterpolator, OpenCVForUnity.XimgprocModule.RICInterpolator>(owner);

            wrapped_owner.setUseGlobalSmootherFilter(use_FGS.Value);
        }
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.RICInterpolator))
            {
                LogError("owner is not initialized. Add Action \"newRICInterpolator\".");
                return;
            }
            OpenCVForUnity.XimgprocModule.RICInterpolator wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.RICInterpolator, OpenCVForUnity.XimgprocModule.RICInterpolator>(owner);

            storeResult.Value = wrapped_owner.getUseGlobalSmootherFilter();

            Fsm.Event(storeResult.Value ? trueEvent : falseEvent);
        }
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.RICInterpolator))
            {
                LogError("owner is not initialized. Add Action \"newRICInterpolator\".");
                return;
            }
            OpenCVForUnity.XimgprocModule.RICInterpolator wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.RICInterpolator, OpenCVForUnity.XimgprocModule.RICInterpolator>(owner);

            if (!(costMap.Value is OpenCVForUnityPlayMakerActions.Mat))
            {
                LogError("costMap is not initialized. Add Action \"newMat\".");
                return;
            }
            OpenCVForUnity.CoreModule.Mat wrapped_costMap = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Mat, OpenCVForUnity.CoreModule.Mat>(costMap);

            wrapped_owner.setCostMap(wrapped_costMap);
        }
 public RICInterpolator(OpenCVForUnity.XimgprocModule.RICInterpolator nativeObj) : base(nativeObj)
 {
 }