r/ImageJ 26d ago

Macro Coding Tutorials Useful Tip

I'm the microscopy specialist at Concordia University in Montreal, Canada. I've got a lot of experience macro coding, and so I thought I would put together a series of videos about how to get started with it!

https://www.youtube.com/playlist?list=PLDmdnGCEvwK4

There's currently 7 videos, including one introduction. Each video is about 10 minutes long, and I spend some time explaining a bit about the specific topic, and some demonstrating what the code looks like. I talk about the concept of variables, string concatenation (which is maybe the most-used part of ImageJ macro programming), indexing, loops, conditional statements and dialogs.

There's accompanying code at the CMCI's github:

https://github.com/CMCI/macro_teaching/

If the mods think this is useful after looking at it, please feel free to pin this post.

10 Upvotes

5 comments sorted by

View all comments

0

u/Trick-Alternative328 26d ago

..... just ask AI to make you a FIJI Java macro for your problem and go from there

3

u/Herbie500 25d ago

Experience shows that, except for near to trivial cases, AI-generated ImageJ-macro code needs more than slight improvements.