[−][src]Trait opencv::core::LDATrait
Linear Discriminant Analysis @todo document this class
Required methods
fn as_raw_LDA(&self) -> *const c_void
[src]
fn as_raw_mut_LDA(&mut self) -> *mut c_void
[src]
Provided methods
fn save(&self, filename: &str) -> Result<()>
[src]
Serializes this object to a given filename.
fn load(&mut self, filename: &str) -> Result<()>
[src]
Deserializes this object from a given filename.
fn save_1(&self, fs: &mut FileStorage) -> Result<()>
[src]
Serializes this object to a given cv::FileStorage.
fn load_1(&mut self, node: &FileStorage) -> Result<()>
[src]
Deserializes this object from a given cv::FileStorage.
fn compute(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
[src]
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
Compute the discriminants for data in src (row aligned) and labels.
fn project(&mut self, src: &dyn ToInputArray) -> Result<Mat>
[src]
Projects samples into the LDA subspace. src may be one or more row aligned samples.
fn reconstruct(&mut self, src: &dyn ToInputArray) -> Result<Mat>
[src]
Reconstructs projections from the LDA subspace. src may be one or more row aligned projections.
fn eigenvectors(&self) -> Result<Mat>
[src]
Returns the eigenvectors of this LDA.
fn eigenvalues(&self) -> Result<Mat>
[src]
Returns the eigenvalues of this LDA.