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.setupIPLMagnoChannel(normaliseOutput.Value, parasolCells_beta.Value, parasolCells_tau.Value, parasolCells_k.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.setupIPLMagnoChannel(normaliseOutput.Value, parasolCells_beta.Value, parasolCells_tau.Value, parasolCells_k.Value, amacrinCellsTemporalCutFrequency.Value, V0CompressionParameter.Value, localAdaptintegration_tau.Value); }