@Namespace(value="cv")
@NoOffset
public static class opencv_core.TermCriteria
extends org.bytedeco.javacpp.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.
| 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(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
epsilon()
the desired accuracy
|
opencv_core.TermCriteria |
epsilon(double epsilon) |
boolean |
isValid() |
int |
maxCount()
the maximum number of iterations/elements
|
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, 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 static final int COUNT
public static final int MAX_ITER
public static final int EPS
public TermCriteria(org.bytedeco.javacpp.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)
position in class org.bytedeco.javacpp.Pointer@Cast(value="bool") public boolean isValid()
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 © 2018. All rights reserved.