Interface GeodesicReconstruction3DAlgo

All Superinterfaces:
Algo
All Known Implementing Classes:
GeodesicReconstruction3DAlgoStub, GeodesicReconstruction3DHybrid0Float, GeodesicReconstruction3DHybrid0Gray16, GeodesicReconstruction3DHybrid0Gray8, GeodesicReconstruction3DHybrid1Image3D, GeodesicReconstructionByDilation3D, GeodesicReconstructionByDilation3DGray8, GeodesicReconstructionByDilation3DScanning, GeodesicReconstructionByDilation3DScanningGray8, GeodesicReconstructionByErosion3DGray8, GeodesicReconstructionByErosion3DScanning, GeodesicReconstructionByErosion3DScanningGray8

public interface GeodesicReconstruction3DAlgo
extends Algo
Defines the interface for geodesic reconstruction algorithms applied to 3D stack images.
Author:
David Legland
  • Method Summary

    Modifier and Type Method Description
    ij.ImageStack applyTo​(ij.ImageStack marker, ij.ImageStack mask)
    Applies the geodesic reconstruction algorithm to the input marker and mask images.
    ij.ImageStack applyTo​(ij.ImageStack marker, ij.ImageStack mask, ij.ImageStack binaryMask)
    Applies the geodesic reconstruction algorithm to the input marker and mask images, restricted by a binary mask.
    int getConnectivity()
    Returns the chosen connectivity of the algorithm, either 6 or 26.
    void setConnectivity​(int conn)
    Changes the connectivity of the algorithm to either 6 or 26.

    Methods inherited from interface inra.ijpb.algo.Algo

    addAlgoListener, removeAlgoListener
  • Method Details

    • applyTo

      ij.ImageStack applyTo​(ij.ImageStack marker, ij.ImageStack mask)
      Applies the geodesic reconstruction algorithm to the input marker and mask images.
      Parameters:
      marker - image used to initialize the reconstruction
      mask - image used to constrain the reconstruction
      Returns:
      the geodesic reconstruction of marker image constrained by mask image
    • applyTo

      ij.ImageStack applyTo​(ij.ImageStack marker, ij.ImageStack mask, ij.ImageStack binaryMask)
      Applies the geodesic reconstruction algorithm to the input marker and mask images, restricted by a binary mask.
      Parameters:
      marker - image used to initialize the reconstruction
      mask - image used to constrain the reconstruction
      binaryMask - binary mask to restrict the region of application
      Returns:
      the geodesic reconstruction of marker image constrained by mask image
    • getConnectivity

      int getConnectivity()
      Returns the chosen connectivity of the algorithm, either 6 or 26.
      Returns:
      the current connectivity for this algorithm
    • setConnectivity

      void setConnectivity​(int conn)
      Changes the connectivity of the algorithm to either 6 or 26.
      Parameters:
      conn - the 3D connectivity to use, either 6 or 26