@Properties(inherit=opencv_core.class) public class CvMat extends AbstractCvMat
uchar pixval = CV_MAT_ELEM(grayimg, uchar, i, j) CV_MAT_ELEM(cameraMatrix, float, 0, 2) = image.width*0.5f;
To access multiple-channel matrices, you can use CV_MAT_ELEM(matrix, type, i, j\*nchannels + channel_idx).
AbstractCvMat.ReleaseDeallocator
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
pointer
Constructor and Description |
---|
CvMat()
Deprecated.
Default native constructor.
|
CvMat(long size)
Deprecated.
Native array allocator.
|
CvMat(Pointer p)
Deprecated.
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
cols()
Deprecated.
|
CvMat |
cols(int setter)
Deprecated.
|
DoublePointer |
data_db()
Deprecated.
|
CvMat |
data_db(DoublePointer setter)
Deprecated.
|
FloatPointer |
data_fl()
Deprecated.
|
CvMat |
data_fl(FloatPointer setter)
Deprecated.
|
IntPointer |
data_i()
Deprecated.
|
CvMat |
data_i(IntPointer setter)
Deprecated.
|
BytePointer |
data_ptr()
Deprecated.
|
CvMat |
data_ptr(BytePointer setter)
Deprecated.
|
ShortPointer |
data_s()
Deprecated.
|
CvMat |
data_s(ShortPointer setter)
Deprecated.
|
int |
hdr_refcount()
Deprecated.
|
CvMat |
hdr_refcount(int setter)
Deprecated.
|
int |
height()
Deprecated.
|
CvMat |
height(int setter)
Deprecated.
|
CvMat |
position(long position)
Deprecated.
|
IntPointer |
refcount()
Deprecated.
|
CvMat |
refcount(IntPointer setter)
Deprecated.
|
int |
rows()
Deprecated.
|
CvMat |
rows(int setter)
Deprecated.
|
int |
step()
Deprecated.
|
CvMat |
step(int setter)
Deprecated.
|
int |
type()
Deprecated.
|
CvMat |
type(int setter)
Deprecated.
|
int |
width()
Deprecated.
|
CvMat |
width(int setter)
Deprecated.
|
arrayChannels, arrayData, arrayDepth, arrayHeight, arrayOrigin, arrayOrigin, arrayROI, arraySize, arrayStep, arrayWidth, asIplImage, channels, clone, create, create, create, create, createHeader, createHeader, createHeader, createHeaderThreadLocal, createHeaderThreadLocal, createHeaderThreadLocal, createThreadLocal, createThreadLocal, createThreadLocal, depth, elemSize, empty, get, get, get, get, get, get, get, getByteBuffer, getDoubleBuffer, getFloatBuffer, getIntBuffer, getShortBuffer, isContinuous, length, matType, nChannels, put, put, put, put, put, put, put, put, release, reset, size, toString, toString, total, type
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, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, totalBytes, totalPhysicalBytes, withDeallocator, zero
public CvMat()
public CvMat(long size)
Pointer.position(long)
.public CvMat(Pointer p)
Pointer.Pointer(Pointer)
.public int type()
type
in class AbstractCvMat
public CvMat type(int setter)
type
in class AbstractCvMat
public int step()
step
in class AbstractCvMat
public CvMat step(int setter)
public IntPointer refcount()
public CvMat refcount(IntPointer setter)
public int hdr_refcount()
public CvMat hdr_refcount(int setter)
@Name(value="data.ptr") @Cast(value="uchar*") public BytePointer data_ptr()
data_ptr
in class AbstractCvMat
public CvMat data_ptr(BytePointer setter)
@Name(value="data.s") public ShortPointer data_s()
data_s
in class AbstractCvMat
public CvMat data_s(ShortPointer setter)
@Name(value="data.i") public IntPointer data_i()
data_i
in class AbstractCvMat
public CvMat data_i(IntPointer setter)
@Name(value="data.fl") public FloatPointer data_fl()
data_fl
in class AbstractCvMat
public CvMat data_fl(FloatPointer setter)
@Name(value="data.db") public DoublePointer data_db()
data_db
in class AbstractCvMat
public CvMat data_db(DoublePointer setter)
public int rows()
rows
in class AbstractCvMat
public CvMat rows(int setter)
public int height()
public CvMat height(int setter)
public int cols()
cols
in class AbstractCvMat
public CvMat cols(int setter)
public int width()
public CvMat width(int setter)
Copyright © 2020. All rights reserved.