Package org.opencv.core
Class Mat
java.lang.Object
org.opencv.core.Mat
- Direct Known Subclasses:
MatOfByte,MatOfDMatch,MatOfDouble,MatOfFloat,MatOfFloat4,MatOfFloat6,MatOfInt,MatOfInt4,MatOfKeyPoint,MatOfPoint,MatOfPoint2f,MatOfPoint3,MatOfPoint3f,MatOfRect,MatOfRect2d,MatOfRotatedRect
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMat()Mat(int[] sizes, int type) Mat(int rows, int cols, int type) Mat(int rows, int cols, int type, ByteBuffer data) Mat(int rows, int cols, int type, ByteBuffer data, long step) Mat(long addr) -
Method Summary
Modifier and TypeMethodDescriptionadjustROI(int dtop, int dbottom, int dleft, int dright) voidvoid<T> Mat.Atable<T> <T> Mat.Atable<T> intchannels()intcheckVector(int elemChannels) intcheckVector(int elemChannels, int depth) intcheckVector(int elemChannels, int depth, boolean requireContinuous) clone()col(int x) colRange(int startcol, int endcol) intcols()voidvoidvoidvoidvoidvoidvoidcreate(int[] sizes, int type) voidcreate(int rows, int cols, int type) voidlongdataAddr()intdepth()diag()diag(int d) static Matintdims()doubledump()longelemSize()longbooleanempty()static Mateye(int rows, int cols, int type) static Matdouble[]get(int[] idx) intget(int[] idx, byte[] data) intget(int[] idx, double[] data) intget(int[] idx, float[] data) intget(int[] idx, int[] data) intget(int[] idx, short[] data) double[]get(int row, int col) intget(int row, int col, byte[] data) intget(int row, int col, double[] data) intget(int row, int col, float[] data) intget(int row, int col, int[] data) intget(int row, int col, short[] data) longintheight()inv()inv(int method) booleanbooleanvoidMatrix multiplicationElement-wise multiplicationElement-wise multiplication with scale factorstatic Matones(int[] sizes, int type) static Matones(int rows, int cols, int type) static Matvoidintput(int[] idx, byte[] data) intput(int[] idx, byte[] data, int offset, int length) intput(int[] idx, double... data) intput(int[] idx, float[] data) intput(int[] idx, int[] data) intput(int[] idx, short[] data) intput(int row, int col, byte[] data) intput(int row, int col, byte[] data, int offset, int length) intput(int row, int col, double... data) intput(int row, int col, float[] data) intput(int row, int col, int[] data) intput(int row, int col, short[] data) protected voidvoidrelease()reshape(int cn) reshape(int cn, int rows) reshape(int cn, int[] newshape) row(int y) rowRange(int startrow, int endrow) introws()size()intsize(int i) longstep1()longstep1(int i) submat(int rowStart, int rowEnd, int colStart, int colEnd) t()toString()longtotal()inttype()intwidth()static Matzeros(int[] sizes, int type) static Matzeros(int rows, int cols, int type) static Mat
-
Field Details
-
cleaner
-
nativeObj
public final long nativeObj
-
-
Constructor Details
-
Mat
public Mat(long addr) -
Mat
public Mat() -
Mat
public Mat(int rows, int cols, int type) -
Mat
-
Mat
-
Mat
-
Mat
public Mat(int[] sizes, int type) -
Mat
-
Mat
-
Mat
-
Mat
-
Mat
-
Mat
-
Mat
-
-
Method Details
-
diag
-
eye
-
eye
-
ones
-
ones
-
ones
-
zeros
-
zeros
-
zeros
-
registerCleaner
protected void registerCleaner() -
adjustROI
-
assignTo
-
assignTo
-
channels
public int channels() -
checkVector
public int checkVector(int elemChannels, int depth, boolean requireContinuous) -
checkVector
public int checkVector(int elemChannels, int depth) -
checkVector
public int checkVector(int elemChannels) -
clone
-
col
-
colRange
-
colRange
-
dims
public int dims() -
cols
public int cols() -
convertTo
-
convertTo
-
convertTo
-
copyTo
-
copyTo
-
create
public void create(int rows, int cols, int type) -
create
-
create
public void create(int[] sizes, int type) -
copySize
-
cross
-
dataAddr
public long dataAddr() -
depth
public int depth() -
diag
-
diag
-
dot
-
elemSize
public long elemSize() -
elemSize1
public long elemSize1() -
empty
public boolean empty() -
inv
-
inv
-
isContinuous
public boolean isContinuous() -
isSubmatrix
public boolean isSubmatrix() -
locateROI
-
mul
-
mul
-
matMul
-
push_back
-
release
public void release() -
reshape
-
reshape
-
reshape
-
row
-
rowRange
-
rowRange
-
rows
public int rows() -
setTo
-
setTo
-
setTo
-
setTo
-
size
-
size
public int size(int i) -
step1
public long step1(int i) -
step1
public long step1() -
submat
-
submat
-
submat
-
submat
-
t
-
total
public long total() -
type
public int type() -
toString
-
dump
-
put
public int put(int row, int col, double... data) -
put
public int put(int[] idx, double... data) -
put
public int put(int row, int col, float[] data) -
put
public int put(int[] idx, float[] data) -
put
public int put(int row, int col, int[] data) -
put
public int put(int[] idx, int[] data) -
put
public int put(int row, int col, short[] data) -
put
public int put(int[] idx, short[] data) -
put
public int put(int row, int col, byte[] data) -
put
public int put(int[] idx, byte[] data) -
put
public int put(int row, int col, byte[] data, int offset, int length) -
put
public int put(int[] idx, byte[] data, int offset, int length) -
get
public int get(int row, int col, byte[] data) -
get
public int get(int[] idx, byte[] data) -
get
public int get(int row, int col, short[] data) -
get
public int get(int[] idx, short[] data) -
get
public int get(int row, int col, int[] data) -
get
public int get(int[] idx, int[] data) -
get
public int get(int row, int col, float[] data) -
get
public int get(int[] idx, float[] data) -
get
public int get(int row, int col, double[] data) -
get
public int get(int[] idx, double[] data) -
get
public double[] get(int row, int col) -
get
public double[] get(int[] idx) -
height
public int height() -
width
public int width() -
at
-
at
-
getNativeObjAddr
public long getNativeObjAddr()
-