@Namespace(value="cv::text") @NoOffset public static class opencv_text.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| 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.
|
address, asBuffer, asByteBuffer, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic 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 opencv_text.ERStat position(long position)
public 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 DoublePointer raw_moments()
public double central_moments(int i)
public opencv_text.ERStat central_moments(int i, double central_moments)
@MemberGetter public 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 IntPointer pixels()
public opencv_text.ERStat pixels(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 © 2017. All rights reserved.