void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.CalibrateRobertson)) { LogError("owner is not initialized. Add Action \"newCalibrateRobertson\"."); return; } OpenCVForUnity.PhotoModule.CalibrateRobertson wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.CalibrateRobertson, OpenCVForUnity.PhotoModule.CalibrateRobertson>(owner); storeResult.Value = wrapped_owner.getThreshold(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.CalibrateRobertson)) { LogError("owner is not initialized. Add Action \"newCalibrateRobertson\"."); return; } OpenCVForUnity.PhotoModule.CalibrateRobertson wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.CalibrateRobertson, OpenCVForUnity.PhotoModule.CalibrateRobertson>(owner); wrapped_owner.setMaxIter(max_iter.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.CalibrateRobertson)) { LogError("owner is not initialized. Add Action \"newCalibrateRobertson\"."); return; } OpenCVForUnity.PhotoModule.CalibrateRobertson wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.CalibrateRobertson, OpenCVForUnity.PhotoModule.CalibrateRobertson>(owner); if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.Mat)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.Mat(); } ((OpenCVForUnityPlayMakerActions.Mat)storeResult.Value).wrappedObject = wrapped_owner.getRadiance(); }
public CalibrateRobertson(OpenCVForUnity.PhotoModule.CalibrateRobertson nativeObj) : base(nativeObj) { }