Class GeodesicDistanceMap3DPlugin

java.lang.Object
inra.ijpb.plugins.GeodesicDistanceMap3DPlugin
All Implemented Interfaces:
ij.plugin.PlugIn

public class GeodesicDistanceMap3DPlugin
extends java.lang.Object
implements ij.plugin.PlugIn
Plugin for computing geodesic distance map from binary 3D images using chamfer weights.
Author:
dlegland
  • Constructor Summary

    Constructors
    Constructor Description
    GeodesicDistanceMap3DPlugin()  
  • Method Summary

    Modifier and Type Method Description
    ij.ImagePlus process​(ij.ImagePlus markerPlus, ij.ImagePlus maskPlus, java.lang.String newName, float[] weights, boolean normalize)
    Deprecated.
    ij.ImagePlus process​(ij.ImagePlus markerPlus, ij.ImagePlus maskPlus, java.lang.String newName, ChamferMask3D chamferMask, boolean normalize)
    Computes the distance propagated from the boundary of the white particles, within the white phase.
    ij.ImageStack process​(ij.ImageStack marker, ij.ImageStack mask, float[] weights, boolean normalize)
    Deprecated.
    ij.ImageStack process​(ij.ImageStack marker, ij.ImageStack mask, ChamferMask3D chamferMask, boolean normalize)
    Computes the distance within the mask, starting from the marker image.
    void run​(java.lang.String arg0)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GeodesicDistanceMap3DPlugin

      public GeodesicDistanceMap3DPlugin()
  • Method Details

    • run

      public void run​(java.lang.String arg0)
      Specified by:
      run in interface ij.plugin.PlugIn
    • process

      public ij.ImagePlus process​(ij.ImagePlus markerPlus, ij.ImagePlus maskPlus, java.lang.String newName, ChamferMask3D chamferMask, boolean normalize)
      Computes the distance propagated from the boundary of the white particles, within the white phase.
      Parameters:
      markerPlus - the binary marker image from which distances will be propagated
      maskPlus - the binary mask image that will constrain the propagation
      newName - the name of the result image
      chamferMask - the set of chamfer weights for computing distances
      normalize - specifies whether the resulting distance map should be normalized
      Returns:
      an array of object, containing the name of the new image, and the new ImagePlus instance
    • process

      @Deprecated public ij.ImagePlus process​(ij.ImagePlus markerPlus, ij.ImagePlus maskPlus, java.lang.String newName, float[] weights, boolean normalize)
      Deprecated.
      Computes the distance propagated from the boundary of the white particles, within the white phase.
      Parameters:
      markerPlus - the binary marker image from which distances will be propagated
      maskPlus - the binary mask image that will constrain the propagation
      newName - the name of the result image
      weights - the set of chamfer weights for computing distances
      normalize - specifies whether the resulting distance map should be normalized
      Returns:
      an array of object, containing the name of the new image, and the new ImagePlus instance
    • process

      @Deprecated public ij.ImageStack process​(ij.ImageStack marker, ij.ImageStack mask, float[] weights, boolean normalize)
      Deprecated.
      Computes the distance within the mask, starting from the marker image.
      Parameters:
      marker - the binary marker image from which distances will be propagated
      mask - the binary mask image that will constrain the propagation
      weights - the set of chamfer weights for computing distances
      normalize - specifies whether the resulting distance map should be normalized
      Returns:
      the geodesic distance map
    • process

      public ij.ImageStack process​(ij.ImageStack marker, ij.ImageStack mask, ChamferMask3D chamferMask, boolean normalize)
      Computes the distance within the mask, starting from the marker image.
      Parameters:
      marker - the binary marker image from which distances will be propagated
      mask - the binary mask image that will constrain the propagation
      chamferMask - the chamfer mask used for computing distances
      normalize - specifies whether the resulting distance map should be normalized
      Returns:
      an array of object, containing the name of the new image, and the new ImagePlus instance