public class RawImageDescription
extends java.lang.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(java.io.File formatFile) |
Modifier and Type | Method and Description |
---|---|
com.pixelmed.convert.RawImageDescription.Type |
getType() |
static void |
main(java.lang.String[] arg)
Read a JSON encoded raw input format description and dump it.
|
java.lang.String |
toString() |
protected int columns
protected int frames
protected boolean isDataBigEndian
protected int rows
protected com.pixelmed.convert.RawImageDescription.Type type
public RawImageDescription(java.io.File formatFile) throws java.io.IOException, java.lang.NumberFormatException
java.io.IOException
java.lang.NumberFormatException
public com.pixelmed.convert.RawImageDescription.Type getType()
public static void main(java.lang.String[] arg)
Read a JSON encoded raw input format description and dump it.
arg
- the format description filepublic java.lang.String toString()
toString
in class java.lang.Object