Documentation of 'org.jplot2d.data.ImageData' Java class
ImageData
org.jplot2d.data

Class ImageData

  • All Implemented Interfaces:
    GraphData
    Direct Known Subclasses:
    MultiBandImageData, SingleBandImageData


    public abstract class ImageData
    extends java.lang.Object
    implements GraphData
    Immutable. This class keep (x,y) image data and compute data feature such as max/min, NaN indexes.
    • Method Detail

      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • getXRange

        public Range getXRange()
        Description copied from interface: GraphData
        Returns x range which contains all valid data in x boundary. If there is no valid data in x boundary, the empty property of returned Range will be set to true
        Specified by:
        getXRange in interface GraphData
      • getYRange

        public Range getYRange()
        Description copied from interface: GraphData
        Returns y range which contains all valid data in y boundary. If there is no valid data in y boundary, the empty property of returned Range will be set to true
        Specified by:
        getYRange in interface GraphData
      • hasPointOutsideXBounds

        public boolean hasPointOutsideXBounds()
        Description copied from interface: GraphData
        Returns true if there are valid data out of the x boundary.
        Specified by:
        hasPointOutsideXBounds in interface GraphData
        Returns:
        the flag
      • hasPointOutsideYBounds

        public boolean hasPointOutsideYBounds()
        Description copied from interface: GraphData
        Returns true if there are valid data out of the y boundary.
        Specified by:
        hasPointOutsideYBounds in interface GraphData
        Returns:
        the flag
      • getXcrval

        public double getXcrval()
        Get the coordinate reference value of the X axis
        Returns:
        the coordinate reference value of the X axis
      • getYcrval

        public double getYcrval()
        Get the coordinate reference value of the Y axis
        Returns:
        the coordinate reference value of the Y axis
      • getXcrpix

        public double getXcrpix()
        Get the coordinate reference pixel in the X axis
        Returns:
        the coordinate reference pixel in the X axis
      • getYcrpix

        public double getYcrpix()
        Get the coordinate reference pixel in the Y axis
        Returns:
        the coordinate reference pixel in the Y axis
      • getXcdelt

        public double getXcdelt()
        Get the pixel size in the X direction
        Returns:
        the pixel size in the X direction
      • getYcdelt

        public double getYcdelt()
        Get the pixel size in the Y direction
        Returns:
        the pixel size in the Y direction

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.