edu.jhu.cs.cisst.vent.converter.processing
Class ConvertImageDataToPImage

java.lang.Object
  extended by edu.jhu.cs.cisst.vent.converter.processing.ConvertImageDataToPImage
All Implemented Interfaces:
Converter<ImageData,PImage>, ConvertImageData<PImage>

public class ConvertImageDataToPImage
extends java.lang.Object
implements ConvertImageData<PImage>

The Class ConvertImageDataToPImage.


Constructor Summary
ConvertImageDataToPImage()
           
 
Method Summary
 PImage convert(ImageData source)
          Convert.
 PImage convert(ImageData source, int slice)
          Convert.
 PImage convert(ImageData source, int slice, double contrast, double brightness)
          Convert.
 PImage convert(ImageData source, int slice, int component, double contrast, double brightness)
          Convert.
 PImage convert(ImageData source, int slice, int component, double contrast, double brightness, double min, double max)
          Convert.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertImageDataToPImage

public ConvertImageDataToPImage()
Method Detail

convert

public PImage convert(ImageData source)
Description copied from interface: Converter
Convert.

Specified by:
convert in interface Converter<ImageData,PImage>
Specified by:
convert in interface ConvertImageData<PImage>
Parameters:
source - the source
Returns:
the destination type
See Also:
ConvertImageData.convert(edu.jhu.ece.iacl.jist.structures.image.ImageData)

convert

public PImage convert(ImageData source,
                      int slice)
Convert.

Parameters:
source - the source
slice - the slice
Returns:
the p image

convert

public PImage convert(ImageData source,
                      int slice,
                      double contrast,
                      double brightness)
Convert.

Parameters:
source - the source
slice - the slice
contrast - the contrast
brightness - the brightness
Returns:
the p image

convert

public PImage convert(ImageData source,
                      int slice,
                      int component,
                      double contrast,
                      double brightness)
Convert.

Parameters:
source - the source
slice - the slice
component - the component
contrast - the contrast
brightness - the brightness
Returns:
the p image

convert

public PImage convert(ImageData source,
                      int slice,
                      int component,
                      double contrast,
                      double brightness,
                      double min,
                      double max)
Convert.

Parameters:
source - the source
slice - the slice
component - the component
contrast - the contrast
brightness - the brightness
Returns:
the p image