Interface DistanceTransform3D

All Superinterfaces:
Algo
All Known Subinterfaces:
ChamferDistanceTransform3D
All Known Implementing Classes:
ChamferDistanceTransform3DFloat, ChamferDistanceTransform3DShort, DistanceTransform3DFloat, DistanceTransform3DShort

public interface DistanceTransform3D
extends Algo
Interface for computing distance maps for 3D label images.
  • Method Summary

    Modifier and Type Method Description
    ij.ImageStack distanceMap​(ij.ImageStack image)
    Computes the distance map from a 3D label image.

    Methods inherited from interface inra.ijpb.algo.Algo

    addAlgoListener, removeAlgoListener
  • Method Details

    • distanceMap

      ij.ImageStack distanceMap​(ij.ImageStack image)
      Computes the distance map from a 3D label image. Distance is computed for each label voxel (with value greater than 0), as the chamfer distance to the nearest voxel with a different value. The other value value can be 0 (the background) or another positive integer value (corresponding to another region).
      Parameters:
      image - a 3D label map, where integer values correspond to region labels, and 0 value to background.
      Returns:
      a new 3D image containing:
      • 0 for each background voxel
      • the distance to the nearest voxel from another region