Public Member Functions | |
AnalyseReader (String path) | |
Create a new reader for analyse format. | |
boolean | eof () |
End of file. | |
void | read (int[] pdata) throws IOException |
Read another pixel. | |
void | close () |
Close the reader. | |
int | getWidth () |
Get image width. | |
int | getHeight () |
Get image height. | |
int | getDepth () |
Get image depth. | |
Static Public Attributes | |
static final int | DT_UNKNOWN = 0x00 |
static final int | DT_BINARY = 0x01 |
static final int | DT_UNSIGNED_CHAR = 0x02 |
static final int | DT_SIGNED_SHORT = 0x04 |
static final int | DT_SIGNED_INT = 0x08 |
static final int | DT_FLOAT = 0x10 |
static final int | DT_COMPLEX = 0x20 |
static final int | DT_DOUBLE = 0x40 |
static final int | DT_RGB = 0x80 |
static final int | DT_ALL = 0xFF |
Protected Member Functions | |
void | init (String path) |
Init the reader. | |
Classes | |
class | Header |
Header description in analyse format. |
org.miv.jism.tools.reader.AnalyseReader.AnalyseReader | ( | String | path | ) |
Create a new reader for analyse format.
Need the header file has the same prefix that the image.
path | image path |
boolean org.miv.jism.tools.reader.AnalyseReader.eof | ( | ) |
End of file.
Implements org.miv.jism.tools.reader.JismReader.
void org.miv.jism.tools.reader.AnalyseReader.read | ( | int[] | pdata | ) | throws IOException |
Read another pixel.
Implements org.miv.jism.tools.reader.JismReader.
int org.miv.jism.tools.reader.AnalyseReader.getWidth | ( | ) |
int org.miv.jism.tools.reader.AnalyseReader.getHeight | ( | ) |
int org.miv.jism.tools.reader.AnalyseReader.getDepth | ( | ) |