[−][src]Struct opencv::optflow::GPCTree
Class for individual tree.
Implementations
impl GPCTree
[src]
pub fn as_raw_GPCTree(&self) -> *const c_void
[src]
pub fn as_raw_mut_GPCTree(&mut self) -> *mut c_void
[src]
impl GPCTree
[src]
Trait Implementations
impl AlgorithmTrait for GPCTree
[src]
fn as_raw_Algorithm(&self) -> *const c_void
[src]
fn as_raw_mut_Algorithm(&mut self) -> *mut c_void
[src]
fn clear(&mut self) -> Result<()>
[src]
fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
[src]
fn read(&mut self, fn_: &FileNode) -> Result<()>
[src]
fn empty(&self) -> Result<bool>
[src]
fn save(&self, filename: &str) -> Result<()>
[src]
fn get_default_name(&self) -> Result<String>
[src]
impl Boxed for GPCTree
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for GPCTree
[src]
impl GPCTreeTrait for GPCTree
[src]
fn as_raw_GPCTree(&self) -> *const c_void
[src]
fn as_raw_mut_GPCTree(&mut self) -> *mut c_void
[src]
fn train(
&mut self,
samples: &mut GPCTrainingSamples,
params: GPCTrainingParams
) -> Result<()>
[src]
&mut self,
samples: &mut GPCTrainingSamples,
params: GPCTrainingParams
) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
fn read(&mut self, fn_: &FileNode) -> Result<()>
[src]
fn find_leaf_for_patch(&self, descr: &GPCPatchDescriptor) -> Result<u32>
[src]
fn get_descriptor_type(&self) -> Result<i32>
[src]
impl Send for GPCTree
[src]
Auto Trait Implementations
impl RefUnwindSafe for GPCTree
impl !Sync for GPCTree
impl Unpin for GPCTree
impl UnwindSafe for GPCTree
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,