I am currently measuring experimentally induced ballistic wounds in bone. I have been getting my head around running macros for the first time and managed to get the mark centroid macro working in ImageJ (version 1.52a). I followed the instructions of copying and pasting the code into an editor window. However, after returning to my laptop to run it again when I click “run macro” the selected region of interest vanishes and the centroid is not marked on the image. I did not change anything in the settings or the code. No matter what I try I cannot get the centroid to appear again.
Can anyone suggest what might have gone wrong and how I might rectify this issue?
Thanks in advance,