[][src]Trait opencv::hub_prelude::GPCTreeTrait

pub trait GPCTreeTrait: AlgorithmTrait {
    pub fn as_raw_GPCTree(&self) -> *const c_void;
pub fn as_raw_mut_GPCTree(&mut self) -> *mut c_void; pub fn train(
        &mut self,
        samples: &mut GPCTrainingSamples,
        params: GPCTrainingParams
    ) -> Result<()> { ... }
pub fn write(&self, fs: &mut FileStorage) -> Result<()> { ... }
pub fn read(&mut self, fn_: &FileNode) -> Result<()> { ... }
pub fn find_leaf_for_patch(&self, descr: &GPCPatchDescriptor) -> Result<u32> { ... }
pub fn get_descriptor_type(&self) -> Result<i32> { ... } }

Class for individual tree.

Required methods

Loading content...

Provided methods

pub fn train(
    &mut self,
    samples: &mut GPCTrainingSamples,
    params: GPCTrainingParams
) -> Result<()>
[src]

C++ default parameters

  • params: GPCTrainingParams()

pub fn write(&self, fs: &mut FileStorage) -> Result<()>[src]

pub fn read(&mut self, fn_: &FileNode) -> Result<()>[src]

pub fn find_leaf_for_patch(&self, descr: &GPCPatchDescriptor) -> Result<u32>[src]

pub fn get_descriptor_type(&self) -> Result<i32>[src]

Loading content...

Implementors

impl GPCTreeTrait for GPCTree[src]

impl GPCTreeTrait for PtrOfGPCTree[src]

Loading content...