Class MaxFeretDiameterPlugin

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

public class MaxFeretDiameterPlugin
extends java.lang.Object
implements ij.plugin.PlugIn
Computes Maximum Feret Diameters of a binary or label image. Mainly used for debugging puproses
Author:
dlegland
  • Field Summary

    Fields
    Modifier and Type Field Description
    boolean debug
    When this options is set to true, information messages are displayed on the console.
  • Constructor Summary

    Constructors
    Constructor Description
    MaxFeretDiameterPlugin()  
  • Method Summary

    Modifier and Type Method Description
    void drawDiameters​(ij.ImagePlus target, java.util.Map<java.lang.Integer,​PointPair2D> geodDiams)
    Draws the diameters on a target image.
    void run​(java.lang.String arg)  

    Methods inherited from class java.lang.Object

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

    • debug

      public boolean debug
      When this options is set to true, information messages are displayed on the console.
  • Constructor Details

    • MaxFeretDiameterPlugin

      public MaxFeretDiameterPlugin()
  • Method Details

    • run

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

      public void drawDiameters​(ij.ImagePlus target, java.util.Map<java.lang.Integer,​PointPair2D> geodDiams)
      Draws the diameters on a target image.
      Parameters:
      target - the image to draw the diameters on
      geodDiams - the diameters to draw