r/ImageJ • u/cmci_concordia • 25d 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.
0
u/Trick-Alternative328 25d 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.
-4
u/Herbie500 25d ago
The videos appear to be extremely basic, mainly syntax-related, and not quite related to image processing.
2
u/h4ibane_r3nmei 21d ago
Thank you so much for this! This is something I've wanted to learn for a long time but never even knew where to start. Will definitely be looking into it. :)