edu.stanford.rsl.science.analysis
Class EstimateRampFilterTool
java.lang.Object
edu.stanford.rsl.science.analysis.BinaryImageAnalysisTool
edu.stanford.rsl.science.analysis.EstimateRampFilterTool
- All Implemented Interfaces:
- NamedParallelizableRunnable, ParallelizableRunnable, java.lang.Cloneable, java.lang.Runnable
public class EstimateRampFilterTool
- extends BinaryImageAnalysisTool
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EstimateRampFilterTool
public EstimateRampFilterTool()
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 ImagePlussecond
- 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()