|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjjil.core.Image
jjil.core.Gray8Image
jjil.core.Gray8MaskedImage
public class Gray8MaskedImage
Gray8MaskedImage is the image type used to store a signed 8-bit image and its associated mask. Mask value = Byte.MIN_VALUE is considered to be unmasked; all other values are masked.
| Constructor Summary | |
|---|---|
Gray8MaskedImage(Gray8Image imData,
Gray8Image imMask)
Creates a new instance of Gray8MaskedImage from an existing image and mask. |
|
Gray8MaskedImage(int cWidth,
int cHeight)
Creates a new instance of Gray8MaskedImage |
|
| Method Summary | |
|---|---|
Image |
clone()
Copy this image |
Gray8Image |
getImage()
Returns the input Gray8Image. |
Gray8Image |
getMask()
Get the image mask, a Gray8Image. |
byte[] |
getMaskData()
Return a pointer to the mask data. |
java.lang.String |
toString()
Return a string describing the image. |
| Methods inherited from class jjil.core.Gray8Image |
|---|
getData |
| Methods inherited from class jjil.core.Image |
|---|
getHeight, getWidth |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Gray8MaskedImage(int cWidth,
int cHeight)
cWidth - Width of the image (columns).cHeight - Height of the image (rows)
public Gray8MaskedImage(Gray8Image imData,
Gray8Image imMask)
throws Error
imData - the data image.imMask - the mask
Error - If either input is not a Gray8Image or the sizes are not the same.| Method Detail |
|---|
public Image clone()
clone in class Gray8Imagepublic Gray8Image getImage()
public Gray8Image getMask()
public byte[] getMaskData()
public java.lang.String toString()
toString in class Gray8Image
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||