Struct cv::text::ERStat#

The ERStat structure represents a class-specific Extremal Region (ER). View details

Collaboration diagram for cv::text::ERStat:

cv::text::ERStat Node1 cv::text::ERStat   + ERStat() + ~ERStat() Node1->Node1 +child +max_probability _ancestor +min_probability _ancestor +next +parent +prev Node2 int     Node2->Node1 +area +euler +level +perimeter +pixel Node8 std::vector< int >     Node2->Node8 +elements Node3 cv::Rect_< _Tp >   + Rect_() + Rect_() + Rect_() + Rect_() + Rect_() + Rect_() + area() + br() + contains() + empty() + operator Rect_< _Tp2 >() + operator=() + operator=() + size() + tl() Node3->Node1 +rect Node4 _Tp     Node4->Node3 +height +width +x +y Node5 double     Node5->Node1 +central_moments +probability +raw_moments Node6 Ptr< std::deque< int > >     Node6->Node1 +crossings Node7 float     Node7->Node1 +convex_hull_ratio +hole_area_ratio +med_crossings +num_inflexion_points Node8->Node1 +pixels Node9 std::vector< T >     Node9->Node8 < int > Node10 T     Node10->Node9 +elements Node11 bool     Node11->Node1 +local_maxima

cv::text::ERStat Node1 cv::text::ERStat   + ERStat() + ~ERStat() Node1->Node1 +child +max_probability _ancestor +min_probability _ancestor +next +parent +prev Node2 int     Node2->Node1 +area +euler +level +perimeter +pixel Node8 std::vector< int >     Node2->Node8 +elements Node3 cv::Rect_< _Tp >   + Rect_() + Rect_() + Rect_() + Rect_() + Rect_() + Rect_() + area() + br() + contains() + empty() + operator Rect_< _Tp2 >() + operator=() + operator=() + size() + tl() Node3->Node1 +rect Node4 _Tp     Node4->Node3 +height +width +x +y Node5 double     Node5->Node1 +central_moments +probability +raw_moments Node6 Ptr< std::deque< int > >     Node6->Node1 +crossings Node7 float     Node7->Node1 +convex_hull_ratio +hole_area_ratio +med_crossings +num_inflexion_points Node8->Node1 +pixels Node9 std::vector< T >     Node9->Node8 < int > Node10 T     Node10->Node9 +elements Node11 bool     Node11->Node1 +local_maxima

Detailed Description#

struct 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. :

Constructor & Destructor Documentation#

ERStat()#

cv::text::ERStat::ERStat(
int level = 256,
int pixel = 0,
int x = 0,
int y = 0 )

Constructor.

~ERStat()#

cv::text::ERStat::~ERStat()

Destructor.

Member Data Documentation#

area#

int cv::text::ERStat::area

incrementally computable features

central_moments#

double cv::text::ERStat::central_moments

order 2 central moments to construct the covariance matrix

child#

ERStat * cv::text::ERStat::child

convex_hull_ratio#

float cv::text::ERStat::convex_hull_ratio

crossings#

Ptr< std::deque< int > > cv::text::ERStat::crossings

horizontal crossings

euler#

int cv::text::ERStat::euler

Euler’s number.

hole_area_ratio#

float cv::text::ERStat::hole_area_ratio

2nd stage features

level#

int cv::text::ERStat::level

local_maxima#

bool cv::text::ERStat::local_maxima

whenever the regions is a local maxima of the probability

max_probability_ancestor#

ERStat * cv::text::ERStat::max_probability_ancestor

med_crossings#

float cv::text::ERStat::med_crossings

median of the crossings at three different height levels

min_probability_ancestor#

ERStat * cv::text::ERStat::min_probability_ancestor

next#

ERStat * cv::text::ERStat::next

num_inflexion_points#

float cv::text::ERStat::num_inflexion_points

parent#

ERStat * cv::text::ERStat::parent

pointers preserving the tree structure of the component tree

perimeter#

int cv::text::ERStat::perimeter

pixel#

int cv::text::ERStat::pixel

seed point and the threshold (max grey-level value)

pixels#

std::vector< int > * cv::text::ERStat::pixels

prev#

ERStat * cv::text::ERStat::prev

probability#

double cv::text::ERStat::probability

probability that the ER belongs to the class we are looking for

raw_moments#

double cv::text::ERStat::raw_moments

order 1 raw moments to derive the centroid

rect#

Rect cv::text::ERStat::rect

Source file#

The documentation for this struct was generated from the following file: