Class SampleImage

  • All Implemented Interfaces:

    public class SampleImage
    extends Object
    implements Serializable
    Simple serializable class holding a sample model and a color model
    Andrea Aime - GeoSolutions
    See Also:
    Serialized Form
    • 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