Misc.Double1D, Misc.Double2D, Misc.Function, Misc.Int1D, Misc.Int2D, Misc.Int3D, Misc.Numbered<T>, Misc.Pair<A,B>
Constructor and Description |
---|
IOImageData(java.io.File file)
Create an object to load or save image data XML files.
|
Modifier and Type | Method and Description |
---|---|
DataImage |
read(java.lang.String image_path,
DataParameters default_params,
boolean force_defaults)
This method reads a data XML file for a single image and returns an
object representing the data.
|
boolean |
writeImageDataFile(DataImage data) |
public IOImageData(java.io.File file)
public boolean writeImageDataFile(DataImage data)
public DataImage read(java.lang.String image_path, DataParameters default_params, boolean force_defaults)
default_params
- Default image processing parameters. These will be used, if
none are given in the file or if force_defaults is true.force_defaults
- If true, the given default parameters will be used, even if
the XML file contains parameters.