Intro to QuPath Scripting
I am Mike - but enough about me, this section of the webpage is all about QuPath, authored by Pete Bankhead. The official documentation can be found here:
...so trust that as the best and most up-to-date source for all of your scripting needs. I will try to keep this section as up to date as possible. How successful I am will probably depend on how busy I am in grad school.
Other sources for scripting information have already been listed here, so consider some of those sources as well for anything I do not cover here. And, as always, take your questions to the image.sc forum where others can learn from your questions - and possibly find answers already waiting for you. Most of these scripts, lines of code, etc. came originally from Pete Bankhead or other sources on the forum, I am simply collecting them all in one place for educational purposes, not laying claim to any of them.
The goal for these pages is to serve as an introduction to scripting in QuPath, not an introduction to scripting or coding in general. I will do my best to explain most of the details I think a user would need to get started, but I also do not want the site to become too unfocused by covering general coding issues. If I can clarify anything, please ask on the forum - and if I get enough questions about something, I will probably fill in additional information. If you run into an error within QuPath, you may be able to provide more information by going through View->Show Log
For the moment, within the guide I will mostly be referencing a test project I will keep in this folder, consisting of a couple of demo images that are linked to in the QuPath documentation:
Images used in the test project
When using the demo project:
To load test data for a given example, go to the Automate->Project Scripts-> # Name of folder and use one of the LOAD OBJECTS scripts for the appropriate image. You can reuse the script to reset the objects in the image. The name of the image the script is for should appear as the first word in the script name.
Also, I am not really a coder (I do not currently use an IDE, nor have I built any of my own extensions), just an extensive scripter - and it will probably show. There are many better programmers than I on the forum if you have more technical questions. I make frequent use of my own quick reference guide! If you have Java experience, but are new to Groovy, you may benefit from this differences guide.
Before Coding
The Run menu within the scripting dialog has some interesting features - it is good to know how they work.
Info
The list, as it currently stands.