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