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