public class SinogramWeightingTool extends ParkerWeightingTool implements ConfigFileParser
Constructor and Description |
---|
SinogramWeightingTool() |
Modifier and Type | Method and Description |
---|---|
Grid2D |
applyToolToImage(Grid2D imageProcessor)
applies the Sinogram Weights to the Image.
|
IndividualImageFilteringTool |
clone()
All ImageFilteringTools need to be Cloneable in order to enable multiple processor usage.
|
void |
configure()
Configures the object before execution
|
java.lang.String |
getBibtexCitation()
Returns the citation in bibTex format
|
int |
getDetectorWidth() |
java.lang.String |
getMedlineCitation()
Returns the citation in Medline format
|
int |
getNumberOfProjections() |
boolean |
getSuccess()
is true if the reading was successful.
|
java.lang.String |
getToolName()
returns the name of the actual tool which was used.
|
boolean |
isDeviceDependent()
Is used to compensate ambiguities caused by double rays.
|
void |
readConfigFile(java.lang.String filename)
Reads the configuration from the file denoted by filename
|
void |
setConfiguration(Configuration config) |
void |
setDetectorWidth(int detectorWidth) |
void |
setNumberOfProjections(int numberOfProjections) |
computeParkerWeights1D, computeParkerWeights1D, computeScanRange, getPixelDimensionX, getPrimaryAngles, getSourceToDetectorDistance, linearWeight, normalizePrimaryAngleRange, setPixelDimensionX, setPrimaryAngles, setSourceToDetectorDistance
getFilteredImage, getImageIndex, getProcessName, prepareForSerialization, run, setImageIndex, setImageProcessor, setLatch
getFilterTools, isConfigured, setConfigured, toString
public int getNumberOfProjections()
getNumberOfProjections
in class ParkerWeightingTool
public void setNumberOfProjections(int numberOfProjections)
setNumberOfProjections
in class ParkerWeightingTool
public int getDetectorWidth()
getDetectorWidth
in class ParkerWeightingTool
public void setDetectorWidth(int detectorWidth)
setDetectorWidth
in class ParkerWeightingTool
public void setConfiguration(Configuration config)
setConfiguration
in class ParkerWeightingTool
public IndividualImageFilteringTool clone()
IndividualImageFilteringTool
clone
in class ParkerWeightingTool
public java.lang.String getToolName()
ImageFilteringTool
getToolName
in class ParkerWeightingTool
public Grid2D applyToolToImage(Grid2D imageProcessor)
applyToolToImage
in class ParkerWeightingTool
imageProcessor
- the ImageProcessorpublic void configure() throws java.lang.Exception
GUIConfigurable
configure
in interface GUIConfigurable
configure
in class ParkerWeightingTool
java.lang.Exception
- may happenpublic java.lang.String getBibtexCitation()
Citeable
getBibtexCitation
in interface Citeable
getBibtexCitation
in class ParkerWeightingTool
public java.lang.String getMedlineCitation()
Citeable
getMedlineCitation
in interface Citeable
getMedlineCitation
in class ParkerWeightingTool
public boolean isDeviceDependent()
isDeviceDependent
in class ParkerWeightingTool
public boolean getSuccess()
ConfigFileParser
getSuccess
in interface ConfigFileParser
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 reading