Class GeodesicDiameterPlugin

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

public class GeodesicDiameterPlugin
extends java.lang.Object
implements ij.plugin.PlugIn
Plugin for computing geodesic distances of labeled particles using chamfer weights.
Author:
dlegland
  • Constructor Summary

    Constructors
    Constructor Description
    GeodesicDiameterPlugin()  
  • Method Summary

    Modifier and Type Method Description
    void createPathRois​(ij.ImagePlus target, java.util.Map<java.lang.Integer,​GeodesicDiameter.Result> geodDiams)
    Adds the specified paths to the list of ROI of the image plus.
    void drawPaths​(ij.ImagePlus target, java.util.Map<java.lang.Integer,​GeodesicDiameter.Result> geodDiams)
    Displays the geodesic paths onto the given 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

    • GeodesicDiameterPlugin

      public GeodesicDiameterPlugin()
  • Method Details

    • run

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

      public void drawPaths​(ij.ImagePlus target, java.util.Map<java.lang.Integer,​GeodesicDiameter.Result> geodDiams)
      Displays the geodesic paths onto the given image.
      Parameters:
      target - target image
      geodDiams - the diameters to draw
    • createPathRois

      public void createPathRois​(ij.ImagePlus target, java.util.Map<java.lang.Integer,​GeodesicDiameter.Result> geodDiams)
      Adds the specified paths to the list of ROI of the image plus.
      Parameters:
      target - The ImagePlus that will be associated with ROIS
      geodDiams - the list of paths