void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.Retina)) { LogError("owner is not initialized. Add Action \"newRetina\"."); return; } OpenCVForUnity.BioinspiredModule.Retina wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Retina, OpenCVForUnity.BioinspiredModule.Retina>(owner); wrapped_owner.setupOPLandIPLParvoChannel(colorMode.Value, normaliseOutput.Value, photoreceptorsLocalAdaptationSensitivity.Value, photoreceptorsTemporalConstant.Value, photoreceptorsSpatialConstant.Value, horizontalCellsGain.Value, HcellsTemporalConstant.Value, HcellsSpatialConstant.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.Retina)) { LogError("owner is not initialized. Add Action \"newRetina\"."); return; } OpenCVForUnity.BioinspiredModule.Retina wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Retina, OpenCVForUnity.BioinspiredModule.Retina>(owner); wrapped_owner.setupOPLandIPLParvoChannel(); }