Trait opencv::core::prelude::LDATrait[][src]

pub trait LDATrait: LDATraitConst {
    fn as_raw_mut_LDA(&mut self) -> *mut c_void;

    fn load(&mut self, filename: &str) -> Result<()> { ... }
fn load_1(&mut self, node: &FileStorage) -> Result<()> { ... }
fn compute(
        &mut self,
        src: &dyn ToInputArray,
        labels: &dyn ToInputArray
    ) -> Result<()> { ... }
fn project(&mut self, src: &dyn ToInputArray) -> Result<Mat> { ... }
fn reconstruct(&mut self, src: &dyn ToInputArray) -> Result<Mat> { ... } }

Required methods

Provided methods

Deserializes this object from a given filename.

Deserializes this object from a given cv::FileStorage.

Compute the discriminants for data in src (row aligned) and labels.

Projects samples into the LDA subspace. src may be one or more row aligned samples.

Reconstructs projections from the LDA subspace. src may be one or more row aligned projections.

Implementors