Struct opencv::text::ERStat

source ·
pub struct ERStat { /* private fields */ }
Expand description

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

Constructor

C++ default parameters
  • level: 256
  • pixel: 0
  • x: 0
  • y: 0

Trait Implementations

Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more
seed point and the threshold (max grey-level value)
incrementally computable features
Euler’s number
order 1 raw moments to derive the centroid
order 2 central moments to construct the covariance matrix
median of the crossings at three different height levels
2nd stage features
probability that the ER belongs to the class we are looking for
pointers preserving the tree structure of the component tree
pointers preserving the tree structure of the component tree
whenever the regions is a local maxima of the probability
seed point and the threshold (max grey-level value)
incrementally computable features
Euler’s number
median of the crossings at three different height levels
2nd stage features
probability that the ER belongs to the class we are looking for
whenever the regions is a local maxima of the probability

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.