edu.stanford.rsl.konrad.filtering.redundancy
Class WesargWeightingTool

java.lang.Object
  extended by edu.stanford.rsl.konrad.filtering.ImageFilteringTool
      extended by edu.stanford.rsl.konrad.filtering.IndividualImageFilteringTool
          extended by edu.stanford.rsl.konrad.filtering.redundancy.ParkerWeightingTool
              extended by edu.stanford.rsl.konrad.filtering.redundancy.WesargWeightingTool
All Implemented Interfaces:
Citeable, GUIConfigurable, SafeSerializable, NamedParallelizableRunnable, ParallelizableRunnable, java.io.Serializable, java.lang.Cloneable, java.lang.Runnable

public class WesargWeightingTool
extends ParkerWeightingTool

See Also:
Serialized Form

Constructor Summary
WesargWeightingTool()
           
 
Method Summary
 ij.process.ImageProcessor applyToolToProcessor(ij.process.ImageProcessor imageProcessor)
          Applies the tool to the given image processor.
 IndividualImageFilteringTool clone()
          All ImageFilteringTools need to be Cloneable in order to enable multiple processor usage.
 double[] computeParkerWeights1D(int projNum)
          computes the set of Parker weights for the given 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
 java.lang.String getToolName()
          returns the name of the actual tool which was used.
 
Methods inherited from class edu.stanford.rsl.konrad.filtering.redundancy.ParkerWeightingTool
computeParkerWeights1D, getDetectorWidth, getNumberOfProjections, getPixelDimensionX, getPrimaryAngles, getSourceToDetectorDistance, isDeviceDependent, linearWeight, setConfiguration, setDetectorWidth, setNumberOfProjections, setPixelDimensionX, setPrimaryAngles, setSourceToDetectorDistance
 
Methods inherited from class edu.stanford.rsl.konrad.filtering.IndividualImageFilteringTool
applyToolToProcessor, getFilteredImageProcessor, getImageIndex, getProcessName, prepareForSerialization, run, setImageIndex, setImageProcessor, setLatch
 
Methods inherited from class edu.stanford.rsl.konrad.filtering.ImageFilteringTool
getFilterTools, isConfigured, setConfigured, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WesargWeightingTool

public WesargWeightingTool()
Method Detail

clone

public IndividualImageFilteringTool clone()
Description copied from class: IndividualImageFilteringTool
All ImageFilteringTools need to be Cloneable in order to enable multiple processor usage.

Overrides:
clone in class ParkerWeightingTool

getToolName

public java.lang.String getToolName()
Description copied from class: ImageFilteringTool
returns the name of the actual tool which was used.

Overrides:
getToolName in class ParkerWeightingTool
Returns:
the name of the tool as string.

computeParkerWeights1D

public double[] computeParkerWeights1D(int projNum)
Description copied from class: ParkerWeightingTool
computes the set of Parker weights for the given projection

Overrides:
computeParkerWeights1D in class ParkerWeightingTool
Parameters:
projNum - the projection number
Returns:
the weights

applyToolToProcessor

public ij.process.ImageProcessor applyToolToProcessor(ij.process.ImageProcessor imageProcessor)
Description copied from class: ParkerWeightingTool
Applies the tool to the given image processor.

Overrides:
applyToolToProcessor in class ParkerWeightingTool
Parameters:
imageProcessor - the ImageProcessor
Returns:
the filtered instance of the ImageProcessor

configure

public void configure()
               throws java.lang.Exception
Description copied from interface: GUIConfigurable
Configures the object before execution

Specified by:
configure in interface GUIConfigurable
Overrides:
configure in class ParkerWeightingTool
Throws:
java.lang.Exception - may happen

getBibtexCitation

public java.lang.String getBibtexCitation()
Description copied from interface: Citeable
Returns the citation in bibTex format

Specified by:
getBibtexCitation in interface Citeable
Overrides:
getBibtexCitation in class ParkerWeightingTool
Returns:
citation as String

getMedlineCitation

public java.lang.String getMedlineCitation()
Description copied from interface: Citeable
Returns the citation in Medline format

Specified by:
getMedlineCitation in interface Citeable
Overrides:
getMedlineCitation in class ParkerWeightingTool
Returns:
citation as String