public class AutomaticExposureControlCompensationTool extends IndividualImageFilteringTool implements ConfigFileParser
Constructor and Description |
---|
AutomaticExposureControlCompensationTool() |
Modifier and Type | Method and Description |
---|---|
Grid2D |
applyToolToImage(Grid2D imageProcessor)
Is called in every thread to apply the tool to an individual ImageProcessor
|
IndividualImageFilteringTool |
clone()
Method to copy one instance of this ImageFilteringTool.
|
boolean |
computeAdjustmentInformation()
Computes the adjustment information from given input files.
|
double |
computelogI0(int projection) |
double |
computelogLUT(int projection) |
void |
configure()
Configures the object before execution
|
java.lang.String |
getBibtexCitation()
Returns the citation in bibTex format
|
java.lang.String |
getMedlineCitation()
Returns the citation in Medline format
|
boolean |
getSuccess()
is true if the reading was successful.
|
java.lang.String |
getToolName()
Returns the name of the Filter
|
boolean |
isDeviceDependent()
Automatic Exposure Control is somewhat device dependent.
|
void |
readBetaFile(BetaConfigFile beta) |
void |
readConfigFile(java.lang.String filename)
Reads the configuration from the file denoted by filename
|
void |
setAdjustmentInformation(java.lang.Object[] adjustmentInformation)
The Algorithm requires information how to correct for the automatic exposure control.
|
void |
setConfiguration(Configuration config) |
getFilteredImage, getImageIndex, getProcessName, prepareForSerialization, run, setImageIndex, setImageProcessor, setLatch
getFilterTools, isConfigured, setConfigured, toString
public AutomaticExposureControlCompensationTool()
public java.lang.String getToolName()
getToolName
in class ImageFilteringTool
public void setAdjustmentInformation(java.lang.Object[] adjustmentInformation)
adjustmentInformation
- This is the required Information: An Array of Objects. Each object is a double array with two values slope and intercept for the correction for each image frame.public boolean computeAdjustmentInformation()
java.io.IOException
- may occurpublic double computelogI0(int projection) throws java.io.IOException
java.io.IOException
public void readBetaFile(BetaConfigFile beta) throws java.io.IOException
java.io.IOException
public double computelogLUT(int projection) throws java.io.IOException
java.io.IOException
public void setConfiguration(Configuration config) throws java.io.IOException
java.io.IOException
public Grid2D applyToolToImage(Grid2D imageProcessor) throws java.lang.Exception
IndividualImageFilteringTool
applyToolToImage
in class IndividualImageFilteringTool
imageProcessor
- the ImageProcessorjava.lang.Exception
public IndividualImageFilteringTool clone()
clone
in class IndividualImageFilteringTool
public void configure()
GUIConfigurable
configure
in interface GUIConfigurable
public java.lang.String getBibtexCitation()
Citeable
getBibtexCitation
in interface Citeable
public java.lang.String getMedlineCitation()
Citeable
getMedlineCitation
in interface Citeable
public void readConfigFile(java.lang.String filename) throws java.io.IOException
ConfigFileParser
readConfigFile
in interface ConfigFileParser
filename
- the file namejava.io.IOException
- may happen during readingpublic boolean getSuccess()
ConfigFileParser
getSuccess
in interface ConfigFileParser
public boolean isDeviceDependent()
isDeviceDependent
in class ImageFilteringTool