Search in sources :

Example 11 with TextWindow

use of ij.text.TextWindow in project GDSC-SMLM by aherbert.

the class BenchmarkFit method createTable.

private void createTable() {
    if (summaryTable == null || !summaryTable.isVisible()) {
        summaryTable = new TextWindow(TITLE, createHeader(false), "", 1000, 300);
        summaryTable.setVisible(true);
    }
}
Also used : TextWindow(ij.text.TextWindow)

Example 12 with TextWindow

use of ij.text.TextWindow in project GDSC-SMLM by aherbert.

the class BenchmarkFit method createAnalysisTable.

private void createAnalysisTable() {
    if (analysisTable == null || !analysisTable.isVisible()) {
        analysisTable = new TextWindow(TITLE + " Combined Analysis", createHeader(true), "", 1000, 300);
        analysisTable.setVisible(true);
    }
}
Also used : TextWindow(ij.text.TextWindow)

Example 13 with TextWindow

use of ij.text.TextWindow in project GDSC-SMLM by aherbert.

the class BenchmarkSmartSpotRanking method createTable.

private void createTable() {
    if (summaryTable == null || !summaryTable.isVisible()) {
        summaryTable = new TextWindow(TITLE, createHeader(false), "", 1000, 300);
        summaryTable.setVisible(true);
    }
}
Also used : TextWindow(ij.text.TextWindow)

Example 14 with TextWindow

use of ij.text.TextWindow in project GDSC-SMLM by aherbert.

the class BenchmarkSpotFilter method getTable.

private BufferedTextWindow getTable(boolean batchSummary) {
    if (batchSummary) {
        if (batchSummaryTable == null || !batchSummaryTable.isVisible()) {
            TextWindow table = new TextWindow(TITLE + " Batch", createHeader(), "", 1000, 300);
            table.setVisible(true);
            batchSummaryTable = new BufferedTextWindow(table);
        }
        return batchSummaryTable;
    } else {
        if (summaryTable == null || !summaryTable.isVisible()) {
            TextWindow table = new TextWindow(TITLE, createHeader(), "", 1000, 300);
            table.setVisible(true);
            summaryTable = new BufferedTextWindow(table);
        }
        return summaryTable;
    }
}
Also used : TextWindow(ij.text.TextWindow) BufferedTextWindow(gdsc.core.ij.BufferedTextWindow) BufferedTextWindow(gdsc.core.ij.BufferedTextWindow)

Example 15 with TextWindow

use of ij.text.TextWindow in project GDSC-SMLM by aherbert.

the class PCPALMFitting method createResultsTable.

private void createResultsTable() {
    if (resultsTable == null || !resultsTable.isVisible()) {
        StringBuilder sb = new StringBuilder();
        sb.append("Model\t");
        sb.append("Colour\t");
        sb.append("Valid\t");
        sb.append("Precision (nm)\t");
        sb.append("Density (um^-2)\t");
        sb.append("Domain Radius (nm)\t");
        // TODO - Find out the units of the domain density
        sb.append("Domain Density\t");
        sb.append("N-cluster\t");
        sb.append("Coherence\t");
        sb.append("cAIC\t");
        resultsTable = new TextWindow(TITLE, sb.toString(), (String) null, 800, 300);
    }
}
Also used : TextWindow(ij.text.TextWindow)

Aggregations

TextWindow (ij.text.TextWindow)61 Point (java.awt.Point)11 BufferedTextWindow (uk.ac.sussex.gdsc.core.ij.BufferedTextWindow)11 BufferedTextWindow (gdsc.core.ij.BufferedTextWindow)7 ArrayList (java.util.ArrayList)6 PointPair (uk.ac.sussex.gdsc.core.match.PointPair)5 IJ (ij.IJ)4 ImagePlus (ij.ImagePlus)4 LinkedList (java.util.LinkedList)4 Coordinate (uk.ac.sussex.gdsc.core.match.Coordinate)4 ImageROIPainter (gdsc.smlm.ij.utils.ImageROIPainter)3 List (java.util.List)3 PeakResultPoint (uk.ac.sussex.gdsc.smlm.results.PeakResultPoint)3 Coordinate (gdsc.core.match.Coordinate)2 MatchResult (gdsc.core.match.MatchResult)2 PointPair (gdsc.core.match.PointPair)2 TIntHashSet (gnu.trove.set.hash.TIntHashSet)2 GenericDialog (ij.gui.GenericDialog)2 ImageWindow (ij.gui.ImageWindow)2 PlotWindow (ij.gui.PlotWindow)2