Class FactoryGImageGray.GSingle_I64

All Implemented Interfaces:
GImageGray
Enclosing class:
FactoryGImageGray

public static class FactoryGImageGray.GSingle_I64 extends FactoryGImageGray.GSingleBaseInt<GrayS64>
  • Constructor Details

    • GSingle_I64

      public GSingle_I64(GrayS64 image)
  • Method Details

    • get

      public Number get(int x, int y)
    • unsafe_getD

      public double unsafe_getD(int x, int y)
      Description copied from interface: GImageGray
      get which returns a double, has no bounds checking. Still slow, but faster than the super generic get. Also doesn't create memory on each get
    • unsafe_getF

      public float unsafe_getF(int x, int y)
    • set

      public void set(int x, int y, Number num)
      Description copied from interface: GImageGray
      Set's pixel value using number. If native type of 'num' and image are the same then there is no loss in precision.
      Parameters:
      x - pixel coordinate x-value
      y - pixel coordinate y-value
      num - Value of the pixel
    • set

      public void set(int index, float value)
      Description copied from interface: GImageGray
      Sets pixel based on pixel value in data array
    • getF

      public float getF(int index)
    • getImageType

      public Class getImageType()