Posted by
Aryeh Weiss on
Jul 13, 2020; 6:31pm
URL: http://imagej.273.s1.nabble.com/curvature-along-the-outline-of-a-thresholded-object-tp5023589p5023710.html
Update - Bob's plug-in works (at least on my system).
There is an issue with how I was trying to debug it, in that my
showmessage calls were not doing anything even though the call in the
code worked fine (and the output was exactly as written in the code).
I will need to see why that happened, but it is a separate issue, and
mot likely related to how I was trying to run it.
When I have a chance I will play with it some more.
--aryeh
On 13/07/2020 20:48, Robert Dougherty wrote:
> Kenneth,
> Here is a reply that I sent to Aryeh about the out of bounds bug:
>
> That bug is fixed in Version 7, just posted. It could happen when particles touched the edges of the image.
> The plugin should have no issues for images where the height in pixels, h, differs from the width in pixels, w. There is a problem when the "pixel width", pw, differs from the "pixel height", ph. This situation can be created by setting a "Pixel aspect ratio" different from 1.0 in "Analyze/Set Scale" or by setting unequal values for pw and ph in "Image/Properties..." The plugin refuses to run in that case, issuing an error dialog containing "This plugin is not designed for that." because the curvature calculation assumes that the horizontal and vertical scales match.
>
>
> Aryeh then replied that it is not fixed yet, but I think it should be....
> Bob
>
>
> On Monday, July 13, 2020, 10:32:36 AM PDT, Kenneth Sloan <
[hidden email]> wrote:
>
> My first suspicion is that the code you show is not the code actually running (for whatever reason).
I think you are correct about this.
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384051
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html