Logo Search packages:      
Sourcecode: pixelmed version File versions  Download package

com::pixelmed::display::SingleImagePanelWithRegionDetection Class Reference

Inheritance diagram for com::pixelmed::display::SingleImagePanelWithRegionDetection:

com::pixelmed::display::SingleImagePanel

List of all members.


Detailed Description

Implements a component that extends a SingleImagePanel to also detect region boundaries within a specified region of interest.

See also:
com.pixelmed.display.SourceImage
Author:
dclunie

Definition at line 35 of file SingleImagePanelWithRegionDetection.java.


Public Member Functions

void deconstruct ()
void dirty (SourceImage sImg)
void dirty ()
void dirtyPanned ()
void dirtySource (SourceImage sImg)
void dirtySource ()
void dirtyWindowing ()
void displayReset ()
void displaySelectedMagnificationRatio (double ratio)
GeometryOfVolume getImageGeometry ()
final Vector getPersistentDrawingShapes ()
final Vector getSelectedDrawingShapes ()
void keyPressed (KeyEvent e)
void keyReleased (KeyEvent e)
void keyTyped (KeyEvent e)
void mouseClicked (MouseEvent e)
void mouseDragged (MouseEvent e)
void mouseEntered (MouseEvent e)
void mouseExited (MouseEvent e)
void mouseMoved (MouseEvent e)
void mousePressed (MouseEvent e)
void mouseReleased (MouseEvent e)
void paintComponent (Graphics g)
final void setDemographicAndTechniqueAnnotations (DemographicAndTechniqueAnnotations demographicAndTechniqueAnnotations, String demographicAndTechniqueFontName, int demographicAndTechniqueFontStyle, int demographicAndTechniqueFontSize, Color demographicAndTechniqueColor)
final void setDisplayedAreaSelection (DisplayedAreaSelection displayedAreaSelection)
final void setLocalizerShapes (Vector shapes)
final void setOrientationAnnotations (OrientationAnnotations orientationAnnotations, String orientationFontName, int orientationFontStyle, int orientationFontSize, Color orientationColor, boolean leftSide)
final void setOrientationAnnotations (OrientationAnnotations orientationAnnotations, String orientationFontName, int orientationFontStyle, int orientationFontSize, Color orientationColor)
final void setPersistentDrawingShapes (Vector shapes)
final void setPixelSpacingInSourceImage (double pixelSpacingInSourceImage, String typeOfPixelSpacing)
final void setPixelSpacingInSourceImage (double pixelSpacingInSourceImage)
final void setPreDefinedShapes (Vector shapes)
final void setPreTransformImageRelativeCoordinates (AffineTransform transform)
final void setSelectedDrawingShapes (Vector shapes)
final void setshowOverlays (boolean showOverlays)
final void setShowZoomFactor (boolean showZoomFactor, boolean leftSide, double pixelSpacingInSourceImage, String typeOfPixelSpacing)
final void setShowZoomFactor (boolean showZoomFactor, boolean leftSide, double pixelSpacingInSourceImage)
final void setSideAndViewAnnotationString (String annotationString, int verticalOffset, String annotationFontName, int annotationFontStyle, int annotationFontSize, Color annotationColor, boolean leftSide)
final void setVOIFunctionToLinear ()
final void setVOIFunctionToLogistic ()
final void setVolumeLocalizationShapes (Vector shapes)
 SingleImagePanelWithRegionDetection (SourceImage sImg)
 SingleImagePanelWithRegionDetection (SourceImage sImg, EventContext typeOfPanelEventContext)
 SingleImagePanelWithRegionDetection (SourceImage sImg, EventContext typeOfPanelEventContext, GeometryOfVolume imageGeometry)
 SingleImagePanelWithRegionDetection (SourceImage sImg, EventContext typeOfPanelEventContext, int[] sortOrder, Vector preDefinedShapes, Vector preDefinedText, GeometryOfVolume imageGeometry)

Static Public Member Functions

