Image Profiles with RunImageJ


I would like to use a function of Plot Profile of ImageJ with RunImageJ in CP2.1.1

I did as David suggested in the old post (Image profiles) and it worked. However, I also need the values as well. I copied the command from ImageJ (Plugins -> Macros -> Record) and put it in the Macro window for the excel file of the values. The problem is sometimes, I got the excel file, and in a lot of times, there was no file.

I have no idea what went wrong.

Below here is the command that I used and a pipeline.

makeLine(98, 98, 99, 483);
run(“Plot Profile”);
saveAs(“Results”, “C:\Users\Dell\Documents\Trial\Plot Values.xls”);

Plot_Profile.cppipe (6.5 KB)

Thank you in advance for all your help. :slight_smile: