|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.rsl.konrad.filtering.rampfilters.RampFilter
public abstract class RampFilter
Class to create Ramp Filters as described in Kak and Slaney 1988 (pp. 72) This class is the blue print for an arbitrary Ram Lak Filter. Subclasses implement different filterings.
Constructor Summary | |
---|---|
RampFilter()
|
Method Summary | |
---|---|
abstract RampFilter |
clone()
|
void |
configure()
Configures the object before execution |
static RampFilter[] |
getAvailableRamps()
|
double |
getCutOffFrequency()
|
abstract double |
getFilterWeight(double ku)
|
ij.ImagePlus |
getImagePlusFromRampFilter(int width)
Creates an ImagePlus to display the filter |
double |
getPhysicalPixelWidthInMilimeters()
|
ij.process.FloatProcessor |
getRampFilter(int width)
Method to generate a filter for in Fourier space given the width of the image to filter |
double[] |
getRampFilter1D(int width)
Returns the filter for one detector row as complex double array (JTransforms format) |
abstract java.lang.String |
getRampName()
|
double |
getSourceToCenterOfRotationDistance()
|
double |
getSourceToDetectorDistance()
|
boolean |
isConfigured()
Is true if the object was successfully configured |
void |
prepareForSerialization()
Sets all data objects in the serialized object to null which do not implement the Serializable interface. |
void |
setConfiguration(Configuration config)
|
void |
setCutOffFrequency(double cutOffFrequency)
|
void |
setPhysicalPixelWidthInMilimeters(double detectorWidth)
|
void |
setSourceToCenterOfRotationDistance(double sourceToCenterOfRotationDistance)
|
void |
setSourceToDetectorDistance(double sourceToDetectorDistance)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RampFilter()
Method Detail |
---|
public void setConfiguration(Configuration config)
public double getSourceToDetectorDistance()
public void setSourceToDetectorDistance(double sourceToDetectorDistance)
public double getSourceToCenterOfRotationDistance()
public void setSourceToCenterOfRotationDistance(double sourceToCenterOfRotationDistance)
public double getCutOffFrequency()
public void setCutOffFrequency(double cutOffFrequency)
public double getPhysicalPixelWidthInMilimeters()
public void setPhysicalPixelWidthInMilimeters(double detectorWidth)
public abstract java.lang.String getRampName()
public double[] getRampFilter1D(int width)
width
- the width of the detector row
public ij.ImagePlus getImagePlusFromRampFilter(int width)
width
- width of the image
public ij.process.FloatProcessor getRampFilter(int width)
width
- the width of the input image
public abstract double getFilterWeight(double ku)
public abstract RampFilter clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static RampFilter[] getAvailableRamps()
public boolean isConfigured()
GUIConfigurable
isConfigured
in interface GUIConfigurable
public void configure() throws java.lang.Exception
GUIConfigurable
configure
in interface GUIConfigurable
java.lang.Exception
- may happenpublic void prepareForSerialization()
SafeSerializable
prepareForSerialization
in interface SafeSerializable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |