[−][src]Struct opencv::text::ERStat
The ERStat structure represents a class-specific Extremal Region (ER).
An ER is a 4-connected set of pixels with all its grey-level values smaller than the values in its outer boundary. A class-specific ER is selected (using a classifier) from all the ER's in the component tree of the image. :
Implementations
impl ERStat
[src]
pub fn as_raw_ERStat(&self) -> *const c_void
[src]
pub fn as_raw_mut_ERStat(&mut self) -> *mut c_void
[src]
impl ERStat
[src]
Trait Implementations
impl Boxed for ERStat
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for ERStat
[src]
impl ERStatTrait for ERStat
[src]
pub fn as_raw_ERStat(&self) -> *const c_void
[src]
pub fn as_raw_mut_ERStat(&mut self) -> *mut c_void
[src]
pub fn pixel(&self) -> i32
[src]
pub fn set_pixel(&mut self, val: i32)
[src]
pub fn level(&self) -> i32
[src]
pub fn set_level(&mut self, val: i32)
[src]
pub fn area(&self) -> i32
[src]
pub fn set_area(&mut self, val: i32)
[src]
pub fn perimeter(&self) -> i32
[src]
pub fn set_perimeter(&mut self, val: i32)
[src]
pub fn euler(&self) -> i32
[src]
pub fn set_euler(&mut self, val: i32)
[src]
pub fn rect(&self) -> Rect
[src]
pub fn set_rect(&mut self, val: Rect)
[src]
pub fn raw_moments(&mut self) -> &mut [f64; 2]
[src]
pub fn central_moments(&mut self) -> &mut [f64; 3]
[src]
pub fn med_crossings(&self) -> f32
[src]
pub fn set_med_crossings(&mut self, val: f32)
[src]
pub fn hole_area_ratio(&self) -> f32
[src]
pub fn set_hole_area_ratio(&mut self, val: f32)
[src]
pub fn convex_hull_ratio(&self) -> f32
[src]
pub fn set_convex_hull_ratio(&mut self, val: f32)
[src]
pub fn num_inflexion_points(&self) -> f32
[src]
pub fn set_num_inflexion_points(&mut self, val: f32)
[src]
pub fn probability(&self) -> f64
[src]
pub fn set_probability(&mut self, val: f64)
[src]
pub fn parent(&mut self) -> ERStat
[src]
pub fn set_parent(&mut self, val: &mut ERStat)
[src]
pub fn child(&mut self) -> ERStat
[src]
pub fn set_child(&mut self, val: &mut ERStat)
[src]
pub fn next(&mut self) -> ERStat
[src]
pub fn set_next(&mut self, val: &mut ERStat)
[src]
pub fn prev(&mut self) -> ERStat
[src]
pub fn set_prev(&mut self, val: &mut ERStat)
[src]
pub fn local_maxima(&self) -> bool
[src]
pub fn set_local_maxima(&mut self, val: bool)
[src]
pub fn max_probability_ancestor(&mut self) -> ERStat
[src]
pub fn set_max_probability_ancestor(&mut self, val: &mut ERStat)
[src]
pub fn min_probability_ancestor(&mut self) -> ERStat
[src]
pub fn set_min_probability_ancestor(&mut self, val: &mut ERStat)
[src]
impl Send for ERStat
[src]
impl VectorElement for ERStat where
Vector<ERStat>: VectorExtern<ERStat>,
[src]
Vector<ERStat>: VectorExtern<ERStat>,
Auto Trait Implementations
impl RefUnwindSafe for ERStat
[src]
impl !Sync for ERStat
[src]
impl Unpin for ERStat
[src]
impl UnwindSafe for ERStat
[src]
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>,