Class RawScale8d


  • public class RawScale8d
    extends java.lang.Object
    Scales down a raw image to an eighth in both dimensions.
    • Constructor Summary

      Constructors 
      Constructor Description
      RawScale8d​(int @NotNull [] imageData, int dataWidth, int dataHeight)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int @NotNull [] getScaledData()
      Returns the scale image data.
      • Methods inherited from class java.lang.Object

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

      • RawScale8d

        public RawScale8d​(int @NotNull [] imageData,
                          int dataWidth,
                          int dataHeight)
        Creates a new instance.
        Parameters:
        imageData - the source image data to process
        dataWidth - the width of the source image
        dataHeight - the height of the source image
    • Method Detail

      • getScaledData

        public int @NotNull [] getScaledData()
        Returns the scale image data. Note this is the method that does the work so it might take some time to process.
        Returns:
        an array of pixels 64 times smaller than the input array containing the scaled down image