BufferedImageFilter class subclasses an
ImageFilter to provide a simple means of
using a single-source/single-destination image operator
(BufferedImageOp) to filter a BufferedImage
in the Image Producer/Consumer/Observer
paradigm. Examples of these image operators are: ConvolveOp,
AffineTransformOp and LookupOp.
ImageFilter, BufferedImage, BufferedImageOp
| Modifier and Type | Field and Description |
|---|---|
| pack-priv BufferedImageOp | |
| pack-priv byte[] | |
| pack-priv int | |
| pack-priv int[] | |
| pack-priv ColorModel | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public | BufferedImageFilter(BufferedImageOp
the specified op)BufferedImageOp to
use to filter a BufferedImageConstructs a |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private WritableRaster | |
| public BufferedImageOp | |
| public void | imageComplete(int
the status of image loading status)Overrides java. Implements java. Filters the information provided in the |
| public void | setColorModel(ColorModel model)
Overrides java. Implements java. Filters the information provided in the
|
| public void | setDimensions(int
the width to which to set the width of this
width, int BufferedImageFilterthe height to which to set the height of this
height)BufferedImageFilterOverrides java. Implements java. Filters the information provided in the
|
| public void | setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize)
Overrides java. Implements java. Filters the information provided in the |
| public void | setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize)
Overrides java. Implements java. Filters the information provided in the |
| bufferedImageOp | back to summary |
|---|---|
| pack-priv BufferedImageOp bufferedImageOp | |
| bytePixels | back to summary |
|---|---|
| pack-priv byte[] bytePixels | |
| height | back to summary |
|---|---|
| pack-priv int height | |
| intPixels | back to summary |
|---|---|
| pack-priv int[] intPixels | |
| model | back to summary |
|---|---|
| pack-priv ColorModel model | |
| width | back to summary |
|---|---|
| pack-priv int width | |
| BufferedImageFilter | back to summary |
|---|---|
| public BufferedImageFilter(BufferedImageOp op) Constructs a
| |
| convertToRGB | back to summary |
|---|---|
| private void convertToRGB() | |
| createDCMraster | back to summary |
|---|---|
| private WritableRaster createDCMraster() | |
| getBufferedImageOp | back to summary |
|---|---|
| public BufferedImageOp getBufferedImageOp() Returns the
| |
| imageComplete | back to summary |
|---|---|
| public void imageComplete(int status) Overrides java. Implements java. Filters the information provided in the Note This method is intended to be called by the
| |
| setColorModel | back to summary |
|---|---|
| public void setColorModel(ColorModel model) Overrides java. Implements java. Filters the information provided in the
If Note This method is intended to be called by the
| |
| setDimensions | back to summary |
|---|---|
| public void setDimensions(int width, int height) Overrides java. Implements java. Filters the information provided in the
Note This method is intended to be called by the
| |
| setPixels | back to summary |
|---|---|
| public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize) Overrides java. Implements java. Filters the information provided in the Note This method is intended to be called by the
| |
| setPixels | back to summary |
|---|---|
| public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize) Overrides java. Implements java. Filters the information provided in the Note This method is intended to be called by the
| |