edu.stanford.rsl.science.analysis
Class EstimateRampFilterTool

java.lang.Object
  extended by edu.stanford.rsl.science.analysis.BinaryImageAnalysisTool
      extended by edu.stanford.rsl.science.analysis.EstimateRampFilterTool
All Implemented Interfaces:
NamedParallelizableRunnable, ParallelizableRunnable, java.lang.Cloneable, java.lang.Runnable

public class EstimateRampFilterTool
extends BinaryImageAnalysisTool


Constructor Summary
EstimateRampFilterTool()
           
 
Method Summary
 BinaryImageAnalysisTool clone()
           
static double[] estimateFilter(ij.ImagePlus filteredProjections, ij.ImagePlus projections, EstimateRampFilterTool tool, boolean showStatus)
           
 double getThreshold()
           
 java.lang.String getToolName()
           
 java.lang.String interpretResult()
          This method is used to interpret the computed Result as String.
static java.lang.String interpretResult(java.lang.Object analysisResult)
           
 void prepareImages(ij.ImagePlus first, ij.ImagePlus second)
          This method is used to prepare the both image stacks to be processed as required by the analysis tool.
 void run()
           
 void setThreshold(double threshold)
           
 
Methods inherited from class edu.stanford.rsl.science.analysis.BinaryImageAnalysisTool
getAnalysisResult, getFirstImageProcessor, getProcessName, getSecondImageProcessor, setFirstImageProcessor, setLatch, setSecondImageProcessor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EstimateRampFilterTool

public EstimateRampFilterTool()
Method Detail

clone

public BinaryImageAnalysisTool clone()
Specified by:
clone in class BinaryImageAnalysisTool

interpretResult

public java.lang.String interpretResult()
Description copied from class: BinaryImageAnalysisTool
This method is used to interpret the computed Result as String.

Specified by:
interpretResult in class BinaryImageAnalysisTool
Returns:
a String representation of the result;

interpretResult

public static java.lang.String interpretResult(java.lang.Object analysisResult)

run

public void run()

estimateFilter

public static double[] estimateFilter(ij.ImagePlus filteredProjections,
                                      ij.ImagePlus projections,
                                      EstimateRampFilterTool tool,
                                      boolean showStatus)
                               throws java.lang.Exception
Throws:
java.lang.Exception

prepareImages

public void prepareImages(ij.ImagePlus first,
                          ij.ImagePlus second)
Description copied from class: BinaryImageAnalysisTool
This method is used to prepare the both image stacks to be processed as required by the analysis tool.

Specified by:
prepareImages in class BinaryImageAnalysisTool
Parameters:
first - the first ImagePlus
second - the second ImagePlus

getToolName

public java.lang.String getToolName()
Specified by:
getToolName in class BinaryImageAnalysisTool

setThreshold

public void setThreshold(double threshold)

getThreshold

public double getThreshold()