static final BufferedImage applyVOILUT (BufferedImage src, double center, double width, double identityCenter, double identityWidth, boolean signed, boolean inverted, double useSlope, double useIntercept, boolean hasPad, int pad, int padRangeLimit, int numberOfEntries, int firstValueMapped, int bitsPerEntry, short[] grayTable, int entryMin, int entryMax, int topOfEntryRange)
static final BufferedImage applyWindowCenterAndWidthLinear (BufferedImage src, double center, double width, boolean signed, boolean inverted, double useSlope, double useIntercept, boolean hasPad, int pad, int padRangeLimit)
static final BufferedImage applyWindowCenterAndWidthLogistic (BufferedImage src, double center, double width, boolean signed, boolean inverted, double useSlope, double useIntercept, boolean hasPad, int pad, int padRangeLimit)
static final BufferedImage applyWindowCenterAndWidthWithPaletteColor (BufferedImage src, double center, double width, boolean signed, boolean inverted, double useSlope, double useIntercept, boolean hasPad, int pad, int padRangeLimit, int largestGray, int bitsPerEntry, int numberOfEntries, short[] redTable, short[] greenTable, short[] blueTable)
static void deconstructAllSingleImagePanelsInContainer (Container container)
static void main (String arg[])

Protected Member Functions

void dragInteractiveDrawing (int x, int y)
void endInteractiveDrawing (int x, int y)
void establishInitialWindowOrVOILUT ()
void finalize () throws Throwable
Point getImageCoordinateFromWindowCoordinate (double xw, double yw)
int getSourceImageHeight ()
int getSourceImageWidth ()
void startInteractiveDrawing (int x, int y)

Protected Attributes

double[] currentLocationIn3DSpace = new double[3]
Vector interactiveDrawingShapes
LeftMouseMode leftMouseMode = new LeftMouseMode()
Vector localizerShapes
OrientationAnnotations orientationAnnotations = null
Color orientationColor
Font orientationFont
DisplayedAreaSelection originalDisplayedAreaSelection = null
Vector persistentDrawingShapes
Vector persistentDrawingText
double pixelSpacingInSourceImage = 0
Vector preDefinedShapes
Vector preDefinedText
Vector selectedDrawingShapes
boolean showOrientationsLeftSide = false
boolean showSideAndViewAnnotationLeftSide = false
boolean showZoomFactor = false
boolean showZoomFactorLeftSide = false
Color sideAndViewAnnotationColor
Font sideAndViewAnnotationFont
String sideAndViewAnnotationString
int sideAndViewAnnotationVerticalOffset
Point2D startPoint
String typeOfPixelSpacing
boolean useVOILUTNotFunction
int voiLUTBitsPerEntry
short[] voiLUTData
int voiLUTEntryMax
int voiLUTEntryMin
int voiLUTFirstValueMapped
double voiLUTIdentityWindowCenter
double voiLUTIdentityWindowWidth
int voiLUTNumberOfEntries
int voiLUTTopOfEntryRange
Vector volumeLocalizationShapes
double windowCenter
double windowWidth

Package Attributes

BufferedImage cachedPreWindowedImage
BufferedImage cachedResizedImage
BufferedImage cachedResizedSelectedRegionImage
Rectangle cachedWindowSize
int currentSrcImageIndex
int[] currentSrcImageSortOrder
int currentVOITransformInUse
DisplayShutter displayShutter
boolean hasPad
int imgMax
int imgMin
int lastmiddley
int lastx
int lasty
ModalityTransform modalityTransform
int offsetDrawingOfResizedSelectedRegionImageX
int offsetDrawingOfResizedSelectedRegionImageY
Overlay overlay
int pad
int padRangeLimit
double panningMultiplier = 1
RealWorldValueTransform realWorldValueTransform
SourceImage sImg
SUVTransform suvTransform
EventContext typeOfPanelEventContext
double useIntercept
double useSlope
VOITransform voiTransform
double windowingMultiplier = 1

Static Package Attributes

static final int crossSize = 5

Private Member Functions

void detectAndDrawRegion (BufferedImage image, double[] voxelSpacing, Vector interactiveDrawingShapes, int regionSelectionCenterX, int regionSelectionCenterY, int regionSelectionTLHCX, int regionSelectionTLHCY, int regionSelectionBRHCX, int regionSelectionBRHCY) throws Exception
IntegerPointWithValue[] findLongestAndShortestPaths (Collection points, double[] voxelSpacing) throws Exception
void setRegionSelection (int centerX, int centerY, int oneCornerX, int oneCornerY, int otherCornerX, int otherCornerY)

Private Attributes

int regionSelectionBRHCX
int regionSelectionBRHCY
int regionSelectionCenterX
int regionSelectionCenterY
int regionSelectionTLHCX
int regionSelectionTLHCY

Static Private Attributes

static final String identString = "@(#) $Header: /userland/cvs/pixelmed/imgbook/com/pixelmed/display/SingleImagePanelWithRegionDetection.java,v 1.1 2006/08/05 20:39:53 dclunie Exp $"

Classes

class  IntegerPointWithValue

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index