RetinaTraitConst

Trait RetinaTraitConst 

Source
pub trait RetinaTraitConst: AlgorithmTraitConst {
    // Required method
    fn as_raw_Retina(&self) -> *const c_void;

    // Provided methods
    fn write(&self, fs: &str) -> Result<()> { ... }
    fn write_to_storage(&self, fs: &mut impl FileStorageTrait) -> Result<()> { ... }
    fn get_magno_raw(&self) -> Result<Mat> { ... }
    fn get_parvo_raw(&self) -> Result<Mat> { ... }
}
Expand description

Constant methods for crate::bioinspired::Retina

Required Methods§

Provided Methods§

Source

fn write(&self, fs: &str) -> Result<()>

Write xml/yml formated parameters information

§Parameters
  • fs: the filename of the xml file that will be open and writen with formatted parameters information
Source

fn write_to_storage(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Write xml/yml formated parameters information

§Parameters
  • fs: the filename of the xml file that will be open and writen with formatted parameters information
§Overloaded parameters
Source

fn get_magno_raw(&self) -> Result<Mat>

Accessor of the motion channel of the retina (models peripheral vision).

§See also

getMagno

§Overloaded parameters
Source

fn get_parvo_raw(&self) -> Result<Mat>

Accessor of the details channel of the retina (models foveal vision).

§See also

getParvo

§Overloaded parameters

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§