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, waitinit, initPreviousVersion, initUnknownVersion, load, read, save, writepublic 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()
ObjectMapgetSerializationVersion in interface ObjectMappublic int getVersion()
ObjectMapgetVersion in interface ObjectMappublic java.util.Map<java.lang.String,java.lang.Object> getObjectMap()
ObjectMapgetObjectMap in interface ObjectMappublic void initCurrentVersion(java.util.Map<java.lang.String,java.lang.Object> objectMap)
ObjectMapinitCurrentVersion in interface ObjectMapobjectMap - 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)