Login  Register

Re: convex hull

Posted by Wayne Rasband on Mar 07, 2006; 4:59pm
URL: http://imagej.273.s1.nabble.com/convex-hull-tp3703486p3703488.html

> I'd like to use the function convex and hull that appears in
> the menu Edit/Selection/Convex Hull in my plugin.
> unfortunately, I could not find the api of the function
> because the documentation is too old.

The command recorder (Plugins>Macros>Record) is your friend. It
generates this macro function

    run("Convex Hull");

which can be converted to Java code by adding "IJ."

     IJ.run("Convex Hull");

-wayne