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

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

public class AnalyticPhantomProjectorWorker
extends SliceWorker

Projects arbitrarily defined phantoms to a detector using ray casting.
The pixel value on the detector is determined by the absorption model.

If you change anything in this class, notify the conrad-dev mailing list.

Author:
Rotimi X Ojo, Andreas Maier

Constructor Summary
AnalyticPhantomProjectorWorker()
           
 
Method Summary
 SliceWorker clone()
           
 void configure()
          Configures the object before execution
 java.lang.String getBibtexCitation()
          Returns the citation in bibTex format
 java.lang.String getMedlineCitation()
          Returns the citation in Medline format
 java.lang.String getProcessName()
           
 void workOnSlice(ij.process.ImageProcessor slice, int sliceNumber)
          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, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnalyticPhantomProjectorWorker

public AnalyticPhantomProjectorWorker()
Method Detail

workOnSlice

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

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

clone

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

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

getProcessName

public java.lang.String getProcessName()

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