public class LabelVisualizerConfiguration extends CellVisualizationConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIGURATION_ID
The identifier for this configuration.
|
Constructor and Description |
---|
LabelVisualizerConfiguration()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration()
Checks the current state of the configuration.
|
java.lang.Object |
clone() |
java.lang.String[] |
getImageSaveNames()
Should return the names of all images produced by this job and which should be saved to disk.
|
int |
getNumberOfImages()
Returns the number of images which get produced per evaluation of a job initialized with this configuration.
|
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
boolean |
isDrawCellInformation()
Returns true if information about each detected cell is drawn next to the cell.
|
boolean |
isDrawIntoOrgImage()
Returns if the borders of the cells should be drawn into the original image (true), or the shape of the cell into a new image (false).
|
void |
setDrawCellInformation(boolean drawCellInformation)
Set to true to draw information about each detected cell next to the cell.
|
void |
setDrawIntoOrgImage(boolean drawIntoOrgImage)
Sets if the borders of the cells should be drawn into the original image (true), or the shape of the cell into a new image (false).
|
public static final java.lang.String CONFIGURATION_ID
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class CellVisualizationConfiguration
java.lang.CloneNotSupportedException
public java.lang.String getTypeIdentifier()
Configuration
public void setDrawCellInformation(boolean drawCellInformation)
drawCellInformation
- True to draw information, false otherwise.public boolean isDrawCellInformation()
public void setDrawIntoOrgImage(boolean drawIntoOrgImage)
drawIntoOrgImage
- True to draw into original image.public boolean isDrawIntoOrgImage()
public void checkConfiguration() throws ConfigurationException
Configuration
ConfigurationException
is thrown describing the error, and what has to be changed in the configuration, by the user,
such that it becomes valid. This error can then e.g. be displayed to the user
(see ConfigurationAddonTools.displayConfigurationInvalid(ConfigurationException, YouScopeClient).checkConfiguration
in interface Configuration
checkConfiguration
in class CellVisualizationConfiguration
ConfigurationException
public java.lang.String[] getImageSaveNames()
ImageProducerConfiguration
public int getNumberOfImages()
ImageProducerConfiguration