Image Profiles with RunImageJ

cellprofiler

#1

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.

//setTool(“line”);
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:


#2

Hi,
I have also trouble shooted with it as well. To me there is a problem in saving values when using saveAs Results as it instead records run(“Results…”); . The only possible way is to store these values by using Save option in the generated plot. Then doing it manually is very tidious. I suggest you to ask this question on Image J forum.

Best
Hamdah