public class BoxDiagonalOpeningQueue extends AlgoStub implements AreaOpening
| Constructor and Description | 
|---|
BoxDiagonalOpeningQueue()  | 
| 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 minDiagonal)
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 minDiagonal)
AreaOpeningprocess in interface AreaOpeningimage - the image to process.minDiagonal - the minimal number of pixels the regions need to keep.Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.