public class RawImageDescription extends Object
A class for extracting a JSON encoded raw input format description.
E.g.:
{
"type" : "float",
"rows" : "1600",
"columns" : "1600"
}
| Modifier and Type | Field and Description |
|---|---|
protected int |
columns |
protected int |
frames |
protected boolean |
isDataBigEndian |
protected int |
rows |
protected com.pixelmed.convert.RawImageDescription.Type |
type |
| Constructor and Description |
|---|
RawImageDescription(File formatFile) |
| Modifier and Type | Method and Description |
|---|---|
com.pixelmed.convert.RawImageDescription.Type |
getType() |
static void |
main(String[] arg)
Read a JSON encoded raw input format description and dump it.
|
String |
toString() |
protected int columns
protected int frames
protected boolean isDataBigEndian
protected int rows
protected com.pixelmed.convert.RawImageDescription.Type type
public RawImageDescription(File formatFile) throws IOException, NumberFormatException
IOExceptionNumberFormatExceptionpublic com.pixelmed.convert.RawImageDescription.Type getType()
public static void main(String[] arg)
Read a JSON encoded raw input format description and dump it.
arg - the format description file