Class ImageArrayAdapter


  • public class ImageArrayAdapter
    extends Object
    Makes a 2D Array into a java.awt.image.BufferedImage
    • Constructor Detail

      • ImageArrayAdapter

        public ImageArrayAdapter()
    • Method Detail

      • makeGrayscaleImage

        public static BufferedImage makeGrayscaleImage​(Array ma,
                                                       IsMissingEvaluator missEval)
        Adapt a rank 2 array into a java.awt.image.BufferedImage. If passed a rank 3 array, take first 2D slice.
        Parameters:
        ma - rank 2 or 3 array.
        Returns:
        BufferedImage