Class WritableRandomIterCSMInt

All Implemented Interfaces:
RandomIter, WritableRandomIter

public final class WritableRandomIterCSMInt extends RandomIterCSMInt implements WritableRandomIter
Since:
EA2
  • Constructor Details

  • Method Details

    • setSample

      public void setSample(int x, int y, int b, int val)
      Description copied from interface: WritableRandomIter
      Sets the specified sample of the image to an integral value.
      Specified by:
      setSample in interface WritableRandomIter
      Parameters:
      x - the X coordinate of the pixel.
      y - the Y coordinate of the pixel.
      b - the band to be set.
      val - the sample's new integral value.
    • setSample

      public void setSample(int x, int y, int b, float val)
      Description copied from interface: WritableRandomIter
      Sets the specified sample of the image to a float value.
      Specified by:
      setSample in interface WritableRandomIter
      Parameters:
      x - the X coordinate of the pixel.
      y - the Y coordinate of the pixel.
      b - the band to be set.
      val - the sample's new float value.
    • setSample

      public void setSample(int x, int y, int b, double val)
      Description copied from interface: WritableRandomIter
      Sets the specified sample of the image to a double value.
      Specified by:
      setSample in interface WritableRandomIter
      Parameters:
      x - the X coordinate of the pixel.
      y - the Y coordinate of the pixel.
      b - the band to be set.
      val - the sample's new double value.
    • setPixel

      public void setPixel(int x, int y, int[] iArray)
      Description copied from interface: WritableRandomIter
      Sets a pixel in the image using an int array of samples for input.
      Specified by:
      setPixel in interface WritableRandomIter
      Parameters:
      x - the X coordinate of the pixel.
      y - the Y coordinate of the pixel.
      iArray - the input samples in an int array.
    • setPixel

      public void setPixel(int x, int y, float[] fArray)
      Description copied from interface: WritableRandomIter
      Sets a pixel in the image using a float array of samples for input.
      Specified by:
      setPixel in interface WritableRandomIter
      Parameters:
      x - the X coordinate of the pixel.
      y - the Y coordinate of the pixel.
    • setPixel

      public void setPixel(int x, int y, double[] dfArray)
      Description copied from interface: WritableRandomIter
      Sets a pixel in the image using a float array of samples for input.
      Specified by:
      setPixel in interface WritableRandomIter
      Parameters:
      x - the X coordinate of the pixel.
      y - the Y coordinate of the pixel.
      dfArray - the input samples in a double array.