Trait opencv::prelude::ERStatTraitConst
source · pub trait ERStatTraitConst {
Show 13 methods
// Required method
fn as_raw_ERStat(&self) -> *const c_void;
// Provided methods
fn pixel(&self) -> i32 { ... }
fn level(&self) -> i32 { ... }
fn area(&self) -> i32 { ... }
fn perimeter(&self) -> i32 { ... }
fn euler(&self) -> i32 { ... }
fn rect(&self) -> Rect { ... }
fn med_crossings(&self) -> f32 { ... }
fn hole_area_ratio(&self) -> f32 { ... }
fn convex_hull_ratio(&self) -> f32 { ... }
fn num_inflexion_points(&self) -> f32 { ... }
fn probability(&self) -> f64 { ... }
fn local_maxima(&self) -> bool { ... }
}
Expand description
Constant methods for crate::text::ERStat
Required Methods§
fn as_raw_ERStat(&self) -> *const c_void
Provided Methods§
fn level(&self) -> i32
fn perimeter(&self) -> i32
fn rect(&self) -> Rect
sourcefn med_crossings(&self) -> f32
fn med_crossings(&self) -> f32
median of the crossings at three different height levels
sourcefn hole_area_ratio(&self) -> f32
fn hole_area_ratio(&self) -> f32
2nd stage features
fn convex_hull_ratio(&self) -> f32
fn num_inflexion_points(&self) -> f32
sourcefn probability(&self) -> f64
fn probability(&self) -> f64
probability that the ER belongs to the class we are looking for
sourcefn local_maxima(&self) -> bool
fn local_maxima(&self) -> bool
whenever the regions is a local maxima of the probability