@Namespace(value="cv::cuda")
@NoOffset
public static class opencv_core.GpuMat
extends org.bytedeco.javacpp.Pointer
Its interface matches the Mat interface with the following limitations:
- no arbitrary dimensions support (only 2D) - no functions that return references to their data (because references on GPU are not valid for CPU) - no expression templates technique support
Beware that the latter limitation may lead to overloaded matrix operators that cause memory allocations. The GpuMat class is convertible to cuda::PtrStepSz and cuda::PtrStep so it can be passed directly to the kernel.
\note In contrast with Mat, in most cases GpuMat::isContinuous() == false . This means that rows are aligned to a size depending on the hardware. Single-row GpuMat is always a continuous matrix.
\note You are not recommended to leave static or global GpuMat variables allocated, that is, to rely on its destructor. The destruction order of such variables and CUDA context is undefined. GPU memory release function returns error if the CUDA context has been destroyed before.
Some member functions are described as a "Blocking Call" while some are described as a "Non-Blocking Call". Blocking functions are synchronous to host. It is guaranteed that the GPU operation is finished when the function returns. However, non-blocking functions are asynchronous to host. Those functions may return even if the GPU operation is not finished.
Compared to their blocking counterpart, non-blocking functions accept Stream as an additional argument. If a non-default stream is passed, the GPU operation may overlap with operations in other streams.
\sa Mat
| Modifier and Type | Class and Description |
|---|---|
static class |
opencv_core.GpuMat.Allocator |
| Constructor and Description |
|---|
GpuMat() |
GpuMat(int rows,
int cols,
int type) |
GpuMat(int rows,
int cols,
int type,
opencv_core.GpuMat.Allocator allocator)
constructs GpuMat of the specified size and type
|
GpuMat(int rows,
int cols,
int type,
opencv_core.Scalar s) |
GpuMat(int rows,
int cols,
int type,
opencv_core.Scalar s,
opencv_core.GpuMat.Allocator allocator)
constucts GpuMat and fills it with the specified value _s
|
GpuMat(int rows,
int cols,
int type,
org.bytedeco.javacpp.Pointer data) |
GpuMat(int rows,
int cols,
int type,
org.bytedeco.javacpp.Pointer data,
long step)
constructor for GpuMat headers pointing to user-allocated data
|
GpuMat(long size)
Native array allocator.
|
GpuMat(opencv_core.GpuMat.Allocator allocator)
default constructor
|
GpuMat(opencv_core.GpuMat m)
copy constructor
|
GpuMat(opencv_core.GpuMat arr,
opencv_core.GpuMat.Allocator allocator) |
GpuMat(opencv_core.GpuMat m,
opencv_core.Range rowRange,
opencv_core.Range colRange)
creates a GpuMat header for a part of the bigger matrix
|
GpuMat(opencv_core.GpuMat m,
opencv_core.Rect roi) |
GpuMat(opencv_core.Mat arr) |
GpuMat(opencv_core.Mat arr,
opencv_core.GpuMat.Allocator allocator)
builds GpuMat from host memory (Blocking call)
|
GpuMat(opencv_core.Size size,
int type) |
GpuMat(opencv_core.Size size,
int type,
opencv_core.GpuMat.Allocator allocator) |
GpuMat(opencv_core.Size size,
int type,
opencv_core.Scalar s) |
GpuMat(opencv_core.Size size,
int type,
opencv_core.Scalar s,
opencv_core.GpuMat.Allocator allocator) |
GpuMat(opencv_core.Size size,
int type,
org.bytedeco.javacpp.Pointer data) |
GpuMat(opencv_core.Size size,
int type,
org.bytedeco.javacpp.Pointer data,
long step) |
GpuMat(opencv_core.UMat arr) |
GpuMat(opencv_core.UMat arr,
opencv_core.GpuMat.Allocator allocator) |
GpuMat(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
opencv_core.GpuMat |
adjustROI(int dtop,
int dbottom,
int dleft,
int dright)
moves/resizes the current GpuMat ROI inside the parent GpuMat
|
opencv_core.GpuMat.Allocator |
allocator()
allocator
|
opencv_core.GpuMat |
allocator(opencv_core.GpuMat.Allocator allocator) |
opencv_core.GpuMat |
apply(opencv_core.Range rowRange,
opencv_core.Range colRange)
extracts a rectangular sub-GpuMat (this is a generalized form of row, rowRange etc.)
|
opencv_core.GpuMat |
apply(opencv_core.Rect roi) |
void |
assignTo(opencv_core.GpuMat m) |
void |
assignTo(opencv_core.GpuMat m,
int type) |
int |
channels()
returns number of channels
|
opencv_core.GpuMat |
clone()
returns deep copy of the GpuMat, i.e.
|
opencv_core.GpuMat |
col(int x)
returns a new GpuMat header for the specified column
|
opencv_core.GpuMat |
colRange(int startcol,
int endcol)
...
|
opencv_core.GpuMat |
colRange(opencv_core.Range r) |
int |
cols() |
opencv_core.GpuMat |
cols(int cols) |
void |
convertTo(opencv_core.GpuMat dst,
int rtype) |
void |
convertTo(opencv_core.GpuMat dst,
int rtype,
double alpha) |
void |
convertTo(opencv_core.GpuMat dst,
int rtype,
double alpha,
double beta) |
void |
convertTo(opencv_core.GpuMat dst,
int rtype,
double alpha,
double beta,
opencv_core.Stream stream) |
void |
convertTo(opencv_core.GpuMat dst,
int rtype,
double alpha,
opencv_core.Stream stream) |
void |
convertTo(opencv_core.GpuMat dst,
int rtype,
opencv_core.Stream stream) |
void |
convertTo(opencv_core.Mat dst,
int rtype)
converts GpuMat to another datatype (Blocking call)
|
void |
convertTo(opencv_core.Mat dst,
int rtype,
double alpha) |
void |
convertTo(opencv_core.Mat dst,
int rtype,
double alpha,
double beta)
converts GpuMat to another datatype with scaling (Blocking call)
|
void |
convertTo(opencv_core.Mat dst,
int rtype,
double alpha,
double beta,
opencv_core.Stream stream)
converts GpuMat to another datatype with scaling (Non-Blocking call)
|
void |
convertTo(opencv_core.Mat dst,
int rtype,
double alpha,
opencv_core.Stream stream)
converts GpuMat to another datatype with scaling (Non-Blocking call)
|
void |
convertTo(opencv_core.Mat dst,
int rtype,
opencv_core.Stream stream)
converts GpuMat to another datatype (Non-Blocking call)
|
void |
convertTo(opencv_core.UMat dst,
int rtype) |
void |
convertTo(opencv_core.UMat dst,
int rtype,
double alpha) |
void |
convertTo(opencv_core.UMat dst,
int rtype,
double alpha,
double beta) |
void |
convertTo(opencv_core.UMat dst,
int rtype,
double alpha,
double beta,
opencv_core.Stream stream) |
void |
convertTo(opencv_core.UMat dst,
int rtype,
double alpha,
opencv_core.Stream stream) |
void |
convertTo(opencv_core.UMat dst,
int rtype,
opencv_core.Stream stream) |
void |
copyTo(opencv_core.GpuMat dst) |
void |
copyTo(opencv_core.GpuMat dst,
opencv_core.GpuMat mask) |
void |
copyTo(opencv_core.GpuMat dst,
opencv_core.GpuMat mask,
opencv_core.Stream stream) |
void |
copyTo(opencv_core.GpuMat dst,
opencv_core.Stream stream) |
void |
copyTo(opencv_core.Mat dst)
copies the GpuMat content to device memory (Blocking call)
|
void |
copyTo(opencv_core.Mat dst,
opencv_core.Mat mask)
copies those GpuMat elements to "m" that are marked with non-zero mask elements (Blocking call)
|
void |
copyTo(opencv_core.Mat dst,
opencv_core.Mat mask,
opencv_core.Stream stream)
copies those GpuMat elements to "m" that are marked with non-zero mask elements (Non-Blocking call)
|
void |
copyTo(opencv_core.Mat dst,
opencv_core.Stream stream)
copies the GpuMat content to device memory (Non-Blocking call)
|
void |
copyTo(opencv_core.UMat dst) |
void |
copyTo(opencv_core.UMat dst,
opencv_core.Stream stream) |
void |
copyTo(opencv_core.UMat dst,
opencv_core.UMat mask) |
void |
copyTo(opencv_core.UMat dst,
opencv_core.UMat mask,
opencv_core.Stream stream) |
void |
create(int rows,
int cols,
int type)
allocates new GpuMat data unless the GpuMat already has specified size and type
|
void |
create(opencv_core.Size size,
int type) |
org.bytedeco.javacpp.BytePointer |
data()
pointer to the data
|
opencv_core.GpuMat |
data(org.bytedeco.javacpp.BytePointer data) |
org.bytedeco.javacpp.BytePointer |
dataend() |
org.bytedeco.javacpp.BytePointer |
datastart()
helper fields used in locateROI and adjustROI
|
opencv_core.GpuMat |
datastart(org.bytedeco.javacpp.BytePointer datastart) |
static opencv_core.GpuMat.Allocator |
defaultAllocator()
default allocator
|
int |
depth()
returns element type
|
void |
download(opencv_core.GpuMat dst) |
void |
download(opencv_core.GpuMat dst,
opencv_core.Stream stream) |
void |
download(opencv_core.Mat dst)
\brief Performs data download from GpuMat (Blocking call)
|
void |
download(opencv_core.Mat dst,
opencv_core.Stream stream)
\brief Performs data download from GpuMat (Non-Blocking call)
|
void |
download(opencv_core.UMat dst) |
void |
download(opencv_core.UMat dst,
opencv_core.Stream stream) |
long |
elemSize()
returns element size in bytes
|
long |
elemSize1()
returns the size of element channel in bytes
|
boolean |
empty()
returns true if GpuMat data is NULL
|
int |
flags()
includes several bit-fields:
- the magic signature
- continuity flag
- depth
- number of channels
|
opencv_core.GpuMat |
flags(int flags) |
boolean |
isContinuous()
returns true iff the GpuMat data is continuous
(i.e.
|
void |
locateROI(opencv_core.Size wholeSize,
opencv_core.Point ofs)
locates GpuMat header within a parent GpuMat
|
opencv_core.GpuMat |
position(long position) |
org.bytedeco.javacpp.BytePointer |
ptr() |
org.bytedeco.javacpp.BytePointer |
ptr(int y)
returns pointer to y-th row
|
opencv_core.GpuMat |
put(opencv_core.GpuMat m)
assignment operators
|
org.bytedeco.javacpp.IntPointer |
refcount()
pointer to the reference counter;
when GpuMat points to user-allocated data, the pointer is NULL
|
opencv_core.GpuMat |
refcount(org.bytedeco.javacpp.IntPointer refcount) |
void |
release()
decreases reference counter, deallocate the data when reference counter reaches 0
|
opencv_core.GpuMat |
reshape(int cn) |
opencv_core.GpuMat |
reshape(int cn,
int rows)
creates alternative GpuMat header for the same data, with different
number of channels and/or different number of rows
|
opencv_core.GpuMat |
row(int y)
returns a new GpuMat header for the specified row
|
opencv_core.GpuMat |
rowRange(int startrow,
int endrow)
...
|
opencv_core.GpuMat |
rowRange(opencv_core.Range r) |
int |
rows()
the number of rows and columns
|
opencv_core.GpuMat |
rows(int rows) |
static void |
setDefaultAllocator(opencv_core.GpuMat.Allocator allocator) |
opencv_core.GpuMat |
setTo(opencv_core.Scalar s)
sets some of the GpuMat elements to s (Blocking call)
|
opencv_core.GpuMat |
setTo(opencv_core.Scalar s,
opencv_core.GpuMat mask) |
opencv_core.GpuMat |
setTo(opencv_core.Scalar s,
opencv_core.GpuMat mask,
opencv_core.Stream stream) |
opencv_core.GpuMat |
setTo(opencv_core.Scalar s,
opencv_core.Mat mask)
sets some of the GpuMat elements to s, according to the mask (Blocking call)
|
opencv_core.GpuMat |
setTo(opencv_core.Scalar s,
opencv_core.Mat mask,
opencv_core.Stream stream)
sets some of the GpuMat elements to s, according to the mask (Non-Blocking call)
|
opencv_core.GpuMat |
setTo(opencv_core.Scalar s,
opencv_core.Stream stream)
sets some of the GpuMat elements to s (Non-Blocking call)
|
opencv_core.GpuMat |
setTo(opencv_core.Scalar s,
opencv_core.UMat mask) |
opencv_core.GpuMat |
setTo(opencv_core.Scalar s,
opencv_core.UMat mask,
opencv_core.Stream stream) |
opencv_core.Size |
size()
returns GpuMat size : width == number of columns, height == number of rows
|
long |
step()
a distance between successive rows in bytes; includes the gap if any
|
opencv_core.GpuMat |
step(long step) |
long |
step1()
returns step/elemSize1()
|
void |
swap(opencv_core.GpuMat mat)
swaps with other smart pointer
|
int |
type()
returns element type
|
void |
updateContinuityFlag()
internal use method: updates the continuity flag
|
void |
upload(opencv_core.GpuMat arr) |
void |
upload(opencv_core.GpuMat arr,
opencv_core.Stream stream) |
void |
upload(opencv_core.Mat arr)
\brief Performs data upload to GpuMat (Blocking call)
|
void |
upload(opencv_core.Mat arr,
opencv_core.Stream stream)
\brief Performs data upload to GpuMat (Non-Blocking call)
|
void |
upload(opencv_core.UMat arr) |
void |
upload(opencv_core.UMat arr,
opencv_core.Stream stream) |
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 GpuMat(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public GpuMat(long size)
Pointer.position(long).public GpuMat(opencv_core.GpuMat.Allocator allocator)
public GpuMat()
public GpuMat(int rows,
int cols,
int type,
opencv_core.GpuMat.Allocator allocator)
public GpuMat(int rows,
int cols,
int type)
public GpuMat(@ByVal
opencv_core.Size size,
int type,
opencv_core.GpuMat.Allocator allocator)
public GpuMat(@ByVal
opencv_core.Size size,
int type)
public GpuMat(int rows,
int cols,
int type,
@ByVal
opencv_core.Scalar s,
opencv_core.GpuMat.Allocator allocator)
public GpuMat(int rows,
int cols,
int type,
@ByVal
opencv_core.Scalar s)
public GpuMat(@ByVal
opencv_core.Size size,
int type,
@ByVal
opencv_core.Scalar s,
opencv_core.GpuMat.Allocator allocator)
public GpuMat(@ByVal
opencv_core.Size size,
int type,
@ByVal
opencv_core.Scalar s)
public GpuMat(@Const @ByRef
opencv_core.GpuMat m)
public GpuMat(int rows,
int cols,
int type,
org.bytedeco.javacpp.Pointer data,
@Cast(value="size_t")
long step)
public GpuMat(int rows,
int cols,
int type,
org.bytedeco.javacpp.Pointer data)
public GpuMat(@ByVal
opencv_core.Size size,
int type,
org.bytedeco.javacpp.Pointer data,
@Cast(value="size_t")
long step)
public GpuMat(@ByVal
opencv_core.Size size,
int type,
org.bytedeco.javacpp.Pointer data)
public GpuMat(@Const @ByRef
opencv_core.GpuMat m,
@ByVal
opencv_core.Range rowRange,
@ByVal
opencv_core.Range colRange)
public GpuMat(@Const @ByRef
opencv_core.GpuMat m,
@ByVal
opencv_core.Rect roi)
public GpuMat(@ByVal
opencv_core.Mat arr,
opencv_core.GpuMat.Allocator allocator)
public GpuMat(@ByVal
opencv_core.Mat arr)
public GpuMat(@ByVal
opencv_core.UMat arr,
opencv_core.GpuMat.Allocator allocator)
public GpuMat(@ByVal
opencv_core.UMat arr)
public GpuMat(@ByVal
opencv_core.GpuMat arr,
opencv_core.GpuMat.Allocator allocator)
public opencv_core.GpuMat position(long position)
position in class org.bytedeco.javacpp.Pointerpublic static opencv_core.GpuMat.Allocator defaultAllocator()
public static void setDefaultAllocator(opencv_core.GpuMat.Allocator allocator)
@ByRef @Name(value="operator =") public opencv_core.GpuMat put(@Const @ByRef opencv_core.GpuMat m)
public void create(int rows,
int cols,
int type)
public void create(@ByVal
opencv_core.Size size,
int type)
public void release()
public void swap(@ByRef
opencv_core.GpuMat mat)
public void upload(@ByVal
opencv_core.Mat arr)
This function copies data from host memory to device memory. As being a blocking call, it is guaranteed that the copy operation is finished when this function returns.
public void upload(@ByVal
opencv_core.UMat arr)
public void upload(@ByVal
opencv_core.GpuMat arr)
public void upload(@ByVal
opencv_core.Mat arr,
@ByRef
opencv_core.Stream stream)
This function copies data from host memory to device memory. As being a non-blocking call, this function may return even if the copy operation is not finished.
The copy operation may be overlapped with operations in other non-default streams if \p stream is not the default stream and \p dst is HostMem allocated with HostMem::PAGE_LOCKED option.
public void upload(@ByVal
opencv_core.UMat arr,
@ByRef
opencv_core.Stream stream)
public void upload(@ByVal
opencv_core.GpuMat arr,
@ByRef
opencv_core.Stream stream)
public void download(@ByVal
opencv_core.Mat dst)
This function copies data from device memory to host memory. As being a blocking call, it is guaranteed that the copy operation is finished when this function returns.
public void download(@ByVal
opencv_core.UMat dst)
public void download(@ByVal
opencv_core.GpuMat dst)
public void download(@ByVal
opencv_core.Mat dst,
@ByRef
opencv_core.Stream stream)
This function copies data from device memory to host memory. As being a non-blocking call, this function may return even if the copy operation is not finished.
The copy operation may be overlapped with operations in other non-default streams if \p stream is not the default stream and \p dst is HostMem allocated with HostMem::PAGE_LOCKED option.
public void download(@ByVal
opencv_core.UMat dst,
@ByRef
opencv_core.Stream stream)
public void download(@ByVal
opencv_core.GpuMat dst,
@ByRef
opencv_core.Stream stream)
@ByVal public opencv_core.GpuMat clone()
public void copyTo(@ByVal
opencv_core.Mat dst)
public void copyTo(@ByVal
opencv_core.UMat dst)
public void copyTo(@ByVal
opencv_core.GpuMat dst)
public void copyTo(@ByVal
opencv_core.Mat dst,
@ByRef
opencv_core.Stream stream)
public void copyTo(@ByVal
opencv_core.UMat dst,
@ByRef
opencv_core.Stream stream)
public void copyTo(@ByVal
opencv_core.GpuMat dst,
@ByRef
opencv_core.Stream stream)
public void copyTo(@ByVal
opencv_core.Mat dst,
@ByVal
opencv_core.Mat mask)
public void copyTo(@ByVal
opencv_core.UMat dst,
@ByVal
opencv_core.UMat mask)
public void copyTo(@ByVal
opencv_core.GpuMat dst,
@ByVal
opencv_core.GpuMat mask)
public void copyTo(@ByVal
opencv_core.Mat dst,
@ByVal
opencv_core.Mat mask,
@ByRef
opencv_core.Stream stream)
public void copyTo(@ByVal
opencv_core.UMat dst,
@ByVal
opencv_core.UMat mask,
@ByRef
opencv_core.Stream stream)
public void copyTo(@ByVal
opencv_core.GpuMat dst,
@ByVal
opencv_core.GpuMat mask,
@ByRef
opencv_core.Stream stream)
@ByRef public opencv_core.GpuMat setTo(@ByVal opencv_core.Scalar s)
@ByRef public opencv_core.GpuMat setTo(@ByVal opencv_core.Scalar s, @ByRef opencv_core.Stream stream)
@ByRef public opencv_core.GpuMat setTo(@ByVal opencv_core.Scalar s, @ByVal opencv_core.Mat mask)
@ByRef public opencv_core.GpuMat setTo(@ByVal opencv_core.Scalar s, @ByVal opencv_core.UMat mask)
@ByRef public opencv_core.GpuMat setTo(@ByVal opencv_core.Scalar s, @ByVal opencv_core.GpuMat mask)
@ByRef public opencv_core.GpuMat setTo(@ByVal opencv_core.Scalar s, @ByVal opencv_core.Mat mask, @ByRef opencv_core.Stream stream)
@ByRef public opencv_core.GpuMat setTo(@ByVal opencv_core.Scalar s, @ByVal opencv_core.UMat mask, @ByRef opencv_core.Stream stream)
@ByRef public opencv_core.GpuMat setTo(@ByVal opencv_core.Scalar s, @ByVal opencv_core.GpuMat mask, @ByRef opencv_core.Stream stream)
public void convertTo(@ByVal
opencv_core.Mat dst,
int rtype)
public void convertTo(@ByVal
opencv_core.UMat dst,
int rtype)
public void convertTo(@ByVal
opencv_core.GpuMat dst,
int rtype)
public void convertTo(@ByVal
opencv_core.Mat dst,
int rtype,
@ByRef
opencv_core.Stream stream)
public void convertTo(@ByVal
opencv_core.UMat dst,
int rtype,
@ByRef
opencv_core.Stream stream)
public void convertTo(@ByVal
opencv_core.GpuMat dst,
int rtype,
@ByRef
opencv_core.Stream stream)
public void convertTo(@ByVal
opencv_core.Mat dst,
int rtype,
double alpha,
double beta)
public void convertTo(@ByVal
opencv_core.Mat dst,
int rtype,
double alpha)
public void convertTo(@ByVal
opencv_core.UMat dst,
int rtype,
double alpha,
double beta)
public void convertTo(@ByVal
opencv_core.UMat dst,
int rtype,
double alpha)
public void convertTo(@ByVal
opencv_core.GpuMat dst,
int rtype,
double alpha,
double beta)
public void convertTo(@ByVal
opencv_core.GpuMat dst,
int rtype,
double alpha)
public void convertTo(@ByVal
opencv_core.Mat dst,
int rtype,
double alpha,
@ByRef
opencv_core.Stream stream)
public void convertTo(@ByVal
opencv_core.UMat dst,
int rtype,
double alpha,
@ByRef
opencv_core.Stream stream)
public void convertTo(@ByVal
opencv_core.GpuMat dst,
int rtype,
double alpha,
@ByRef
opencv_core.Stream stream)
public void convertTo(@ByVal
opencv_core.Mat dst,
int rtype,
double alpha,
double beta,
@ByRef
opencv_core.Stream stream)
public void convertTo(@ByVal
opencv_core.UMat dst,
int rtype,
double alpha,
double beta,
@ByRef
opencv_core.Stream stream)
public void convertTo(@ByVal
opencv_core.GpuMat dst,
int rtype,
double alpha,
double beta,
@ByRef
opencv_core.Stream stream)
public void assignTo(@ByRef
opencv_core.GpuMat m,
int type)
public void assignTo(@ByRef
opencv_core.GpuMat m)
@Cast(value="uchar*") public org.bytedeco.javacpp.BytePointer ptr(int y)
@Cast(value="uchar*") public org.bytedeco.javacpp.BytePointer ptr()
@ByVal public opencv_core.GpuMat row(int y)
@ByVal public opencv_core.GpuMat col(int x)
@ByVal public opencv_core.GpuMat rowRange(int startrow, int endrow)
@ByVal public opencv_core.GpuMat rowRange(@ByVal opencv_core.Range r)
@ByVal public opencv_core.GpuMat colRange(int startcol, int endcol)
@ByVal public opencv_core.GpuMat colRange(@ByVal opencv_core.Range r)
@ByVal @Name(value="operator ()") public opencv_core.GpuMat apply(@ByVal opencv_core.Range rowRange, @ByVal opencv_core.Range colRange)
@ByVal @Name(value="operator ()") public opencv_core.GpuMat apply(@ByVal opencv_core.Rect roi)
@ByVal public opencv_core.GpuMat reshape(int cn, int rows)
@ByVal public opencv_core.GpuMat reshape(int cn)
public void locateROI(@ByRef
opencv_core.Size wholeSize,
@ByRef
opencv_core.Point ofs)
@ByRef public opencv_core.GpuMat adjustROI(int dtop, int dbottom, int dleft, int dright)
@Cast(value="bool") public boolean isContinuous()
@Cast(value="size_t") public long elemSize()
@Cast(value="size_t") public long elemSize1()
public int type()
public int depth()
public int channels()
@Cast(value="size_t") public long step1()
@ByVal public opencv_core.Size size()
@Cast(value="bool") public boolean empty()
public void updateContinuityFlag()
public int flags()
public opencv_core.GpuMat flags(int flags)
public int rows()
public opencv_core.GpuMat rows(int rows)
public int cols()
public opencv_core.GpuMat cols(int cols)
@Cast(value="size_t") public long step()
public opencv_core.GpuMat step(long step)
@Cast(value="uchar*") public org.bytedeco.javacpp.BytePointer data()
public opencv_core.GpuMat data(org.bytedeco.javacpp.BytePointer data)
public org.bytedeco.javacpp.IntPointer refcount()
public opencv_core.GpuMat refcount(org.bytedeco.javacpp.IntPointer refcount)
@Cast(value="uchar*") public org.bytedeco.javacpp.BytePointer datastart()
public opencv_core.GpuMat datastart(org.bytedeco.javacpp.BytePointer datastart)
@MemberGetter @Cast(value="const uchar*") public org.bytedeco.javacpp.BytePointer dataend()
public opencv_core.GpuMat.Allocator allocator()
public opencv_core.GpuMat allocator(opencv_core.GpuMat.Allocator allocator)
Copyright © 2018. All rights reserved.