edu.stanford.rsl.konrad.phantom.workers
Class DiracProjectionPhantom

java.lang.Object
  extended by edu.stanford.rsl.konrad.phantom.workers.SliceWorker
      extended by edu.stanford.rsl.konrad.phantom.workers.DiracProjectionPhantom
All Implemented Interfaces:
Citeable, GUIConfigurable, NamedParallelizableRunnable, ParallelizableRunnable, java.lang.Cloneable, java.lang.Runnable

public class DiracProjectionPhantom
extends SliceWorker

Phantom to create a Dirac pulse in the center of the projection. Useful to investigate frequency space.

Author:
akmaier

Constructor Summary
DiracProjectionPhantom()
           
 
Method Summary
 SliceWorker clone()
           
 void configure()
          Configures the object before execution
static double diracFunction(double x, double alpha)
          Evaluates the delta function at x given alpha.
 java.lang.String getBibtexCitation()
          Returns the citation in bibTex format
 java.lang.String getMedlineCitation()
          Returns the citation in Medline format
 java.lang.String getProcessName()
           
 java.lang.String toString()
           
 void workOnSlice(ij.process.ImageProcessor fl, int k)
          Method will voxelize the phantom into the current slice
 
Methods inherited from class edu.stanford.rsl.konrad.phantom.workers.SliceWorker
copyInternalElementsTo, getAvailableSliceWorkers, getAvailableWorkersAsString, getWorkerFromString, isConfigured, isShowStatus, run, setImagePlus, setLatch, setShowStatus, setSliceList
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiracProjectionPhantom

public DiracProjectionPhantom()
Method Detail

workOnSlice

public void workOnSlice(ij.process.ImageProcessor fl,
                        int k)
Description copied from class: SliceWorker
Method will voxelize the phantom into the current slice

Specified by:
workOnSlice in class SliceWorker
Parameters:
fl - the volume slice
k - the slice number

diracFunction

public static double diracFunction(double x,
                                   double alpha)
Evaluates the delta function at x given alpha.

Parameters:
x - the x coordinate
alpha - the shape of the pulse
Returns:
value

toString

public java.lang.String toString()
Overrides:
toString in class SliceWorker

getBibtexCitation

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

Returns:
citation as String

getMedlineCitation

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

Returns:
citation as String

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 SliceWorker
Throws:
java.lang.Exception - may happen

clone

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

getProcessName

public java.lang.String getProcessName()