public class CellDetectionJobConfiguration extends JobConfiguration implements TableProducerConfiguration, JobContainerConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DETECTED_CELLS_IMAGE_SUFFIX
The suffix added to the image save name to identify the detected cell image.
|
static java.lang.String |
TYPE_IDENTIFIER
The identifier for this measurement type.
|
Constructor and Description |
---|
CellDetectionJobConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addJob(JobConfiguration job)
Adds a job to the job list.
|
void |
addJob(JobConfiguration job,
int index)
Adds a job to the job list.
|
void |
clearJobs()
Removes all jobs from the job list.
|
CellDetectionJobConfiguration |
clone() |
java.lang.String |
getCellTableSaveName()
Returns the name under which the cell table should be saved (without extension).
|
java.lang.String |
getControlImageSaveName()
Returns the name under which the control image should be saved.
|
java.lang.String |
getDescription()
Returns a short description of this job.
|
CellDetectionConfiguration |
getDetectionAlgorithmConfiguration()
Return the configuration of the cell detection algorithm to use.
|
JobConfiguration |
getDetectionJob()
Returns the job which is used to produce the cell detection image.
|
JobConfiguration[] |
getJobs()
Returns the job list which might be edited by the caller.
|
long |
getMinimalTimeMS()
Returns the minimal time (in ms) the execution of the job should take.
|
TableDefinition |
getProducedTableDefinition()
Returns the definition of the table layout of the tables produced by this producer, e.g.
|
java.lang.String |
getSegmentationImageSaveName()
Returns the name under which the segmentation image should be saved.
|
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
CellVisualizationConfiguration |
getVisualizationAlgorithmConfiguration()
Returns the configuration of the cell visualization algorithm to use.
|
void |
removeJobAt(int index)
Removes the job at the given index.
|
void |
setCellTableSaveName(java.lang.String name)
Sets the name under which the cell-table should be saved.
|
void |
setControlImageSaveName(java.lang.String name)
Sets the name under which the control image should be saved.
|
void |
setDetectionAlgorithmConfiguration(CellDetectionConfiguration detectionAlgorithmConfiguration)
Sets the configuration of the cell detection algorithm to use.
|
void |
setDetectionJob(JobConfiguration detectionJob)
Sets the job which should be used to create the image which is used to detect the cells.
|
void |
setJobs(JobConfiguration[] jobs)
Sets the job list to the given list.
|
void |
setMinimalTimeMS(long minimalTimeMS)
Sets the minimal time (in ms) the execution of the job should take.
|
void |
setSegmentationImageSaveName(java.lang.String name)
Sets the name under which the segmentation image should be saved.
|
void |
setVisualizationAlgorithmConfiguration(CellVisualizationConfiguration visualizationAlgorithmConfiguration)
Set the configuration of the cell visualization algorithm to use.
|
checkConfiguration, toString
public static final java.lang.String DETECTED_CELLS_IMAGE_SUFFIX
public static final java.lang.String TYPE_IDENTIFIER
public java.lang.String getTypeIdentifier()
Configuration
getTypeIdentifier
in interface Configuration
public JobConfiguration[] getJobs()
JobContainerConfiguration
getJobs
in interface JobContainerConfiguration
public void setJobs(JobConfiguration[] jobs)
JobContainerConfiguration
setJobs
in interface JobContainerConfiguration
jobs
- New job list.public void addJob(JobConfiguration job)
JobContainerConfiguration
addJob
in interface JobContainerConfiguration
job
- Job to be added.public void clearJobs()
JobContainerConfiguration
clearJobs
in interface JobContainerConfiguration
public void removeJobAt(int index)
JobContainerConfiguration
removeJobAt
in interface JobContainerConfiguration
index
- Index of the job to be removed.public void addJob(JobConfiguration job, int index)
JobContainerConfiguration
addJob
in interface JobContainerConfiguration
job
- Job to be added.index
- Index where the job should be added.public JobConfiguration getDetectionJob()
public void setDetectionJob(JobConfiguration detectionJob)
detectionJob
- Image producing job for cell detection algorithm, or null.public java.lang.String getControlImageSaveName()
public void setControlImageSaveName(java.lang.String name)
name
- Name for the image, or null.public java.lang.String getSegmentationImageSaveName()
public void setSegmentationImageSaveName(java.lang.String name)
name
- Name for the image, or null.public void setCellTableSaveName(java.lang.String name)
name
- Name for the cell table (without extension), or null.public java.lang.String getCellTableSaveName()
public void setDetectionAlgorithmConfiguration(CellDetectionConfiguration detectionAlgorithmConfiguration)
detectionAlgorithmConfiguration
- Configuration of the algorithm.public CellDetectionConfiguration getDetectionAlgorithmConfiguration()
public CellVisualizationConfiguration getVisualizationAlgorithmConfiguration()
public void setVisualizationAlgorithmConfiguration(CellVisualizationConfiguration visualizationAlgorithmConfiguration)
visualizationAlgorithmConfiguration
- Cell visualization configuration, or null.public java.lang.String getDescription()
JobConfiguration
getDescription
in class JobConfiguration
public CellDetectionJobConfiguration clone()
clone
in class JobConfiguration
public void setMinimalTimeMS(long minimalTimeMS)
minimalTimeMS
- The minimal time in ms the execution of the job has to take, or -1.public long getMinimalTimeMS()
public TableDefinition getProducedTableDefinition()
TableProducerConfiguration
TableProducer.getProducedTableDefinition()
.getProducedTableDefinition
in interface TableProducerConfiguration