[−][src]Struct opencv::bioinspired::RetinaParameters
retina model parameters structure
For better clarity, check explenations on the comments of methods : setupOPLandIPLParvoChannel and setupIPLMagnoChannel
Here is the default configuration file of the retina module. It gives results such as the first retina output shown on the top of this page.
ⓘThis example is not tested
<?xml version="1.0"?> <opencv_storage> <OPLandIPLparvo> <colorMode>1</colorMode> <normaliseOutput>1</normaliseOutput> <photoreceptorsLocalAdaptationSensitivity>7.5e-01</photoreceptorsLocalAdaptationSensitivity> <photoreceptorsTemporalConstant>9.0e-01</photoreceptorsTemporalConstant> <photoreceptorsSpatialConstant>5.3e-01</photoreceptorsSpatialConstant> <horizontalCellsGain>0.01</horizontalCellsGain> <hcellsTemporalConstant>0.5</hcellsTemporalConstant> <hcellsSpatialConstant>7.</hcellsSpatialConstant> <ganglionCellsSensitivity>7.5e-01</ganglionCellsSensitivity></OPLandIPLparvo> <IPLmagno> <normaliseOutput>1</normaliseOutput> <parasolCells_beta>0.</parasolCells_beta> <parasolCells_tau>0.</parasolCells_tau> <parasolCells_k>7.</parasolCells_k> <amacrinCellsTemporalCutFrequency>2.0e+00</amacrinCellsTemporalCutFrequency> <V0CompressionParameter>9.5e-01</V0CompressionParameter> <localAdaptintegration_tau>0.</localAdaptintegration_tau> <localAdaptintegration_k>7.</localAdaptintegration_k></IPLmagno> </opencv_storage>
Here is the 'realistic" setup used to obtain the second retina output shown on the top of this page.
ⓘThis example is not tested
<?xml version="1.0"?> <opencv_storage> <OPLandIPLparvo> <colorMode>1</colorMode> <normaliseOutput>1</normaliseOutput> <photoreceptorsLocalAdaptationSensitivity>8.9e-01</photoreceptorsLocalAdaptationSensitivity> <photoreceptorsTemporalConstant>9.0e-01</photoreceptorsTemporalConstant> <photoreceptorsSpatialConstant>5.3e-01</photoreceptorsSpatialConstant> <horizontalCellsGain>0.3</horizontalCellsGain> <hcellsTemporalConstant>0.5</hcellsTemporalConstant> <hcellsSpatialConstant>7.</hcellsSpatialConstant> <ganglionCellsSensitivity>8.9e-01</ganglionCellsSensitivity></OPLandIPLparvo> <IPLmagno> <normaliseOutput>1</normaliseOutput> <parasolCells_beta>0.</parasolCells_beta> <parasolCells_tau>0.</parasolCells_tau> <parasolCells_k>7.</parasolCells_k> <amacrinCellsTemporalCutFrequency>2.0e+00</amacrinCellsTemporalCutFrequency> <V0CompressionParameter>9.5e-01</V0CompressionParameter> <localAdaptintegration_tau>0.</localAdaptintegration_tau> <localAdaptintegration_k>7.</localAdaptintegration_k></IPLmagno> </opencv_storage>
Implementations
impl RetinaParameters
[src]
pub fn as_raw_RetinaParameters(&self) -> *const c_void
[src]
pub fn as_raw_mut_RetinaParameters(&mut self) -> *mut c_void
[src]
Trait Implementations
impl Boxed for RetinaParameters
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for RetinaParameters
[src]
impl RetinaParametersTrait for RetinaParameters
[src]
fn as_raw_RetinaParameters(&self) -> *const c_void
[src]
fn as_raw_mut_RetinaParameters(&mut self) -> *mut c_void
[src]
fn op_land_ipl_parvo(&self) -> RetinaParameters_OPLandIplParvoParameters
[src]
fn set_op_land_ipl_parvo(
&mut self,
val: RetinaParameters_OPLandIplParvoParameters
)
[src]
&mut self,
val: RetinaParameters_OPLandIplParvoParameters
)
fn ipl_magno(&self) -> RetinaParameters_IplMagnoParameters
[src]
fn set_ipl_magno(&mut self, val: RetinaParameters_IplMagnoParameters)
[src]
impl Send for RetinaParameters
[src]
Auto Trait Implementations
impl RefUnwindSafe for RetinaParameters
impl !Sync for RetinaParameters
impl Unpin for RetinaParameters
impl UnwindSafe for RetinaParameters
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,