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