@Namespace(value="cv::text") @NoOffset @Properties(inherit=opencv_text.class) public class ERStat extends Pointer
/** \brief 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. :
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ERStat() |
ERStat(int level,
int pixel,
int x,
int y)
Constructor
|
ERStat(long size)
Native array allocator.
|
ERStat(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
area()
incrementally computable features
|
ERStat |
area(int setter) |
DoublePointer |
central_moments() |
double |
central_moments(int i)
order 2 central moments to construct the covariance matrix
|
ERStat |
central_moments(int i,
double setter) |
ERStat |
child() |
ERStat |
child(ERStat setter) |
float |
convex_hull_ratio() |
ERStat |
convex_hull_ratio(float setter) |
IntDeque |
crossings()
horizontal crossings
|
ERStat |
crossings(IntDeque setter) |
int |
euler()
Euler's number
|
ERStat |
euler(int setter) |
float |
hole_area_ratio()
2nd stage features
|
ERStat |
hole_area_ratio(float setter) |
int |
level() |
ERStat |
level(int setter) |
boolean |
local_maxima()
whenever the regions is a local maxima of the probability
|
ERStat |
local_maxima(boolean setter) |
ERStat |
max_probability_ancestor() |
ERStat |
max_probability_ancestor(ERStat setter) |
float |
med_crossings()
median of the crossings at three different height levels
|
ERStat |
med_crossings(float setter) |
ERStat |
min_probability_ancestor() |
ERStat |
min_probability_ancestor(ERStat setter) |
ERStat |
next() |
ERStat |
next(ERStat setter) |
float |
num_inflexion_points() |
ERStat |
num_inflexion_points(float setter) |
ERStat |
parent()
pointers preserving the tree structure of the component tree
|
ERStat |
parent(ERStat setter) |
int |
perimeter() |
ERStat |
perimeter(int setter) |
int |
pixel()
seed point and the threshold (max grey-level value)
|
ERStat |
pixel(int setter) |
IntVector |
pixels() |
ERStat |
pixels(IntVector setter) |
ERStat |
position(long position) |
ERStat |
prev() |
ERStat |
prev(ERStat setter) |
double |
probability()
probability that the ER belongs to the class we are looking for
|
ERStat |
probability(double setter) |
DoublePointer |
raw_moments() |
double |
raw_moments(int i)
order 1 raw moments to derive the centroid
|
ERStat |
raw_moments(int i,
double setter) |
Rect |
rect() |
ERStat |
rect(Rect setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public ERStat(Pointer p)
Pointer.Pointer(Pointer)
.public ERStat(long size)
Pointer.position(long)
.public ERStat(int level, int pixel, int x, int y)
public ERStat()
public int pixel()
public ERStat pixel(int setter)
public int level()
public ERStat level(int setter)
public int area()
public ERStat area(int setter)
public int perimeter()
public ERStat perimeter(int setter)
public int euler()
public ERStat euler(int setter)
public double raw_moments(int i)
public ERStat raw_moments(int i, double setter)
@MemberGetter public DoublePointer raw_moments()
public double central_moments(int i)
public ERStat central_moments(int i, double setter)
@MemberGetter public DoublePointer central_moments()
@opencv_core.Ptr public IntDeque crossings()
public float med_crossings()
public ERStat med_crossings(float setter)
public float hole_area_ratio()
public ERStat hole_area_ratio(float setter)
public float convex_hull_ratio()
public ERStat convex_hull_ratio(float setter)
public float num_inflexion_points()
public ERStat num_inflexion_points(float setter)
public IntVector pixels()
public double probability()
public ERStat probability(double setter)
public ERStat parent()
public ERStat child()
public ERStat next()
public ERStat prev()
@Cast(value="bool") public boolean local_maxima()
public ERStat local_maxima(boolean setter)
public ERStat max_probability_ancestor()
public ERStat min_probability_ancestor()
Copyright © 2020. All rights reserved.