Class RandomIterFallbackLarge

Object
RandomIterFallbackLarge
All Implemented Interfaces:
RandomIter

public class RandomIterFallbackLarge extends Object implements RandomIter
Slight modified version of ImageN RandomIterFallbackNoCacheNoArray that uses byte vectors to handle indexes rather than int vector. This way we use 4x4 times less memory in the iterator
Author:
Simone Giannecchini, GeoSolutions SAS
  • Constructor Details

  • Method Details

    • getSample

      public int getSample(int x, int y, int b)
      Specified by:
      getSample in interface RandomIter
    • getSampleFloat

      public float getSampleFloat(int x, int y, int b)
      Specified by:
      getSampleFloat in interface RandomIter
    • getSampleDouble

      public double getSampleDouble(int x, int y, int b)
      Specified by:
      getSampleDouble in interface RandomIter
    • getPixel

      public int[] getPixel(int x, int y, int[] iArray)
      Specified by:
      getPixel in interface RandomIter
    • getPixel

      public float[] getPixel(int x, int y, float[] fArray)
      Specified by:
      getPixel in interface RandomIter
    • getPixel

      public double[] getPixel(int x, int y, double[] dArray)
      Specified by:
      getPixel in interface RandomIter
    • done

      public void done()
      Specified by:
      done in interface RandomIter