BilevelImage, Gray16Image, Gray8Image, GrayIntegerImageMemoryBilevelImage, MemoryGray16Image, MemoryGray8Imagepublic interface GrayImage
BilevelImage.| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isBlack(int x,
int y) |
Returns if the pixel specified by the location in the arguments is black.
|
boolean |
isWhite(int x,
int y) |
Returns if the pixel specified by the location in the arguments is white.
|
void |
putBlack(int x,
int y) |
Sets a pixel to black (minimum intensity value).
|
void |
putWhite(int x,
int y) |
Sets a pixel to white (maximum intensity value).
|
boolean isBlack(int x,
int y)
x - the horizontal location of the pixely - the vertical location of the pixelIllegalArgumentException - if any of the parameters are invalidboolean isWhite(int x,
int y)
x - the horizontal location of the pixely - the vertical location of the pixelIllegalArgumentException - if any of the parameters are invalidvoid putBlack(int x,
int y)
x - horizontal position of the pixel's locationy - vertical position of the pixel's locationvoid putWhite(int x,
int y)
x - horizontal position of the pixel's locationy - vertical position of the pixel's location