public class GreyImage extends Object
GraphicsBitmap
,
RgbImage
Modifier and Type | Method and 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.
|
BufferedImage |
getImage()
Returns the greyscale image.
|
public 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 © 2024 Central Laboratory of the Research Councils. All Rights Reserved.