Class SizeOpening3DQueue

java.lang.Object
inra.ijpb.algo.AlgoStub
inra.ijpb.morphology.attrfilt.SizeOpening3DQueue
All Implemented Interfaces:
Algo, SizeOpening3D

public class SizeOpening3DQueue
extends AlgoStub
implements SizeOpening3D
Volume opening on 3D grayscale image using priority queue for updating each 3D regional maxima.
Author:
dlegland
  • Constructor Summary

    Constructors
    Constructor Description
    SizeOpening3DQueue()  
  • Method Summary

    Modifier and Type Method Description
    int getConnectivity()
    Returns the current connectivity value for this algorithm.
    ij.ImageStack process​(ij.ImageStack image, int minVolume)
    Applies size opening on the input 3D grayscale image and returns the result.
    void setConnectivity​(int connectivity)
    Changes the connectivity used by this algorithm.

    Methods inherited from class inra.ijpb.algo.AlgoStub

    addAlgoListener, removeAlgoListener

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface inra.ijpb.algo.Algo

    addAlgoListener, removeAlgoListener
  • Constructor Details

    • SizeOpening3DQueue

      public SizeOpening3DQueue()
  • Method Details

    • setConnectivity

      public void setConnectivity​(int connectivity)
      Changes the connectivity used by this algorithm.
      Parameters:
      connectivity - the connectivity to use, either 6 or 26
    • getConnectivity

      public int getConnectivity()
      Returns the current connectivity value for this algorithm.
      Returns:
      the current connectivity value (either 6 or 26)
    • process

      public ij.ImageStack process​(ij.ImageStack image, int minVolume)
      Description copied from interface: SizeOpening3D
      Applies size opening on the input 3D grayscale image and returns the result.
      Specified by:
      process in interface SizeOpening3D
      Parameters:
      image - the image to process.
      minVolume - the minimal number of voxels the regions need to keep.
      Returns:
      the result of size opening.