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

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

public class BoxPhantom
extends SliceWorker

Numerical phantom which consists of a box with homogeneous contents.

Author:
akmaier

Constructor Summary
BoxPhantom()
           
 
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 current, 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

BoxPhantom

public BoxPhantom()
Method Detail

workOnSlice

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

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

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()