void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.RetinaFastToneMapping)) { LogError("owner is not initialized. Add Action \"newRetinaFastToneMapping\"."); return; } OpenCVForUnity.BioinspiredModule.RetinaFastToneMapping wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.RetinaFastToneMapping, OpenCVForUnity.BioinspiredModule.RetinaFastToneMapping>(owner); wrapped_owner.setup(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.RetinaFastToneMapping)) { LogError("owner is not initialized. Add Action \"newRetinaFastToneMapping\"."); return; } OpenCVForUnity.BioinspiredModule.RetinaFastToneMapping wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.RetinaFastToneMapping, OpenCVForUnity.BioinspiredModule.RetinaFastToneMapping>(owner); wrapped_owner.setup(photoreceptorsNeighborhoodRadius.Value, ganglioncellsNeighborhoodRadius.Value, meanLuminanceModulatorK.Value); }