edu.stanford.rsl.konrad.phantom.renderer
Class RampProjectionPhantomRenderer

java.lang.Object
  extended by edu.stanford.rsl.konrad.phantom.renderer.PhantomRenderer
      extended by edu.stanford.rsl.konrad.phantom.renderer.RampProjectionPhantomRenderer
All Implemented Interfaces:
Citeable, GUIConfigurable, ProjectionSource

public class RampProjectionPhantomRenderer
extends PhantomRenderer

Class which generates an intensity ramp across the image in each image of the stack. Useful to investigate intensity-dependent processing.

Author:
akmaier

Constructor Summary
RampProjectionPhantomRenderer()
           
 
Method Summary
 void configure()
          Configures the object before execution
 ij.ImagePlus createPhantom()
          Method to start the voxelization of the phantom.
 java.lang.String getBibtexCitation()
          Returns the citation in bibTex format
 int getHeight()
           
 java.lang.String getMedlineCitation()
          Returns the citation in Medline format
 ij.process.ImageProcessor getNextProjection()
          Returns the next projection.
 double getSlope()
           
 int getStack()
           
 int getWidth()
          returns the width
 void setHeight(int height)
           
 void setSlope(double slope)
           
 void setStack(int stack)
           
 void setWidth(int width)
          sets the width of the image to be rendered
 java.lang.String toString()
          Returns the name of the phantom
 
Methods inherited from class edu.stanford.rsl.konrad.phantom.renderer.PhantomRenderer
createEmptyVolume, getCurrentProjectionNumber, getNextProjection, getPhantoms, isConfigured
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RampProjectionPhantomRenderer

public RampProjectionPhantomRenderer()
Method Detail

createPhantom

public ij.ImagePlus createPhantom()
Description copied from class: PhantomRenderer
Method to start the voxelization of the phantom.

Specified by:
createPhantom in class PhantomRenderer
Returns:
the phantom

setWidth

public void setWidth(int width)
sets the width of the image to be rendered

Parameters:
width - the image width

getWidth

public int getWidth()
returns the width

Returns:
the width

setHeight

public void setHeight(int height)

getHeight

public int getHeight()

setStack

public void setStack(int stack)

getStack

public int getStack()

setSlope

public void setSlope(double slope)

getSlope

public double getSlope()

toString

public java.lang.String toString()
Description copied from class: PhantomRenderer
Returns the name of the phantom

Specified by:
toString in class PhantomRenderer

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

Throws:
java.lang.Exception - may happen

getNextProjection

public ij.process.ImageProcessor getNextProjection()
Description copied from interface: ProjectionSource
Returns the next projection. Note that this call may be out of sync with getCurrentProjectionNumber()

Returns:
the projection
See Also:
ProjectionSource.getCurrentProjectionNumber(), ProjectionSource.getNextProjection(IndividualImagePipelineFilteringTool tool)