code: int[] getScaledData(int[] srcImage)
      {
          final int[] dstImage = new int[srcImage.length * SCALE * SCALE];
  
          for (int y = 0; y < height; y++)
          {
              for (int x = 0; x < width; x++)
              {
                  process(srcImage, dstImage, x, y);
              }
          }
  
          return dstImage;
      }
docs: Get the scaled data.
  
  @param srcImage The image source.
  @return The data array.