public class humanLungSegm extends ImageReviewer implements ij.plugin.PlugIn
Modifier and Type | Field and Description |
---|---|
protected boolean |
alreadyBodyCropped |
protected boolean |
alreadyCropped |
protected boolean |
autoCropHilumVessels |
protected float |
bigVesselCloseOpRadius |
protected Rectangle3D |
bodyROI |
protected short |
bodyThresh |
boolean |
debugLungSegmen |
boolean |
debugSnakes |
boolean |
doManualLungSegm |
boolean |
doRunGUI |
boolean |
doSnakesOnPrevMasks |
protected int |
erodeDilateOpRad |
boolean |
havePulmTrunkMask |
protected Rectangle3D |
innerbodyROI |
protected java.lang.String |
inputdir |
protected int |
intestineErodDilRad |
protected byte[][][] |
leftLung |
protected GenericRecallableDialog |
lunggd |
protected boolean[][][] |
lungMask |
protected byte[][][] |
lungMaskByte |
protected Rectangle3D |
lungROI |
protected boolean[][][] |
pulmTrunkMask |
protected ArrayDisplay |
resultAd |
protected byte[][][] |
rightLung |
protected boolean |
ROIwasRead |
protected int |
startDepth |
protected java.lang.String |
targetNodsFile |
working_canvas
Constructor and Description |
---|
humanLungSegm() |
Modifier and Type | Method and Description |
---|---|
void |
batchRunHLS() |
void |
customButFunc() |
void |
doManualLungSeg() |
void |
doSnakeLungSegm() |
void |
getLungMask(boolean readInJPGs) |
protected void |
redisplay() |
void |
run(java.lang.String arg)
This method is called when the plugin is loaded.
|
void |
run(java.lang.String arg,
ij.ImagePlus passedimp) |
void |
showAbout() |
void |
spaceWindowsOnScreen() |
void |
splitHemiLungs()
ultimately sets the globally-defined leftLung and rightLung byte[][][] mask arrays \n
Works on lungMaskByte and expects on start that lungs are black, outside body and body = white
|
adjustCurSlice, cropToObjectROI, customChoiceFunc, findClosestMark, get3Dview, get3DviewOfmark, getObjectMaskFromFiles, getObjectMaskFromFiles, getPtInputDirInfo, resetwidgets, runGUI, setGUIWinLevelWidgets, setNewSlice, setNewStudy, setupImg, setupImg, setupImg, setupImg, toString, updateMarkingPanel, UpdateScreen, UpdateSelection, UpdateSelectionImageReviewer
keyPressed, mouseDragged, mouseMoved, mousePressed, mouseReleased
public boolean doManualLungSegm
public boolean debugSnakes
public boolean debugLungSegmen
public boolean doSnakesOnPrevMasks
public boolean havePulmTrunkMask
protected byte[][][] lungMaskByte
protected byte[][][] leftLung
protected byte[][][] rightLung
protected boolean[][][] lungMask
protected boolean[][][] pulmTrunkMask
protected java.lang.String targetNodsFile
protected Rectangle3D bodyROI
protected Rectangle3D innerbodyROI
protected Rectangle3D lungROI
protected boolean alreadyCropped
protected boolean alreadyBodyCropped
public boolean doRunGUI
protected ArrayDisplay resultAd
protected short bodyThresh
protected int intestineErodDilRad
protected int erodeDilateOpRad
protected boolean autoCropHilumVessels
protected float bigVesselCloseOpRadius
protected GenericRecallableDialog lunggd
protected int startDepth
protected boolean ROIwasRead
protected java.lang.String inputdir
public void showAbout()
public void run(java.lang.String arg)
ij.plugin.PlugIn
run
in interface ij.plugin.PlugIn
run
in class ImageReviewer
public void run(java.lang.String arg, ij.ImagePlus passedimp)
run
in class ImageReviewer
public void customButFunc()
customButFunc
in class ImageReviewer
protected void redisplay()
redisplay
in class ImageReviewer
public void getLungMask(boolean readInJPGs)
public void splitHemiLungs()
public void doSnakeLungSegm()
public void doManualLungSeg()
public void batchRunHLS()
public void spaceWindowsOnScreen()
spaceWindowsOnScreen
in class ImageReviewer