@Namespace(value="cv") @NoOffset public static class opencv_core.MatConstIterator extends Pointer
SparseMat_ is a thin wrapper on top of SparseMat created in the same way as Mat_ . It simplifies notation of some operations:
int sz[] = {10, 20, 30};
SparseMat_<double> M(3, sz);
...
M.ref(1, 2, 3) = M(4, 5, 6) + M(7, 8, 9);
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_core.MatConstIterator()
default constructor
|
opencv_core.MatConstIterator(long size)
Native array allocator.
|
opencv_core.MatConstIterator(opencv_core.Mat _m)
constructor that sets the iterator to the beginning of the matrix
|
opencv_core.MatConstIterator(opencv_core.MatConstIterator it)
copy constructor
|
opencv_core.MatConstIterator(opencv_core.Mat _m,
int _row) |
opencv_core.MatConstIterator(opencv_core.Mat _m,
int _row,
int _col)
constructor that sets the iterator to the specified element of the matrix
|
opencv_core.MatConstIterator(opencv_core.Mat _m,
opencv_core.Point _pt)
constructor that sets the iterator to the specified element of the matrix
|
opencv_core.MatConstIterator(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
opencv_core.MatConstIterator |
addPut(long ofs)
shifts the iterator forward by the specified number of elements
|
opencv_core.MatConstIterator |
decrement()
decrements the iterator
|
opencv_core.MatConstIterator |
decrement(int arg0)
decrements the iterator
|
long |
elemSize() |
opencv_core.MatConstIterator |
elemSize(long elemSize) |
BytePointer |
get(long i)
returns the i-th matrix element, relative to the current
|
opencv_core.MatConstIterator |
increment()
increments the iterator
|
opencv_core.MatConstIterator |
increment(int arg0)
increments the iterator
|
long |
lpos() |
opencv_core.Mat |
m() |
BytePointer |
multiply()
returns the current matrix element
|
opencv_core.Point |
pos()
returns the current iterator position
|
void |
pos(int[] _idx) |
void |
pos(IntBuffer _idx) |
void |
pos(IntPointer _idx)
returns the current iterator position
|
opencv_core.MatConstIterator |
position(long position) |
BytePointer |
ptr() |
opencv_core.MatConstIterator |
put(opencv_core.MatConstIterator it)
copy operator
|
void |
seek(int[] _idx) |
void |
seek(int[] _idx,
boolean relative) |
void |
seek(IntBuffer _idx) |
void |
seek(IntBuffer _idx,
boolean relative) |
void |
seek(IntPointer _idx) |
void |
seek(IntPointer _idx,
boolean relative) |
void |
seek(long ofs) |
void |
seek(long ofs,
boolean relative) |
BytePointer |
sliceEnd() |
BytePointer |
sliceStart() |
opencv_core.MatConstIterator |
subtractPut(long ofs)
shifts the iterator backward by the specified number of elements
|
address, asBuffer, asByteBuffer, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, maxBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic opencv_core.MatConstIterator(Pointer p)
Pointer.Pointer(Pointer).public opencv_core.MatConstIterator(long size)
Pointer.position(long).public opencv_core.MatConstIterator()
public opencv_core.MatConstIterator(@Const opencv_core.Mat _m)
public opencv_core.MatConstIterator(@Const opencv_core.Mat _m, int _row, int _col)
public opencv_core.MatConstIterator(@Const opencv_core.Mat _m, int _row)
public opencv_core.MatConstIterator(@Const opencv_core.Mat _m, @ByVal opencv_core.Point _pt)
public opencv_core.MatConstIterator(@Const@ByRef opencv_core.MatConstIterator it)
public opencv_core.MatConstIterator position(long position)
@ByRef @Name(value="operator =") public opencv_core.MatConstIterator put(@Const@ByRef opencv_core.MatConstIterator it)
@Cast(value="const uchar*") @Name(value="operator *") public BytePointer multiply()
@Cast(value="const uchar*") @Name(value="operator []") public BytePointer get(@Cast(value="ptrdiff_t") long i)
@ByRef @Name(value="operator +=") public opencv_core.MatConstIterator addPut(@Cast(value="ptrdiff_t") long ofs)
@ByRef @Name(value="operator -=") public opencv_core.MatConstIterator subtractPut(@Cast(value="ptrdiff_t") long ofs)
@ByRef @Name(value="operator --") public opencv_core.MatConstIterator decrement()
@ByVal @Name(value="operator --") public opencv_core.MatConstIterator decrement(int arg0)
@ByRef @Name(value="operator ++") public opencv_core.MatConstIterator increment()
@ByVal @Name(value="operator ++") public opencv_core.MatConstIterator increment(int arg0)
@ByVal public opencv_core.Point pos()
public void pos(IntPointer _idx)
public void pos(IntBuffer _idx)
public void pos(int[] _idx)
public void seek(@Const IntPointer _idx, @Cast(value="bool") boolean relative)
public void seek(@Const IntPointer _idx)
public void seek(@Const int[] _idx)
@MemberGetter @Const public opencv_core.Mat m()
public opencv_core.MatConstIterator elemSize(long elemSize)
@MemberGetter @Cast(value="const uchar*") public BytePointer ptr()
@MemberGetter @Cast(value="const uchar*") public BytePointer sliceStart()
@MemberGetter @Cast(value="const uchar*") public BytePointer sliceEnd()
Copyright © 2016. All rights reserved.