Class WritableRandomIterCSMInt
Object
RandomIterFallback
RandomIterCSM
RandomIterCSMInt
WritableRandomIterCSMInt
- All Implemented Interfaces:
RandomIter,WritableRandomIter
- Since:
- EA2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetPixel(int x, int y, double[] dfArray) Sets a pixel in the image using a float array of samples for input.voidsetPixel(int x, int y, float[] fArray) Sets a pixel in the image using a float array of samples for input.voidsetPixel(int x, int y, int[] iArray) Sets a pixel in the image using an int array of samples for input.voidsetSample(int x, int y, int b, double val) Sets the specified sample of the image to a double value.voidsetSample(int x, int y, int b, float val) Sets the specified sample of the image to a float value.voidsetSample(int x, int y, int b, int val) Sets the specified sample of the image to an integral value.Methods inherited from class RandomIterCSMInt
getSampleMethods inherited from class RandomIterCSM
getPixel, getPixel, getPixel, getSampleDouble, getSampleFloatMethods inherited from class RandomIterFallback
doneMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RandomIter
done, getPixel, getPixel, getPixel, getSample, getSampleDouble, getSampleFloat
-
Constructor Details
-
WritableRandomIterCSMInt
-
-
Method Details
-
setSample
public void setSample(int x, int y, int b, int val) Description copied from interface:WritableRandomIterSets the specified sample of the image to an integral value.- Specified by:
setSamplein interfaceWritableRandomIter- 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:WritableRandomIterSets the specified sample of the image to a float value.- Specified by:
setSamplein interfaceWritableRandomIter- 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:WritableRandomIterSets the specified sample of the image to a double value.- Specified by:
setSamplein interfaceWritableRandomIter- 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:WritableRandomIterSets a pixel in the image using an int array of samples for input.- Specified by:
setPixelin interfaceWritableRandomIter- 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:WritableRandomIterSets a pixel in the image using a float array of samples for input.- Specified by:
setPixelin interfaceWritableRandomIter- 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:WritableRandomIterSets a pixel in the image using a float array of samples for input.- Specified by:
setPixelin interfaceWritableRandomIter- Parameters:
x- the X coordinate of the pixel.y- the Y coordinate of the pixel.dfArray- the input samples in a double array.
-