Interface IImageDataSource

  • All Known Implementing Classes:
    JP2_FileDataSource

    public interface IImageDataSource
    This is the public interface for classes used to retrieve images coming from the source location that are intended to be inserted into our database.
    Author:
    Dustin Kempton, Data Mining Lab, Georgia State University
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ImageDBFitsHeaderData getHeader​(org.joda.time.DateTime date, Waveband wavelength)
      Method that gets the header information for an image that corresponds to the input time and wavelength from the datasource.
      BufferedImage getImage​(org.joda.time.DateTime date, Waveband wavelength)
      Method that gets an image as a bufferedImage that corresponds to the input time and wavelength from the datasource.
      File getImageFile​(org.joda.time.DateTime date, Waveband wavelength)
      Method that gets the file representation of an image that corresponds to the input time and wavelength from the datasource.
    • Method Detail

      • getImage

        BufferedImage getImage​(org.joda.time.DateTime date,
                               Waveband wavelength)
        Method that gets an image as a bufferedImage that corresponds to the input time and wavelength from the datasource.
        Parameters:
        date - The time that the image was recorded.
        wavelength - The wavelength the image was recorded in.
        Returns:
        The BufferedImage representing the results, or null if no image was found fitting the constraints desired.
      • getHeader

        ImageDBFitsHeaderData getHeader​(org.joda.time.DateTime date,
                                        Waveband wavelength)
        Method that gets the header information for an image that corresponds to the input time and wavelength from the datasource.
        Parameters:
        date - The time that the image was recorded.
        wavelength - The wavelength the image was recorded in.
        Returns:
        The ImageDBFitsHeaderData representing the results, or null if no image was found fitting the constraints desired.
      • getImageFile

        File getImageFile​(org.joda.time.DateTime date,
                          Waveband wavelength)
        Method that gets the file representation of an image that corresponds to the input time and wavelength from the datasource.
        Parameters:
        date - The time that the image was recorded.
        wavelength - The wavelength the image was recorded in.
        Returns:
        The File representing the results, or null if no image was found fitting the constraints desired.