edu.stanford.rsl.konrad.cuda
Class CUDABackProjector

java.lang.Object
  extended by edu.stanford.rsl.konrad.filtering.ImageFilteringTool
      extended by edu.stanford.rsl.konrad.filtering.multiprojection.MultiProjectionFilter
          extended by edu.stanford.rsl.konrad.reconstruction.ReconstructionFilter
              extended by edu.stanford.rsl.konrad.reconstruction.FBPReconstructionFilter
                  extended by edu.stanford.rsl.konrad.reconstruction.VOIBasedReconstructionFilter
                      extended by edu.stanford.rsl.konrad.cuda.CUDABackProjector
All Implemented Interfaces:
Citeable, GUIConfigurable, SafeSerializable, ProjectionSink, java.io.Serializable, java.lang.Cloneable, java.lang.Runnable

public class CUDABackProjector
extends VOIBasedReconstructionFilter
implements java.lang.Runnable

See Also:
Serialized Form

Constructor Summary
CUDABackProjector()
           
 
Method Summary
 void backproject(ij.process.ImageProcessor projection, int projectionNumber)
          Backprojects a single projection into the reconstruction space.
 void configure()
          Configures the object before execution
 void cudaRun()
           
 java.lang.String getBibtexCitation()
          Returns the citation in bibTex format
 java.lang.String getMedlineCitation()
          Returns the citation in Medline format
 java.lang.String getName()
           
 java.lang.String getToolName()
          returns the name of the actual tool which was used.
 void prepareForSerialization()
          Sets all data objects in the serialized object to null which do not implement the Serializable interface.
 void reconstructOffline(ij.ImagePlus imagePlus)
           
 void reset()
           
 void waitForResult()
           
 
Methods inherited from class edu.stanford.rsl.konrad.reconstruction.VOIBasedReconstructionFilter
clone, close, isFastVOIMode, setConfiguration, setFastVOIMode, setMaxI, setMaximumVolumeOfInterest, setMaximumVolumeOfInterest
 
Methods inherited from class edu.stanford.rsl.konrad.reconstruction.FBPReconstructionFilter
isDeviceDependent
 
Methods inherited from class edu.stanford.rsl.konrad.reconstruction.ReconstructionFilter
applyHounsfieldScaling, getGeometry, initializeProjectionVolume, setProjectionVolume, updateVolume
 
Methods inherited from class edu.stanford.rsl.konrad.filtering.multiprojection.MultiProjectionFilter
feedFilter, getContext, process, run, setContext, setShowStatus, setSink, start
 
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
 
Methods inherited from interface java.lang.Runnable
run
 

Constructor Detail

CUDABackProjector

public CUDABackProjector()
Method Detail

prepareForSerialization

public void prepareForSerialization()
Description copied from interface: SafeSerializable
Sets all data objects in the serialized object to null which do not implement the Serializable interface. It can also be used to save space in the serialized form. Configuration parameters are preserved. Processing data is discarded.

Specified by:
prepareForSerialization in interface SafeSerializable
Overrides:
prepareForSerialization in class VOIBasedReconstructionFilter

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

reset

public void reset()

getName

public java.lang.String getName()
Specified by:
getName in interface ProjectionSink
Overrides:
getName in class VOIBasedReconstructionFilter

getBibtexCitation

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

Specified by:
getBibtexCitation in interface Citeable
Overrides:
getBibtexCitation in class VOIBasedReconstructionFilter
Returns:
citation as String

getMedlineCitation

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

Specified by:
getMedlineCitation in interface Citeable
Overrides:
getMedlineCitation in class VOIBasedReconstructionFilter
Returns:
citation as String

waitForResult

public void waitForResult()

backproject

public void backproject(ij.process.ImageProcessor projection,
                        int projectionNumber)
                 throws java.lang.Exception
Description copied from class: FBPReconstructionFilter
Backprojects a single projection into the reconstruction space.

Overrides:
backproject in class VOIBasedReconstructionFilter
Parameters:
projection - the projection to backproject
projectionNumber - the number of the projection in the data set. This is used to identify the correct projection matrix.
Throws:
java.lang.Exception - may happen.

cudaRun

public void cudaRun()

reconstructOffline

public void reconstructOffline(ij.ImagePlus imagePlus)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getToolName

public java.lang.String getToolName()
Description copied from class: ImageFilteringTool
returns the name of the actual tool which was used.

Overrides:
getToolName in class VOIBasedReconstructionFilter
Returns:
the name of the tool as string.