public class ROIBundle extends java.lang.Object implements ROIFinder
Constructor and Description |
---|
ROIBundle() |
ROIBundle(ROIFinder roiFinder) |
ROIBundle(ROIFinder roiFinder,
DatasetOperation preprocessor) |
Modifier and Type | Method and Description |
---|---|
ROIFinder |
getFinder() |
java.util.Map<java.lang.String,java.lang.String> |
getMetadata() |
java.lang.String |
getMetadataEntry(java.lang.String key) |
java.util.Map<java.lang.String,java.lang.Object> |
getObjectMap()
Creates a map of the important fields for the instance, suitable for serialization.
|
DatasetOperation |
getPreproc() |
long |
getSerializationVersion()
Returns the current version of the serialization format.
|
int |
getVersion()
Returns the current class version.
|
void |
initCurrentVersion(java.util.Map<java.lang.String,java.lang.Object> objectMap)
Initializes an instance with a current-version object graph.
|
boolean |
isROI(Dataset dataset)
Examine and reports on whether the data appears to contain a Region Of Interest (ROI).
|
boolean |
isROI(double[] data)
Examine and reports on whether the data appears to contain a Region Of Interest (ROI).
|
void |
setFinder(ROIFinder finder) |
void |
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata) |
void |
setMetadataEntry(java.lang.String key,
java.lang.String val) |
void |
setPreproc(DatasetOperation preproc) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, initPreviousVersion, initUnknownVersion, load, read, save, write
public ROIBundle(ROIFinder roiFinder, DatasetOperation preprocessor)
public ROIBundle(ROIFinder roiFinder)
public ROIBundle()
public java.lang.String getMetadataEntry(java.lang.String key)
public void setMetadataEntry(java.lang.String key, java.lang.String val)
public boolean isROI(double[] data)
public boolean isROI(Dataset dataset)
public long getSerializationVersion()
ObjectMap
getSerializationVersion
in interface ObjectMap
public int getVersion()
ObjectMap
getVersion
in interface ObjectMap
public java.util.Map<java.lang.String,java.lang.Object> getObjectMap()
ObjectMap
getObjectMap
in interface ObjectMap
public void initCurrentVersion(java.util.Map<java.lang.String,java.lang.Object> objectMap)
ObjectMap
initCurrentVersion
in interface ObjectMap
objectMap
- object graph for initializationpublic ROIFinder getFinder()
public void setFinder(ROIFinder finder)
public DatasetOperation getPreproc()
public void setPreproc(DatasetOperation preproc)
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
public void setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)