public class QuickDetectConfiguration extends CellDetectionConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_IDENTIFIER
The identifier for this configuration.
|
Constructor and Description |
---|
QuickDetectConfiguration()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
QuickDetectConfiguration |
clone() |
boolean |
equals(java.lang.Object obj) |
double |
getDetectionThreshold()
Returns the detection threshold (0-1) of the algorithm.
|
int |
getInternalBinning()
Returns the binning internally used by the algorithm.
|
int |
getMaxCellDiameter()
Returns the maximal diameter in pixels a cell must have.
|
int |
getMinCellDiameter()
Returns the minimal diameter in pixels a cell must have.
|
TableDefinition |
getProducedTableDefinition()
Returns the definition of the table layout of the tables produced by this producer, e.g.
|
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
int |
hashCode() |
boolean |
isGenerateLabelImage()
Returns true if the detection algorithm with the current configuration generates a label image.
|
void |
setDetectionThreshold(double detectionThreshold)
Sets the detection threshold (0-1) of the algorithm.
|
void |
setGenerateLabelImage(boolean generateDetectionImage)
Set to true if a label image should be generated.
|
void |
setInternalBinning(int internalBinning)
Sets the binning internally used by the algorithm.
|
void |
setMaxCellDiameter(int maxCellDiameter)
Sets the maximal diameter in pixels a cell must have.
|
void |
setMinCellDiameter(int minCellDiameter)
Sets the minimal diameter in pixels a cell must have.
|
checkConfiguration
public static final java.lang.String TYPE_IDENTIFIER
public QuickDetectConfiguration clone()
clone
in class CellDetectionConfiguration
public void setInternalBinning(int internalBinning)
internalBinning
- public int getInternalBinning()
public void setDetectionThreshold(double detectionThreshold)
detectionThreshold
- public double getDetectionThreshold()
public void setMinCellDiameter(int minCellDiameter)
minCellDiameter
- public int getMinCellDiameter()
public void setMaxCellDiameter(int maxCellDiameter)
maxCellDiameter
- public int getMaxCellDiameter()
public java.lang.String getTypeIdentifier()
Configuration
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void setGenerateLabelImage(boolean generateDetectionImage)
generateDetectionImage
- True if detection image should be generated, otherwise false.public boolean isGenerateLabelImage()
CellDetectionConfiguration
isGenerateLabelImage
in class CellDetectionConfiguration
public TableDefinition getProducedTableDefinition()
TableProducerConfiguration
TableProducer.getProducedTableDefinition()
.