Class Image


  • public class Image
    extends java.lang.Object
    Object to store Image data
    • Constructor Summary

      Constructors 
      Constructor Description
      Image​(int width, int height)
      Default constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double[] getData()
      Get method for data
      int getHeight()
      Get method for height
      int getWidth()
      Get method for width
      void setData​(double[] data)
      Set method for data
      void setHeight​(int height)
      Set method for height
      void setWidth​(int width)
      Set method for width
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Image

        public Image​(int width,
                     int height)
        Default constructor
        Parameters:
        width - Width of the image
        height - Height of the image
    • Method Detail

      • getData

        public double[] getData()
        Get method for data
        Returns:
        data
      • setData

        public void setData​(double[] data)
        Set method for data
        Parameters:
        data -
      • getWidth

        public int getWidth()
        Get method for width
        Returns:
        width
      • setWidth

        public void setWidth​(int width)
        Set method for width
        Parameters:
        width -
      • getHeight

        public int getHeight()
        Get method for height
        Returns:
        height
      • setHeight

        public void setHeight​(int height)
        Set method for height
        Parameters:
        height -