|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.SwingWorker<java.util.List<ROI>,java.lang.Integer>
com.xinapse.multisliceimage.roi.MorphologicalOperationWorker
public class MorphologicalOperationWorker
This SwingWorker is used to perform morphological operations (dilation and erosion) on ROIs.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.SwingWorker |
|---|
javax.swing.SwingWorker.StateValue |
| Constructor Summary | |
|---|---|
MorphologicalOperationWorker(CanAddROIToFrame f,
java.util.List<ROI> rois,
double radius)
Creates a new MorphologicalOperationWorker to operate on a set of ROIs. |
|
| Method Summary | |
|---|---|
java.util.List<ROI> |
doInBackground()
Perform the morphological operation. |
void |
done()
|
protected void |
process(java.util.List<java.lang.Integer> opsCompleted)
|
| Methods inherited from class javax.swing.SwingWorker |
|---|
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MorphologicalOperationWorker(CanAddROIToFrame f,
java.util.List<ROI> rois,
double radius)
f - the CanAddROIToFrame that will (if non-null) be updated when this
MorphologicalOperationWorker has finished.rois - the java.util.Listradius - the distance by which the perimeter of the ROIs is dilated.
A negative radius indicated that an erosion should be performed.| Method Detail |
|---|
public java.util.List<ROI> doInBackground()
doInBackground in class javax.swing.SwingWorker<java.util.List<ROI>,java.lang.Integer>public void done()
done in class javax.swing.SwingWorker<java.util.List<ROI>,java.lang.Integer>protected void process(java.util.List<java.lang.Integer> opsCompleted)
process in class javax.swing.SwingWorker<java.util.List<ROI>,java.lang.Integer>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||