@Namespace(value="cv")
@NoOffset
public static class opencv_core.MatConstIterator
extends org.bytedeco.javacpp.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);
| Constructor and Description |
|---|
MatConstIterator()
default constructor
|
MatConstIterator(long size)
Native array allocator.
|
MatConstIterator(opencv_core.Mat _m)
constructor that sets the iterator to the beginning of the matrix
|
MatConstIterator(opencv_core.MatConstIterator it)
copy constructor
|
MatConstIterator(opencv_core.Mat _m,
int _row) |
MatConstIterator(opencv_core.Mat _m,
int _row,
int _col)
constructor that sets the iterator to the specified element of the matrix
|
MatConstIterator(opencv_core.Mat _m,
opencv_core.Point _pt)
constructor that sets the iterator to the specified element of the matrix
|
MatConstIterator(org.bytedeco.javacpp.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) |
org.bytedeco.javacpp.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() |
org.bytedeco.javacpp.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(org.bytedeco.javacpp.IntPointer _idx)
returns the current iterator position
|
opencv_core.MatConstIterator |
position(long position) |
org.bytedeco.javacpp.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(org.bytedeco.javacpp.IntPointer _idx) |
void |
seek(org.bytedeco.javacpp.IntPointer _idx,
boolean relative) |
void |
seek(long ofs) |
void |
seek(long ofs,
boolean relative) |
org.bytedeco.javacpp.BytePointer |
sliceEnd() |
org.bytedeco.javacpp.BytePointer |
sliceStart() |
opencv_core.MatConstIterator |
subtractPut(long ofs)
shifts the iterator backward by the specified number of elements
|
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 MatConstIterator(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public MatConstIterator(long size)
Pointer.position(long).public MatConstIterator()
public MatConstIterator(@Const
opencv_core.Mat _m)
public MatConstIterator(@Const
opencv_core.Mat _m,
int _row,
int _col)
public MatConstIterator(@Const
opencv_core.Mat _m,
int _row)
public MatConstIterator(@Const
opencv_core.Mat _m,
@ByVal
opencv_core.Point _pt)
public MatConstIterator(@Const @ByRef
opencv_core.MatConstIterator it)
public opencv_core.MatConstIterator position(long position)
position in class org.bytedeco.javacpp.Pointer@ByRef @Name(value="operator =") public opencv_core.MatConstIterator put(@Const @ByRef opencv_core.MatConstIterator it)
@Cast(value="const uchar*") @Name(value="operator *") public org.bytedeco.javacpp.BytePointer multiply()
@Cast(value="const uchar*")
@Name(value="operator []")
public org.bytedeco.javacpp.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(org.bytedeco.javacpp.IntPointer _idx)
public void pos(IntBuffer _idx)
public void pos(int[] _idx)
@Cast(value="ptrdiff_t") public long lpos()
public void seek(@Cast(value="ptrdiff_t")
long ofs,
@Cast(value="bool")
boolean relative)
public void seek(@Cast(value="ptrdiff_t")
long ofs)
public void seek(@Const
org.bytedeco.javacpp.IntPointer _idx,
@Cast(value="bool")
boolean relative)
public void seek(@Const
org.bytedeco.javacpp.IntPointer _idx)
public void seek(@Const
IntBuffer _idx,
@Cast(value="bool")
boolean relative)
public void seek(@Const
IntBuffer _idx)
public void seek(@Const
int[] _idx,
@Cast(value="bool")
boolean relative)
public void seek(@Const
int[] _idx)
@MemberGetter @Const public opencv_core.Mat m()
@Cast(value="size_t") public long elemSize()
public opencv_core.MatConstIterator elemSize(long elemSize)
@MemberGetter @Cast(value="const uchar*") public org.bytedeco.javacpp.BytePointer ptr()
@MemberGetter @Cast(value="const uchar*") public org.bytedeco.javacpp.BytePointer sliceStart()
@MemberGetter @Cast(value="const uchar*") public org.bytedeco.javacpp.BytePointer sliceEnd()
Copyright © 2018. All rights reserved.