|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjjil.core.Image
jjil.core.Gray16Image
public final class Gray16Image
Gray16Image is the image type used to store a 16-bit signed gray image.
Constructor Summary | |
---|---|
Gray16Image(int cWidth,
int cHeight)
Creates a new instance of Gray16Image |
|
Gray16Image(int cWidth,
int cHeight,
short wValue)
Creates a new instance of Gray16Image, assigning a constant value. |
Method Summary | |
---|---|
Image |
clone()
Copy this image |
short[] |
getData()
Return a pointer to the image data. |
java.lang.String |
toString()
Return a string describing the image. |
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 Gray16Image(int cWidth, int cHeight)
cWidth
- the image widthcHeight
- the image heightpublic Gray16Image(int cWidth, int cHeight, short wValue)
cWidth
- Width of the image (columns).cHeight
- Height of the image (rows)wValue
- constant value to be assigned to the imageMethod Detail |
---|
public Image clone()
clone
in class Image
public short[] getData()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |