@Namespace(value="cv") @NoOffset public static class opencv_core.TermCriteria extends Pointer
You can initialize it by default constructor and then override any parameters, or the structure may be fully initialized using the advanced variant of the constructor.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
COUNT
enum cv::TermCriteria::Type
|
static int |
EPS
enum cv::TermCriteria::Type
|
static int |
MAX_ITER
enum cv::TermCriteria::Type
|
| Constructor and Description |
|---|
TermCriteria()
default constructor
|
TermCriteria(int type,
int maxCount,
double epsilon) |
TermCriteria(long size)
Native array allocator.
|
TermCriteria(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
epsilon() |
opencv_core.TermCriteria |
epsilon(double epsilon) |
int |
maxCount() |
opencv_core.TermCriteria |
maxCount(int maxCount) |
opencv_core.TermCriteria |
position(long position) |
int |
type()
the type of termination criteria: COUNT, EPS or COUNT + EPS
|
opencv_core.TermCriteria |
type(int type) |
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 static final int COUNT
public static final int MAX_ITER
public static final int EPS
public TermCriteria(Pointer p)
Pointer.Pointer(Pointer).public TermCriteria(long size)
Pointer.position(long).public TermCriteria()
public TermCriteria(int type,
int maxCount,
double epsilon)
type - The type of termination criteria, one of TermCriteria::TypemaxCount - The maximum number of iterations or elements to compute.epsilon - The desired accuracy or change in parameters at which the iterative algorithm stops.public opencv_core.TermCriteria position(long position)
public int type()
public opencv_core.TermCriteria type(int type)
public int maxCount()
public opencv_core.TermCriteria maxCount(int maxCount)
public double epsilon()
public opencv_core.TermCriteria epsilon(double epsilon)
Copyright © 2017. All rights reserved.