adams.data.imagej
Class ImagePlusContainer

java.lang.Object
  extended by adams.data.image.AbstractImage<ij.ImagePlus>
      extended by adams.data.imagej.ImagePlusContainer
All Implemented Interfaces:
CloneHandler<AbstractImage<ij.ImagePlus>>, NotesHandler, MutableReportHandler<Report>, ReportHandler<Report>

public class ImagePlusContainer
extends AbstractImage<ij.ImagePlus>

Image wrapper around an ImagePlus used by ImageJ.

Version:
$Revision: 4753 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Field Summary
 
Fields inherited from class adams.data.image.AbstractImage
FIELD_FILENAME, m_Image, m_Notes, m_Report
 
Constructor Summary
ImagePlusContainer()
           
 
Method Summary
protected  ij.ImagePlus cloneImage()
          Returns a clone of the image.
 int getHeight()
          Returns the height of the image.
 int getWidth()
          Returns the width of the image.
 BufferedImage toBufferedImage()
          Turns the image into a buffered image.
 
Methods inherited from class adams.data.image.AbstractImage
getClone, getHeader, getImage, getNotes, getReport, hasReport, initialize, setImage, setReport, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImagePlusContainer

public ImagePlusContainer()
Method Detail

getWidth

public int getWidth()
Returns the width of the image.

Specified by:
getWidth in class AbstractImage<ij.ImagePlus>
Returns:
the width

getHeight

public int getHeight()
Returns the height of the image.

Specified by:
getHeight in class AbstractImage<ij.ImagePlus>
Returns:
the height

cloneImage

protected ij.ImagePlus cloneImage()
Returns a clone of the image.

Specified by:
cloneImage in class AbstractImage<ij.ImagePlus>
Returns:
the clone

toBufferedImage

public BufferedImage toBufferedImage()
Turns the image into a buffered image.

Specified by:
toBufferedImage in class AbstractImage<ij.ImagePlus>
Returns:
the buffered image


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.