I am attempting to use TrakEm2 to measure the minimal distance between a ball and a profile. I then want to edit this code to find the minimal distance between two or more area_lists. It is section 4.1 of this webpage. I have been able to get the first script to run no problem in the script editor of Fiji. However, the second script is not working for me. It gives the error “TypeError: findbyId(): expected 2 args; got 1”. I am not sure how to work around this. In a Lifeline version of Fiji running Java 6 in the Jython Interpreter on Windows, this same code works without a hitch. My goal is to modify and run the second script from the aforementioned web manual in the latest version of Fiji to return distance measurements.
Thank you for any and all help.