// Exercise 17.1 - Show the rois of selected measurements // // Aim: Learn to link the results table to the image by using string processing and // the roi manager. // // Open the image images/16 in ImageJ, manually use the Threshold-Adjuster and the // Particle-Analyzer to add the rois of the nuclei to the roi-manager. Measure the rois in the // roi-manager. Select a number of lines in the results table before running the macro. //* Complete the macro below that will create a selection on the image from the measurements //* selected in the results table. // String.copyResults(); // Copies the result table into the clipboard selection = String.paste; // String.paste answers the content of the clipboard // Your code starts after this line lines = split(selection, "\n"); indices = newArray(0); // This array is initially empty. It will contain the indices of the rois that // correspond to the selected measurements. for(i=0; i1) roiManager("Combine"); // Your code ends before this line