Class GeodesicDistanceTransform3DFloat

java.lang.Object
inra.ijpb.algo.AlgoStub
inra.ijpb.binary.geodesic.GeodesicDistanceTransform3DFloat
All Implemented Interfaces:
Algo, GeodesicDistanceTransform3D

public class GeodesicDistanceTransform3DFloat
extends AlgoStub
implements GeodesicDistanceTransform3D
Computation of geodesic distance transform for 3D images, using floating point computation. Adapted for the management of label images.
Author:
dlegland
  • Constructor Details

    • GeodesicDistanceTransform3DFloat

      public GeodesicDistanceTransform3DFloat​(ChamferMask3D mask, boolean normalizeMap)
      Creates a new algorithm for propagating geodesic distances.
      Parameters:
      mask - the chamfer mask to use for propagating distances
      normalizeMap - the flag for normalization
    • GeodesicDistanceTransform3DFloat

      @Deprecated public GeodesicDistanceTransform3DFloat​(float[] weights)
      Deprecated.
      Creates a new algorithm.
      Parameters:
      weights - the weights to use for propagating distances
    • GeodesicDistanceTransform3DFloat

      @Deprecated public GeodesicDistanceTransform3DFloat​(float[] weights, boolean normalizeMap)
      Deprecated.
      Creates a new algorithm.
      Parameters:
      weights - the weights to use for propagating distances
      normalizeMap - the flag for normalization
    • GeodesicDistanceTransform3DFloat

      @Deprecated public GeodesicDistanceTransform3DFloat​(ChamferWeights3D weights, boolean normalizeMap)
      Deprecated.
      Creates a new algorithm for propagating geodesic distances.
      Parameters:
      weights - the chamfer mask to use for propagating distances
      normalizeMap - the flag for normalization
  • Method Details

    • geodesicDistanceMap

      public ij.ImageStack geodesicDistanceMap​(ij.ImageStack marker, ij.ImageStack mask)
      Description copied from interface: GeodesicDistanceTransform3D
      Computes 3D geodesic distance transform (or geodesic distance map) of a binary image of marker, constrained to a binary mask.
      Specified by:
      geodesicDistanceMap in interface GeodesicDistanceTransform3D
      Parameters:
      marker - the binary image of marker
      mask - the binary image of mask
      Returns:
      the geodesic distance map in a new ImageProcessor