|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjjil.core.Image
jjil.core.Gray32Image
jjil.core.Gray32MaskedImage
public class Gray32MaskedImage
Gray32MaskedImage is the image type used to store a 32-bit integer image and its associated 8-bit mask. Mask value = Byte.MIN_VALUE is considered to be unmasked; all other values are masked.
Constructor Summary | |
---|---|
Gray32MaskedImage(Gray32Image imData,
Gray8Image imMask)
Creates a new instance of Gray32MaskedImage from an existing image and mask. |
|
Gray32MaskedImage(int cWidth,
int cHeight)
Creates a new instance of Gray32MaskedImage |
Method Summary | |
---|---|
Image |
clone()
Copy this image |
Gray32Image |
getImage()
Get the input Gray32Image. |
Gray8Image |
getMask()
Get the input Gray8Image mask. |
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.Gray32Image |
---|
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 Gray32MaskedImage(int cWidth, int cHeight)
cWidth
- Width of the image (columns).cHeight
- Height of the image (rows)public Gray32MaskedImage(Gray32Image 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 Gray32Image
public Gray32Image getImage()
public Gray8Image getMask()
public byte[] getMaskData()
public java.lang.String toString()
toString
in class Gray32Image
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |