public class ConnectionThresholding_
extends PlugInFrame
implements java.lang.Runnable, java.awt.event.ActionListener, java.awt.event.AdjustmentListener, java.awt.event.ItemListener
| Constructor and Description |
|---|
ConnectionThresholding_()
Constructor for the ThresholdAdjuster object
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Description of the Method
|
void |
adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
Description of the Method
|
void |
close()
Overrides close() in PlugInFrame.
|
ImagePlus |
doHyst(ImagePlus imaplus,
double T1,
double T2,
int minhyst,
int plushyst)
Hysteresis thresholding for stack or image
|
ImagePlus |
doTrin(ImagePlus imaplus,
double T1,
double T2,
int minhyst,
int plushyst)
Multi thresholding for stack or image
|
void |
itemStateChanged(java.awt.event.ItemEvent e)
Description of the Method
|
void |
run()
Main processing method for the ThresholdAdjuster object
|
void |
windowActivated(java.awt.event.WindowEvent e)
Description of the Method
|
void |
windowClosing(java.awt.event.WindowEvent e)
Description of the Method
|
public ConnectionThresholding_()
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
adjustmentValueChanged in interface java.awt.event.AdjustmentListenere - Description of the Parameterpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - Description of the Parameterpublic void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged in interface java.awt.event.ItemListenere - Description of the Parameterpublic ImagePlus doTrin(ImagePlus imaplus,
double T1,
double T2,
int minhyst,
int plushyst)
T1 - Low thresholdT2 - High thresholdminhyst - Value for connected low pixelsplushyst - Value for connected high pixelsimaplus - Description of the Parameterpublic ImagePlus doHyst(ImagePlus imaplus,
double T1,
double T2,
int minhyst,
int plushyst)
T1 - Low thresholdT2 - High thresholdminhyst - Value for connected low pixelsplushyst - Value for connected high pixelsimaplus - Description of the Parameterpublic void run()
run in interface java.lang.Runnablepublic void windowClosing(java.awt.event.WindowEvent e)
e - Description of the Parameterpublic void close()
public void windowActivated(java.awt.event.WindowEvent e)
e - Description of the Parameter