public class Mat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
long |
nativeObj |
Constructor and Description |
---|
Mat() |
Mat(int rows,
int cols,
int type) |
Mat(int rows,
int cols,
int type,
Scalar s) |
Mat(long addr) |
Mat(Mat m,
Range rowRange) |
Mat(Mat m,
Range rowRange,
Range colRange) |
Mat(Mat m,
Rect roi) |
Mat(Size size,
int type) |
Mat(Size size,
int type,
Scalar s) |
Modifier and Type | Method and Description |
---|---|
Mat |
adjustROI(int dtop,
int dbottom,
int dleft,
int dright) |
void |
assignTo(Mat m) |
void |
assignTo(Mat m,
int type) |
int |
channels() |
int |
checkVector(int elemChannels) |
int |
checkVector(int elemChannels,
int depth) |
int |
checkVector(int elemChannels,
int depth,
boolean requireContinuous) |
Mat |
clone() |
Mat |
col(int x) |
Mat |
colRange(int startcol,
int endcol) |
Mat |
colRange(Range r) |
int |
cols() |
void |
convertTo(Mat m,
int rtype) |
void |
convertTo(Mat m,
int rtype,
double alpha) |
void |
convertTo(Mat m,
int rtype,
double alpha,
double beta) |
void |
copyTo(Mat m) |
void |
copyTo(Mat m,
Mat mask) |
void |
create(int rows,
int cols,
int type) |
void |
create(Size size,
int type) |
Mat |
cross(Mat m) |
long |
dataAddr() |
int |
depth() |
Mat |
diag() |
Mat |
diag(int d) |
static Mat |
diag(Mat d) |
int |
dims() |
double |
dot(Mat m) |
java.lang.String |
dump() |
long |
elemSize() |
long |
elemSize1() |
boolean |
empty() |
static Mat |
eye(int rows,
int cols,
int type) |
static Mat |
eye(Size size,
int type) |
double[] |
get(int row,
int col) |
int |
get(int row,
int col,
byte[] data) |
int |
get(int row,
int col,
double[] data) |
int |
get(int row,
int col,
float[] data) |
int |
get(int row,
int col,
int[] data) |
int |
get(int row,
int col,
short[] data) |
long |
getNativeObjAddr() |
int |
height() |
Mat |
inv() |
Mat |
inv(int method) |
boolean |
isContinuous() |
boolean |
isSubmatrix() |
void |
locateROI(Size wholeSize,
Point ofs) |
Mat |
mul(Mat m) |
Mat |
mul(Mat m,
double scale) |
static Mat |
ones(int rows,
int cols,
int type) |
static Mat |
ones(Size size,
int type) |
void |
push_back(Mat m) |
int |
put(int row,
int col,
byte[] data) |
int |
put(int row,
int col,
double... data) |
int |
put(int row,
int col,
float[] data) |
int |
put(int row,
int col,
int[] data) |
int |
put(int row,
int col,
short[] data) |
void |
release() |
Mat |
reshape(int cn) |
Mat |
reshape(int cn,
int rows) |
Mat |
row(int y) |
Mat |
rowRange(int startrow,
int endrow) |
Mat |
rowRange(Range r) |
int |
rows() |
Mat |
setTo(Mat value) |
Mat |
setTo(Mat value,
Mat mask) |
Mat |
setTo(Scalar s) |
Mat |
setTo(Scalar value,
Mat mask) |
Size |
size() |
long |
step1() |
long |
step1(int i) |
Mat |
submat(int rowStart,
int rowEnd,
int colStart,
int colEnd) |
Mat |
submat(Range rowRange,
Range colRange) |
Mat |
submat(Rect roi) |
Mat |
t() |
java.lang.String |
toString() |
long |
total() |
int |
type() |
int |
width() |
static Mat |
zeros(int rows,
int cols,
int type) |
static Mat |
zeros(Size size,
int type) |
public Mat()
public Mat(int rows, int cols, int type)
public Mat(int rows, int cols, int type, Scalar s)
public Mat(long addr)
public Mat(Size size, int type)
public Mat adjustROI(int dtop, int dbottom, int dleft, int dright)
public void assignTo(Mat m)
public void assignTo(Mat m, int type)
public int channels()
public int checkVector(int elemChannels)
public int checkVector(int elemChannels, int depth)
public int checkVector(int elemChannels, int depth, boolean requireContinuous)
public Mat clone()
clone
in class java.lang.Object
public Mat col(int x)
public Mat colRange(int startcol, int endcol)
public int cols()
public void convertTo(Mat m, int rtype)
public void convertTo(Mat m, int rtype, double alpha)
public void convertTo(Mat m, int rtype, double alpha, double beta)
public void copyTo(Mat m)
public void create(int rows, int cols, int type)
public void create(Size size, int type)
public long dataAddr()
public int depth()
public Mat diag()
public Mat diag(int d)
public int dims()
public double dot(Mat m)
public java.lang.String dump()
public long elemSize()
public long elemSize1()
public boolean empty()
public static Mat eye(int rows, int cols, int type)
public double[] get(int row, int col)
public int get(int row, int col, byte[] data)
public int get(int row, int col, double[] data)
public int get(int row, int col, float[] data)
public int get(int row, int col, int[] data)
public int get(int row, int col, short[] data)
public long getNativeObjAddr()
public int height()
public Mat inv()
public Mat inv(int method)
public boolean isContinuous()
public boolean isSubmatrix()
public static Mat ones(int rows, int cols, int type)
public void push_back(Mat m)
public int put(int row, int col, byte[] data)
public int put(int row, int col, double... data)
public int put(int row, int col, float[] data)
public int put(int row, int col, int[] data)
public int put(int row, int col, short[] data)
public void release()
public Mat reshape(int cn)
public Mat reshape(int cn, int rows)
public Mat row(int y)
public Mat rowRange(int startrow, int endrow)
public int rows()
public Size size()
public long step1()
public long step1(int i)
public Mat submat(int rowStart, int rowEnd, int colStart, int colEnd)
public Mat t()
public java.lang.String toString()
toString
in class java.lang.Object
public long total()
public int type()
public int width()
public static Mat zeros(int rows, int cols, int type)