|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjjil.core.Image
jjil.core.Gray8Image
public class Gray8Image
Gray8Image is the image type used to store a signed 8-bit image. Note that Java limitations (no unsigned byte) make it necessary to treat alll 8-bit images as signed.
| Constructor Summary | |
|---|---|
Gray8Image(int cWidth,
int cHeight)
Creates a new instance of Gray8Image |
|
Gray8Image(int cWidth,
int cHeight,
byte bValue)
Creates a new instance of Gray8Image |
|
| Method Summary | |
|---|---|
Image |
clone()
Copy this image |
byte[] |
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 Gray8Image(int cWidth,
int cHeight)
cWidth - Width of the image (columns).cHeight - Height of the image (rows)
public Gray8Image(int cWidth,
int cHeight,
byte bValue)
cWidth - Width of the image (columns).cHeight - Height of the image (rows)bValue - constant value to be assigned to the image| Method Detail |
|---|
public Image clone()
clone in class Imagepublic byte[] 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 | |||||||||