Class Image


  • public class Image
    extends Object
    Object to store Image data
    • 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 - Value to be set
      • getWidth

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

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

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

        public void setHeight​(int height)
        Set method for height
        Parameters:
        height - Value to be set