Class ImageMatrix

    • Field Detail

      • bufferedImage

        private final java.awt.image.BufferedImage bufferedImage
    • Constructor Detail

      • ImageMatrix

        public ImageMatrix​(java.lang.String filename)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • ImageMatrix

        public ImageMatrix​(java.awt.image.BufferedImage bufferedImage)
      • ImageMatrix

        public ImageMatrix​(java.io.File file)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • ImageMatrix

        public ImageMatrix​(byte[] bytes)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • ImageMatrix

        public ImageMatrix​(java.io.InputStream stream)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • ImageMatrix

        public ImageMatrix​(java.net.URL url)
                    throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getInt

        public int getInt​(long row,
                          long column)
      • setInt

        public void setInt​(int value,
                           long row,
                           long column)
      • getInt

        public int getInt​(int row,
                          int column)
      • setInt

        public void setInt​(int value,
                           int row,
                           int column)