What is an ImageJ macro
An ImageJ macro is a small program that contains the sequence of operations performed on an image. This program can then be stored on a disk and rerun at any given time. This will allow you to store the analysis procedures for reproducibility purposes or automatically process many images in exactly the same way.