Class GeodesicReconstructionByDilation3DScanningGray8

java.lang.Object
inra.ijpb.algo.AlgoStub
inra.ijpb.morphology.geodrec.GeodesicReconstruction3DAlgoStub
inra.ijpb.morphology.geodrec.GeodesicReconstructionByDilation3DScanningGray8
All Implemented Interfaces:
Algo, GeodesicReconstruction3DAlgo

public class GeodesicReconstructionByDilation3DScanningGray8
extends GeodesicReconstruction3DAlgoStub
Geodesic reconstruction by dilation for 3D stacks of byte processors, using scanning algorithm. This version uses iterations of forward and backward passes until no more modifications are made.
Author:
David Legland
See Also:
GeodesicReconstructionByDilation3DScanning, GeodesicReconstruction3DHybrid0Gray8
  • Constructor Details

    • GeodesicReconstructionByDilation3DScanningGray8

      public GeodesicReconstructionByDilation3DScanningGray8()
      Creates a new instance of geodesic reconstruction by dilation algorithm, using the default connectivity 6.
    • GeodesicReconstructionByDilation3DScanningGray8

      public GeodesicReconstructionByDilation3DScanningGray8​(int connectivity)
      Creates a new instance of geodesic reconstruction by dilation algorithm, that specifies the connectivity to use.
      Parameters:
      connectivity - the 3D connectivity to use (either 6 or 26)
  • Method Details

    • applyTo

      public ij.ImageStack applyTo​(ij.ImageStack marker, ij.ImageStack mask)
      Run the reconstruction by dilation algorithm using the images specified as argument.
      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

      public ij.ImageStack applyTo​(ij.ImageStack marker, ij.ImageStack mask, ij.ImageStack binaryMask)
      Run the reconstruction by dilation algorithm using the images specified as argument.
      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