public class DVHCalc
extends ij.ImagePlus
implements ij.plugin.PlugIn
changes, CLOSED, COLOR_256, COLOR_RGB, compositeImage, currentSlice, GRAY16, GRAY32, GRAY8, height, img, ip, locked, OPENED, roi, stack, UPDATED, width, win
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
AREA, AREA_FRACTION, CENTER_OF_MASS, CENTROID, CIRCULARITY, ELLIPSE, FERET, INTEGRATED_DENSITY, INVERT_Y, KURTOSIS, LABELS, LIMIT, MAX_STANDARDS, MEAN, MEDIAN, MIN_MAX, MODE, PERIMETER, RECT, SCIENTIFIC_NOTATION, SHAPE_DESCRIPTORS, SKEWNESS, SLICE, STACK_POSITION, STD_DEV
Constructor and Description |
---|
DVHCalc(float[] dose_depths,
float[] dose_widths,
float[] dose_heights,
float[][][] dose_values,
ArrayDisplay ad) |
Modifier and Type | Method and Description |
---|---|
void |
computeCircularContour() |
void |
computeDVH() |
void |
computeSphericalContour() |
void |
DrawContour(java.awt.Graphics cur_gr,
ij.gui.ImageCanvas cur_ic,
int con_at) |
void |
DrawContour(java.awt.Graphics cur_gr,
ij.gui.ImageCanvas cur_ic,
int con_at,
float TLx,
float TLy,
float BRx,
float BRy,
int width,
int height) |
void |
DrawNearestContour(java.awt.Graphics cur_gr,
ij.gui.ImageCanvas cur_ic,
float ZCoord,
float TLx,
float TLy,
float BRx,
float BRy,
int width,
int height) |
int |
fillAContour(java.awt.Graphics cur_gr,
ij.gui.ImageCanvas cur_ic,
int con_at,
float TLx,
float TLy,
float BRx,
float BRy,
int width,
int height) |
void |
fillContour(java.awt.Graphics cur_gr,
ij.gui.ImageCanvas cur_ic,
float ZCoord,
float TLx,
float TLy,
float BRx,
float BRy,
int width,
int height) |
Point3D[] |
ReadASnakeFile(java.lang.String filename) |
boolean |
ReadFirstSliceInfo() |
boolean |
ReadSnakeFiles() |
void |
run(java.lang.String arg)
This method is called when the plugin is loaded.
|
void |
showAbout() |
void |
subtractTumorFromLung() |
addImageListener, close, copy, copyProperties, copyScale, createEmptyStack, createHyperStack, createImagePlus, createLut, createNewRoi, draw, draw, flatten, flush, getBitDepth, getBufferedImage, getBytesPerPixel, getCalibration, getCanvas, getChannel, getChannelProcessor, getClipboard, getCurrentSlice, getDimensions, getDisplayRangeMax, getDisplayRangeMin, getFileInfo, getFrame, getGlobalCalibration, getHeight, getHideOverlay, getID, getImage, getImageStack, getImageStackSize, getLocalCalibration, getLocationAsString, getLuts, getMask, getNChannels, getNDimensions, getNFrames, getNSlices, getOpenAsHyperStack, getOriginalFileInfo, getOverlay, getPixel, getProcessor, getProperties, getProperty, getRoi, getShortTitle, getSlice, getSliceLabels, getStack, getStackIndex, getStackSize, getStartTime, getStatistics, getStatistics, getStatistics, getStatistics, getTitle, getType, getWidth, getWindow, hide, imageUpdate, isComposite, isDisplayedHyperStack, isHyperStack, isInvertedLut, isLocked, isProcessor, isVisible, killRoi, killStack, lock, lockSilently, mouseMoved, notifyListeners, paste, removeImageListener, repaintWindow, resetClipboard, resetDisplayRange, resetStack, restoreRoi, revert, saveRoi, setActivated, setCalibration, setColor, setDimensions, setDisplayRange, setDisplayRange, setFileInfo, setGlobalCalibration, setHideOverlay, setIgnoreFlush, setImage, setOpenAsHyperStack, setOverlay, setOverlay, setOverlay, setPosition, setPosition, setPositionWithoutUpdate, setProcessor, setProcessor, setProperty, setRoi, setRoi, setRoi, setRoi, setSlice, setSliceWithoutUpdate, setStack, setStack, setStack, setTitle, setType, setWindow, show, show, startTiming, toString, trimProcessor, unlock, updateAndDraw, updateAndRepaintWindow, updateChannelAndDraw, updateImage, updatePosition, updateStatusbarValue
public DVHCalc(float[] dose_depths, float[] dose_widths, float[] dose_heights, float[][][] dose_values, ArrayDisplay ad)
public void run(java.lang.String arg)
ij.plugin.PlugIn
run
in interface ij.plugin.PlugIn
public void computeDVH()
public void computeCircularContour()
public void computeSphericalContour()
public boolean ReadFirstSliceInfo()
public boolean ReadSnakeFiles()
public Point3D[] ReadASnakeFile(java.lang.String filename)
public void subtractTumorFromLung()
public void fillContour(java.awt.Graphics cur_gr, ij.gui.ImageCanvas cur_ic, float ZCoord, float TLx, float TLy, float BRx, float BRy, int width, int height)
public int fillAContour(java.awt.Graphics cur_gr, ij.gui.ImageCanvas cur_ic, int con_at, float TLx, float TLy, float BRx, float BRy, int width, int height)
public void DrawNearestContour(java.awt.Graphics cur_gr, ij.gui.ImageCanvas cur_ic, float ZCoord, float TLx, float TLy, float BRx, float BRy, int width, int height)
public void DrawContour(java.awt.Graphics cur_gr, ij.gui.ImageCanvas cur_ic, int con_at, float TLx, float TLy, float BRx, float BRy, int width, int height)
public void DrawContour(java.awt.Graphics cur_gr, ij.gui.ImageCanvas cur_ic, int con_at)
public void showAbout()