@Properties(inherit=opencv_core.class) public abstract class AbstractCvMat extends CvArr
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractCvMat.ReleaseDeallocator |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
protected BytePointer |
pointer |
Constructor and Description |
---|
AbstractCvMat(Pointer p) |
Modifier and Type | Method and Description |
---|---|
int |
arrayChannels() |
BytePointer |
arrayData() |
int |
arrayDepth() |
int |
arrayHeight() |
int |
arrayOrigin() |
void |
arrayOrigin(int origin) |
IplROI |
arrayROI() |
long |
arraySize() |
long |
arrayStep() |
int |
arrayWidth() |
IplImage |
asIplImage() |
int |
channels() |
CvMat |
clone()
Calls cvCloneMat(), and registers a deallocator.
|
abstract int |
cols() |
static CvMat |
create(int rows,
int cols)
Calls cvCreateMat(rows, cols, CV_64F, 1), and registers a deallocator.
|
static CvMat |
create(int rows,
int cols,
int type)
Calls cvCreateMat(), and registers a deallocator.
|
static CvMat |
create(int rows,
int cols,
int depth,
int channels)
Calls cvCreateMat(), and registers a deallocator.
|
static CvMat |
create(int rows,
int cols,
int depth,
int channels,
Pointer data)
Calls createHeader(), and initializes data, keeping a reference to prevent deallocation.
|
static CvMat |
createHeader(int rows,
int cols)
Calls cvCreateMatHeader(rows, cols, CV_64F, 1), and registers a deallocator.
|
static CvMat |
createHeader(int rows,
int cols,
int type)
Calls cvCreateMatHeader(), and registers a deallocator.
|
static CvMat |
createHeader(int rows,
int cols,
int depth,
int channels)
Calls cvCreateMatHeader(), and registers a deallocator.
|
static ThreadLocal<CvMat> |
createHeaderThreadLocal(int rows,
int cols) |
static ThreadLocal<CvMat> |
createHeaderThreadLocal(int rows,
int cols,
int type) |
static ThreadLocal<CvMat> |
createHeaderThreadLocal(int rows,
int cols,
int depth,
int channels) |
static ThreadLocal<CvMat> |
createThreadLocal(int rows,
int cols) |
static ThreadLocal<CvMat> |
createThreadLocal(int rows,
int cols,
int type) |
static ThreadLocal<CvMat> |
createThreadLocal(int rows,
int cols,
int depth,
int channels) |
abstract DoublePointer |
data_db() |
abstract FloatPointer |
data_fl() |
abstract IntPointer |
data_i() |
abstract BytePointer |
data_ptr() |
abstract ShortPointer |
data_s() |
int |
depth() |
int |
elemSize() |
boolean |
empty() |
double[] |
get()
Deprecated.
|
CvMat |
get(double[] vv)
Deprecated.
|
double |
get(int i)
Deprecated.
|
CvMat |
get(int index,
double[] vv)
Deprecated.
|
CvMat |
get(int index,
double[] vv,
int offset,
int length)
Deprecated.
|
double |
get(int i,
int j)
Deprecated.
|
double |
get(int i,
int j,
int k)
Deprecated.
|
ByteBuffer |
getByteBuffer()
Deprecated.
|
DoubleBuffer |
getDoubleBuffer()
Deprecated.
|
FloatBuffer |
getFloatBuffer()
Deprecated.
|
IntBuffer |
getIntBuffer()
Deprecated.
|
ShortBuffer |
getShortBuffer()
Deprecated.
|
boolean |
isContinuous() |
int |
length() |
int |
matType() |
int |
nChannels() |
CvMat |
put(CvMat mat) |
CvMat |
put(double... vv)
Deprecated.
|
CvMat |
put(int index,
double... vv)
Deprecated.
|
CvMat |
put(int i,
double v)
Deprecated.
|
CvMat |
put(int index,
double[] vv,
int offset,
int length)
Deprecated.
|
CvMat |
put(int i,
int j,
double v)
Deprecated.
|
CvMat |
put(int dsti,
int dstj,
int dstk,
CvMat mat,
int srci,
int srcj,
int srck) |
CvMat |
put(int i,
int j,
int k,
double v)
Deprecated.
|
void |
release()
Calls the deallocator, if registered, otherwise has no effect.
|
void |
reset()
Deprecated.
|
abstract int |
rows() |
int |
size() |
abstract int |
step() |
String |
toString() |
String |
toString(int indent) |
int |
total() |
abstract int |
type() |
abstract CvMat |
type(int type) |
void |
type(int depth,
int cn) |
createBuffer, createBuffer, createIndexer, createIndexer, cvSize, getByteBuffer, getDoubleBuffer, getFloatBuffer, getIntBuffer, getShortBuffer, highValue
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, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, totalBytes, totalPhysicalBytes, withDeallocator, zero
protected BytePointer pointer
public AbstractCvMat(Pointer p)
public static CvMat create(int rows, int cols, int type)
public static CvMat create(int rows, int cols, int depth, int channels)
public static CvMat create(int rows, int cols)
public static CvMat createHeader(int rows, int cols, int type)
public static CvMat createHeader(int rows, int cols, int depth, int channels)
public static CvMat createHeader(int rows, int cols)
public static CvMat create(int rows, int cols, int depth, int channels, Pointer data)
public static ThreadLocal<CvMat> createThreadLocal(int rows, int cols, int type)
public static ThreadLocal<CvMat> createThreadLocal(int rows, int cols, int depth, int channels)
public static ThreadLocal<CvMat> createThreadLocal(int rows, int cols)
public static ThreadLocal<CvMat> createHeaderThreadLocal(int rows, int cols, int type)
public static ThreadLocal<CvMat> createHeaderThreadLocal(int rows, int cols, int depth, int channels)
public static ThreadLocal<CvMat> createHeaderThreadLocal(int rows, int cols)
public CvMat clone()
public void release()
public abstract int type()
public abstract CvMat type(int type)
public abstract int step()
public abstract BytePointer data_ptr()
public abstract FloatPointer data_fl()
public abstract DoublePointer data_db()
public abstract IntPointer data_i()
public abstract ShortPointer data_s()
public abstract int rows()
public abstract int cols()
public int matType()
public void type(int depth, int cn)
public int depth()
public int channels()
public int nChannels()
public boolean isContinuous()
public int elemSize()
public int length()
public int total()
public boolean empty()
public int size()
public int arrayChannels()
arrayChannels
in class CvArr
public int arrayDepth()
arrayDepth
in class CvArr
public int arrayOrigin()
arrayOrigin
in class CvArr
public void arrayOrigin(int origin)
arrayOrigin
in class CvArr
public int arrayWidth()
arrayWidth
in class CvArr
public int arrayHeight()
arrayHeight
in class CvArr
public BytePointer arrayData()
@Deprecated public void reset()
AbstractArray.createBuffer()
@Deprecated public ByteBuffer getByteBuffer()
getByteBuffer
in class AbstractArray
AbstractArray.createBuffer()
@Deprecated public ShortBuffer getShortBuffer()
getShortBuffer
in class AbstractArray
AbstractArray.createBuffer()
@Deprecated public IntBuffer getIntBuffer()
getIntBuffer
in class AbstractArray
AbstractArray.createBuffer()
@Deprecated public FloatBuffer getFloatBuffer()
getFloatBuffer
in class AbstractArray
AbstractArray.createBuffer()
@Deprecated public DoubleBuffer getDoubleBuffer()
getDoubleBuffer
in class AbstractArray
AbstractArray.createBuffer()
@Deprecated public double get(int i)
AbstractArray.createIndexer()
@Deprecated public double get(int i, int j)
AbstractArray.createIndexer()
@Deprecated public double get(int i, int j, int k)
AbstractArray.createIndexer()
@Deprecated public CvMat get(int index, double[] vv, int offset, int length)
AbstractArray.createIndexer()
@Deprecated public CvMat get(int index, double[] vv)
AbstractArray.createIndexer()
@Deprecated public CvMat get(double[] vv)
AbstractArray.createIndexer()
@Deprecated public double[] get()
AbstractArray.createIndexer()
@Deprecated public CvMat put(int i, double v)
AbstractArray.createIndexer()
@Deprecated public CvMat put(int i, int j, double v)
AbstractArray.createIndexer()
@Deprecated public CvMat put(int i, int j, int k, double v)
AbstractArray.createIndexer()
@Deprecated public CvMat put(int index, double[] vv, int offset, int length)
AbstractArray.createIndexer()
@Deprecated public CvMat put(int index, double... vv)
AbstractArray.createIndexer()
@Deprecated public CvMat put(double... vv)
AbstractArray.createIndexer()
public IplImage asIplImage()
public String toString()
toString
in class AbstractArray
public String toString(int indent)
Copyright © 2020. All rights reserved.