Class Mat

    • Constructor Detail

      • Mat

        public Mat​(long addr)
      • Mat

        public Mat()
      • Mat

        public Mat​(int rows,
                   int cols,
                   int type)
      • Mat

        public Mat​(int rows,
                   int cols,
                   int type,
                   ByteBuffer data)
      • Mat

        public Mat​(int rows,
                   int cols,
                   int type,
                   ByteBuffer data,
                   long step)
      • Mat

        public Mat​(Size size,
                   int type)
      • Mat

        public Mat​(int[] sizes,
                   int type)
      • Mat

        public Mat​(int rows,
                   int cols,
                   int type,
                   Scalar s)
      • Mat

        public Mat​(int[] sizes,
                   int type,
                   Scalar s)
    • Method Detail

      • adjustROI

        public Mat adjustROI​(int dtop,
                             int dbottom,
                             int dleft,
                             int dright)
      • assignTo

        public void assignTo​(Mat m,
                             int type)
      • checkVector

        public int checkVector​(int elemChannels,
                               int depth,
                               boolean requireContinuous)
      • checkVector

        public int checkVector​(int elemChannels,
                               int depth)
      • checkVector

        public int checkVector​(int elemChannels)
      • col

        public Mat col​(int x)
      • colRange

        public Mat colRange​(int startcol,
                            int endcol)
      • dims

        public int dims()
      • cols

        public int cols()
      • convertTo

        public void convertTo​(Mat m,
                              int rtype,
                              double alpha,
                              double beta)
      • convertTo

        public void convertTo​(Mat m,
                              int rtype,
                              double alpha)
      • create

        public void create​(int rows,
                           int cols,
                           int type)
      • create

        public void create​(Size size,
                           int type)
      • create

        public void create​(int[] sizes,
                           int type)
      • depth

        public int depth()
      • diag

        public Mat diag​(int d)
      • dot

        public double dot​(Mat m)
      • empty

        public boolean empty()
      • eye

        public static Mat eye​(int rows,
                              int cols,
                              int type)
      • eye

        public static Mat eye​(Size size,
                              int type)
      • inv

        public Mat inv​(int method)
      • mul

        public Mat mul​(Mat m,
                       double scale)
      • ones

        public static Mat ones​(int rows,
                               int cols,
                               int type)
      • ones

        public static Mat ones​(Size size,
                               int type)
      • ones

        public static Mat ones​(int[] sizes,
                               int type)
      • reshape

        public Mat reshape​(int cn,
                           int rows)
      • reshape

        public Mat reshape​(int cn,
                           int[] newshape)
      • row

        public Mat row​(int y)
      • rowRange

        public Mat rowRange​(int startrow,
                            int endrow)
      • rows

        public int rows()
      • size

        public int size​(int i)
      • step1

        public long step1​(int i)
      • step1

        public long step1()
      • submat

        public Mat submat​(int rowStart,
                          int rowEnd,
                          int colStart,
                          int colEnd)
      • t

        public Mat t()
      • total

        public long total()
      • type

        public int type()
      • zeros

        public static Mat zeros​(int rows,
                                int cols,
                                int type)
      • zeros

        public static Mat zeros​(int[] sizes,
                                int type)
      • 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()