Trait opencv::prelude::GPCTreeTrait
source · [−]pub trait GPCTreeTrait: AlgorithmTrait + GPCTreeTraitConst {
fn as_raw_mut_GPCTree(&mut self) -> *mut c_void;
fn train(
&mut self,
samples: &mut GPCTrainingSamples,
params: GPCTrainingParams
) -> Result<()> { ... }
fn read(&mut self, fn_: &FileNode) -> Result<()> { ... }
}
Required Methods
fn as_raw_mut_GPCTree(&mut self) -> *mut c_void
Provided Methods
sourcefn train(
&mut self,
samples: &mut GPCTrainingSamples,
params: GPCTrainingParams
) -> Result<()>
fn train(
&mut self,
samples: &mut GPCTrainingSamples,
params: GPCTrainingParams
) -> Result<()>
C++ default parameters
- params: GPCTrainingParams()