Lines Matching refs:pixels

39  *  This abstract class defines an interface for extracting samples of pixels
40 * in an image. All image data is expressed as a collection of pixels.
46 * consists of all the red samples from all pixels in the
61 * A collection of pixels is represented as a Raster, which consists of
64 * a programmer can use to directly manipulate samples and pixels in the
70 * manipulate pixels in the DataBuffer.
84 /** Width in pixels of the region of image data that this SampleModel
89 /** Height in pixels of the region of image data that this SampleModel
111 * @param w The width (in pixels) of the region of image data.
112 * @param h The height (in pixels) of the region of image data.
152 /** Returns the width in pixels.
153 * @return the width in pixels of the region of image data
160 /** Returns the height in pixels.
161 * @return the height in pixels of the region of image data
177 * via the getDataElements and setDataElements methods. When pixels
180 * SampleModel. Using these methods, pixels are transferred as an
200 /** Returns the TransferType used to transfer pixels via the
201 * getDataElements and setDataElements methods. When pixels
204 * SampleModel. Using these methods, pixels are transferred as an
239 int pixels[];
242 pixels = iArray;
244 pixels = new int[numBands];
247 pixels[i] = getSample(x, y, i, data);
250 return pixels;
303 * Returns the pixel data for the specified rectangle of pixels in a
314 * region of pixels from
343 * @return the data elements for the specified region of pixels.
538 * Sets the data for a rectangle of pixels in the specified DataBuffer
547 * region of pixels from
704 float pixels[];
707 pixels = fArray;
709 pixels = new float[numBands];
712 pixels[i] = getSampleFloat(x, y, i, data);
714 return pixels;
735 double pixels[];
738 pixels = dArray;
740 pixels = new double[numBands];
743 pixels[i] = getSampleDouble(x, y, i, data);
745 return pixels;
749 * Returns all samples for a rectangle of pixels in an
759 * @return the samples for the specified region of pixels.
769 int pixels[];
781 pixels = iArray;
783 pixels = new int[numBands * w * h];
788 pixels[Offset++] = getSample(j, i, k, data);
793 return pixels;
797 * Returns all samples for a rectangle of pixels in a float
807 * @return the samples for the specified region of pixels.
817 float pixels[];
829 pixels = fArray;
831 pixels = new float[numBands * w * h];
836 pixels[Offset++] = getSampleFloat(j, i, k, data);
841 return pixels;
845 * Returns all samples for a rectangle of pixels in a double
855 * @return the samples for the specified region of pixels.
864 double pixels[];
876 pixels = dArray;
878 pixels = new double[numBands * w * h];
884 pixels[Offset++] = getSampleDouble(j, i, k, data);
889 return pixels;
959 * of pixels in an int array, one sample per array element.
970 * of pixels.
980 int pixels[];
992 pixels = iArray;
994 pixels = new int[w * h];
998 pixels[Offset++] = getSample(j, i, b, data);
1002 return pixels;
1007 * of pixels in a float array, one sample per array element.
1018 * of pixels.
1029 float pixels[];
1041 pixels = fArray;
1043 pixels = new float[w * h];
1047 pixels[Offset++] = getSampleFloat(j, i, b, data);
1051 return pixels;
1056 * of pixels in a double array, one sample per array element.
1067 * of pixels.
1078 double pixels[];
1090 pixels = dArray;
1092 pixels = new double[w * h];
1096 pixels[Offset++] = getSampleDouble(j, i, b, data);
1100 return pixels;
1163 * Sets all samples for a rectangle of pixels from an int array containing
1201 * Sets all samples for a rectangle of pixels from a float array containing
1239 * Sets all samples for a rectangle of pixels from a double array
1354 * of pixels from an int array containing one sample per array element.
1392 * of pixels from a float array containing one sample per array element.
1430 * of pixels from a double array containing one sample per array element.