public class AreaOpeningQueue extends AlgoStub implements AreaOpening
| Constructor and Description | 
|---|
AreaOpeningQueue()  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getConnectivity()
Returns the current connectivity value for this algorithm. 
 | 
ij.process.ImageProcessor | 
process(ij.process.ImageProcessor image,
       int minArea)
Applies area opening on the input grayscale image and returns the result. 
 | 
void | 
setConnectivity(int connectivity)
Changes the connectivity of this algorithm. 
 | 
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAlgoListener, removeAlgoListenerpublic void setConnectivity(int connectivity)
connectivity - the connectivity to use, either 4 or 8public int getConnectivity()
public ij.process.ImageProcessor process(ij.process.ImageProcessor image,
                                         int minArea)
AreaOpeningprocess in interface AreaOpeningimage - the image to process.minArea - the minimal number of pixels the regions need to keep.Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.