uk.ac.essex.ia.imageview.pane
Class IVDicomOpImage

java.lang.Object
  extended by java.util.Observable
      extended by uk.ac.essex.ia.imageview.pane.ImageViewerOpImage
          extended by uk.ac.essex.ia.imageview.pane.IVDicomOpImage
All Implemented Interfaces:
java.awt.image.RenderedImage, java.beans.PropertyChangeListener, java.util.EventListener, Focusable, ImageViewerConstants

public class IVDicomOpImage
extends ImageViewerOpImage

A wrapper class to generate the result image of the processing chain for window/leveling, rotation and scaling.


Field Summary
 
Fields inherited from class uk.ac.essex.ia.imageview.pane.ImageViewerOpImage
changeSupport, isFocused, level, lut, rotationAngle, rotationResult, source, tileSize, window, windowLevelResult, zoomFactor, zoomResult
 
Fields inherited from interface uk.ac.essex.ia.imageview.ImageViewerConstants
allViewsCommand, annotationCommand, currentViewCommand, defaultLevel, defaultWindow, histogramCommand, largestLevel, largestWindow, levelCommand, measurementCommand, nozoom, paramSync, RESOURCE_BASE_NAME, rotationCommand, setLayoutCommand, smallestLevel, smallestWindow, speedCommand, startCommand, statisticsCommand, stopCommand, windowCommand, zoomCommand
 
Constructor Summary
IVDicomOpImage(java.awt.image.RenderedImage source, int window, int level, int angle, double zoom)
          Constructor.
 
Method Summary
 double computeDistance(java.awt.Point start, java.awt.Point end)
          Computer the physical distance of 2 points in the displayed image.
 
Methods inherited from class uk.ac.essex.ia.imageview.pane.ImageViewerOpImage
addPropertyChangeListener, copyData, displayStatistics, firePropertyChange, getColorModel, getData, getData, getHeight, getLevel, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getRotationAngle, getSampleModel, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getWindow, getZoomFactor, isFocused, propertyChange, removePropertyChangeListener, rotationOperator, setChangedAndNotify, setFocused, setLevel, setRotation, setWindow, setZoom, transformOnROI, windowLevelOperator, zoomOperator
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IVDicomOpImage

public IVDicomOpImage(java.awt.image.RenderedImage source,
                      int window,
                      int level,
                      int angle,
                      double zoom)
Constructor.

Parameters:
source - The source image for the win/lvl, rotation, zoom process.
window - The window value.
level - The level value.
angle - The angle in degree.
zoom - The zoom factor.
Method Detail

computeDistance

public double computeDistance(java.awt.Point start,
                              java.awt.Point end)
Computer the physical distance of 2 points in the displayed image.