Struct MCvERStat
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.
public struct MCvERStat
- Inherited Members
Fields
Area
Area
public int Area
Field Value
CentralMoments0
Order 2 central moments to construct the covariance matrix
public double CentralMoments0
Field Value
CentralMoments1
Order 2 central moments to construct the covariance matrix
public double CentralMoments1
Field Value
CentralMoments2
Order 2 central moments to construct the covariance matrix
public double CentralMoments2
Field Value
ChildPtr
Pointer to the child ERStat
public nint ChildPtr
Field Value
ConvexHullRatio
Convex hull ratio
public float ConvexHullRatio
Field Value
CrossingsOwner
Pointer owner to horizontal crossings
public nint CrossingsOwner
Field Value
CrossingsStored
Pointer to horizontal crossings
public nint CrossingsStored
Field Value
Euler
Euler number
public int Euler
Field Value
HoleAreaRatio
Hole area ratio
public float HoleAreaRatio
Field Value
Level
Threshold (max grey-level value)
public int Level
Field Value
MaxProbabilityAncestor
Pointer to the ERStat that is the max probability ancestor
public nint MaxProbabilityAncestor
Field Value
MedCrossings
Median of the crossings at three different height levels
public float MedCrossings
Field Value
MinProbabilityAncestor
Pointer to the ERStat that is the min probability ancestor
public nint MinProbabilityAncestor
Field Value
NextPtr
Pointer to the next ERStat
public nint NextPtr
Field Value
NumInflexionPoints
Number of inflexion points
public float NumInflexionPoints
Field Value
ParentPtr
Pointer to the parent ERStat
public nint ParentPtr
Field Value
Perimeter
Perimeter
public int Perimeter
Field Value
Pixel
Seed point
public int Pixel
Field Value
PrevPtr
Pointer to the previous ERStat
public nint PrevPtr
Field Value
RawMoments0
Order 1 raw moments to derive the centroid
public double RawMoments0
Field Value
RawMoments1
Order 1 raw moments to derive the centroid
public double RawMoments1
Field Value
Rect
Bounding box
public Rectangle Rect
Field Value
probability
Probability that the ER belongs to the class we are looking for
public double probability
Field Value
Properties
LocalMaxima
If or not the regions is a local maxima of the probability
public bool LocalMaxima { get; set; }
Property Value
Pixels
Get the pixels list.
public VectorOfInt Pixels { get; }
Property Value
Methods
GetCenter(int)
Get the center of the region
public Point GetCenter(int imageWidth)
Parameters
imageWidth
intThe source image width
Returns
- Point
The center of the region