void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.DTFilter))
            {
                LogError("owner is not initialized. Add Action \"newDTFilter\".");
                return;
            }
            OpenCVForUnity.XimgprocModule.DTFilter wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.DTFilter, OpenCVForUnity.XimgprocModule.DTFilter>(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 (!(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_dst);
        }
예제 #2
0
 public DTFilter(OpenCVForUnity.XimgprocModule.DTFilter nativeObj) : base(nativeObj)
 {
 }