I have an Image that I would like to gather data from. The macro I am using is below
run("Analyze Line Graph"); Plot.getValues(x, y); for (i=0; i<300; i++) print(x[i], y[i]); selectWindow("Log"); path = getDirectory("home")+"profile.txt" saveAs("Text", path);
For some reason it does not want to save the x and y values that are shown in the Log window, but instead converts the TIF image into text.
When i click to test the macro, I can save the Log window and it saves exactly what I want. However when I put it into batch and process macro for 50 images, it doesnt save the log window but converts the tiff image into text and saves that. Can someone help me figure out why the macro isnt doing that