public class GreyImage
extends java.lang.Object
GraphicsBitmap,
RgbImage| Modifier and Type | Method | Description |
|---|---|---|
static GreyImage |
createGreyImage(int width,
int height) |
Factory method to create an instance.
|
Pixer |
createPixer() |
Returns a pixel iterator that iterates over all the pixels that
have been altered (are non-white) in this image.
|
byte[] |
getBuffer() |
Returns the byte array backing the image.
|
java.awt.image.BufferedImage |
getImage() |
Returns the greyscale image.
|
public java.awt.image.BufferedImage getImage()
public byte[] getBuffer()
public Pixer createPixer()
public static GreyImage createGreyImage(int width, int height)
width - image width in pixelsheight - image height in pixelsCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.