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

            wrapped_owner.setFGSSigma(_sigma.Value);
        }
Exemplo n.º 2
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.EdgeAwareInterpolator))
            {
                LogError("owner is not initialized. Add Action \"newEdgeAwareInterpolator\".");
                return;
            }
            OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.EdgeAwareInterpolator, OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator>(owner);

            storeResult.Value = wrapped_owner.getUsePostProcessing();

            Fsm.Event(storeResult.Value ? trueEvent : falseEvent);
        }
Exemplo n.º 3
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.EdgeAwareInterpolator))
            {
                LogError("owner is not initialized. Add Action \"newEdgeAwareInterpolator\".");
                return;
            }
            OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.EdgeAwareInterpolator, OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator>(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 EdgeAwareInterpolator(OpenCVForUnity.XimgprocModule.EdgeAwareInterpolator nativeObj) : base(nativeObj)
 {
 }