|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.rsl.konrad.filtering.ImageFilteringTool
edu.stanford.rsl.konrad.filtering.IndividualImageFilteringTool
edu.stanford.rsl.konrad.filtering.redundancy.ParkerWeightingTool
public class ParkerWeightingTool
Implementation of Parker weights. Note that you may require a HorizontalFlippingTool applied before and after the weights depending on the rotation direction of the source detector pair.
Constructor Summary | |
---|---|
ParkerWeightingTool()
|
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(double beta)
Returns the row weights for the given angle (in radians); |
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 |
int |
getDetectorWidth()
|
java.lang.String |
getMedlineCitation()
Returns the citation in Medline format |
int |
getNumberOfProjections()
|
double |
getPixelDimensionX()
|
double[] |
getPrimaryAngles()
|
double |
getSourceToDetectorDistance()
|
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. |
static double |
linearWeight(double alpha,
double beta,
double delta)
Implements a linear weighting which complies with weight(alpha, beta) + weight (- alpha, beta - Math.PI + (2*alpha)) = 1 (Sum of the weight for opposing rays is 1). |
void |
setConfiguration(Configuration config)
|
void |
setDetectorWidth(int detectorWidth)
|
void |
setNumberOfProjections(int numberOfProjections)
|
void |
setPixelDimensionX(double pixelDimensionX)
|
void |
setPrimaryAngles(double[] primaryAngles)
|
void |
setSourceToDetectorDistance(double sourceToDetectorDistance)
|
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 |
---|
public ParkerWeightingTool()
Method Detail |
---|
public int getNumberOfProjections()
public void setNumberOfProjections(int numberOfProjections)
public int getDetectorWidth()
public void setDetectorWidth(int detectorWidth)
public double getPixelDimensionX()
public void setPixelDimensionX(double pixelDimensionX)
public double getSourceToDetectorDistance()
public void setSourceToDetectorDistance(double sourceToDetectorDistance)
public double[] getPrimaryAngles()
public void setPrimaryAngles(double[] primaryAngles)
public void setConfiguration(Configuration config)
public IndividualImageFilteringTool clone()
IndividualImageFilteringTool
clone
in class IndividualImageFilteringTool
public java.lang.String getToolName()
ImageFilteringTool
getToolName
in class ImageFilteringTool
public double[] computeParkerWeights1D(int projNum)
projNum
- the projection number
public double[] computeParkerWeights1D(double beta)
beta
- the angle
public static double linearWeight(double alpha, double beta, double delta)
alpha
- the angle of the row element within the interval [-delta,delta]beta
- the current rotation angle of the source detector pair [0, Math.PI + 2delta]delta
- the half fan angle;
public ij.process.ImageProcessor applyToolToProcessor(ij.process.ImageProcessor imageProcessor)
applyToolToProcessor
in class IndividualImageFilteringTool
imageProcessor
- the ImageProcessor
public void configure() throws java.lang.Exception
GUIConfigurable
java.lang.Exception
- may happenpublic java.lang.String getBibtexCitation()
Citeable
public java.lang.String getMedlineCitation()
Citeable
public boolean isDeviceDependent()
isDeviceDependent
in class ImageFilteringTool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |