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

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

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

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

            wrapped_owner.filter(wrapped_src, wrapped_confidence, wrapped_dst);
        }
Пример #2
0
 public FastBilateralSolverFilter(OpenCVForUnity.XimgprocModule.FastBilateralSolverFilter nativeObj) : base(nativeObj)
 {
 }