Class SampleImage

  • All Implemented Interfaces:
    Serializable

    public class SampleImage
    extends Object
    implements Serializable
    Simple serializable class holding a sample model and a color model
    Author:
    Andrea Aime - GeoSolutions
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SampleImage​(SampleModel sampleModel, ColorModel colorModel)
      Builds a new sample image
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BufferedImage toBufferedImage()
      Builds a 1x1 BufferedImage with the provided sample model and color model
      • Methods inherited from class Object

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

      • SampleImage

        public SampleImage​(SampleModel sampleModel,
                           ColorModel colorModel)
        Builds a new sample image
    • Method Detail

      • toBufferedImage

        public BufferedImage toBufferedImage()
        Builds a 1x1 BufferedImage with the provided sample model and color model