Package ij.measure

Examples of ij.measure.ResultsTable.show()


    if (rt==null) return;
    ResultsTable rt2 = (ResultsTable)rt.clone();
    String title2 = IJ.getString("Title:", "Results2");
    if (!title2.equals("")) {
      if (title2.equals("Results")) title2 = "Results2";
      rt2.show(title2);
    }
  }
 
  void select(int x,int y) {
    Dimension d = tc.getSize();
View Full Code Here


    if (rt==null) return;
    ResultsTable rt2 = (ResultsTable)rt.clone();
    String title2 = IJ.getString("Title:", "Results2");
    if (!title2.equals("")) {
      if (title2.equals("Results")) title2 = "Results2";
      rt2.show(title2);
    }
  }
 
  void select(int x,int y) {
    Dimension d = tc.getSize();
View Full Code Here

 
  /** Opens a tab or comma delimited text file in the Results window. */
  public static void openResultsTable(String path) {
    try {
      ResultsTable rt = ResultsTable.open(path);
      if (rt!=null) rt.show("Results");
    } catch(IOException e) {
      IJ.error("Open Results", e.getMessage());
    }
  }
 
View Full Code Here

      ColorProcessor.setWeightingFactors(rgbWeights[0], rgbWeights[1], rgbWeights[2]);
    if (func.writer!=null) func.writer.close();
    func.roiManager = null;
    if (func.resultsPending) {
      ResultsTable rt = ResultsTable.getResultsTable();
      if (rt!=null && rt.getCounter()>0) rt.show("Results");
    }
  }
 
  /** Aborts currently running macro. */
  public static void abort() {
View Full Code Here

  public static void deleteRows(int row1, int row2) {
    int n = row2 - row1 + 1;
    ResultsTable rt = Analyzer.getResultsTable();
    for (int i=row1; i<row1+n; i++)
      rt.deleteRow(row1);
    rt.show("Results");
  }

  /** Returns a reference to the "Results" window TextPanel.
    Opens the "Results" window if it is currently not open.
    Returns null if the "ImageJ" window is not open. */
 
View Full Code Here

    if (rt==null) return;
    ResultsTable rt2 = (ResultsTable)rt.clone();
    String title2 = IJ.getString("Title:", "Results2");
    if (!title2.equals("")) {
      if (title2.equals("Results")) title2 = "Results2";
      rt2.show(title2);
    }
  }
 
  void select(int x,int y) {
    Dimension d = tc.getSize();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.