opening and saving 2 results window

Posted by donny008 on
URL: http://imagej.273.s1.nabble.com/opening-and-saving-2-results-window-tp3692423.html

hello

for a specific macro that i am writing, i want to save my results into 2
results window. one to save the properties of the original image and the
other one to save the properties of the image after being manipulated. but i
am not sure how i could open a new results window,


run("Measure");
    title=getTitle();
           setResult("Label", nResults-1, "True Value "+title);
           updateResults();

    getStatistics(pixels, mean, min, max, std, histogram);
    setMinAndMax(mean*0.6666,mean+0.3333*(255-mean));
    run("Smooth");

    run("Enhance Contrast", "saturated=0.2");


    run("Measure");
    title=getTitle();
           setResult("Label", nResults-1, "Modified "+title);
           updateResults();

    //run("Histogram");

        }

selectWindow("Results");
saveAs("Measurements", "");


could some one put in some comments to help me

thank you


--
Donny George