use of ij.text.TextWindow in project GDSC-SMLM by aherbert.
the class Noise method showResults.
private void showResults() {
Collections.sort(results, new Comparator<double[]>() {
public int compare(double[] o1, double[] o2) {
// Sort on slice number
return (o1[0] < o2[0]) ? -1 : 1;
}
});
// Slow when there are lots of results ... Could change the output options in the future
TextWindow tw = new TextWindow(imp.getTitle() + " Noise", createHeader(), "", 800, 400);
for (double[] result : results) {
tw.append(createResult(result));
}
// TODO - ImageJ plotting is not very good. Change to use a Java plotting library
//plotResults();
}
use of ij.text.TextWindow in project GDSC-SMLM by aherbert.
the class FilterAnalysis method createResultsWindow.
private void createResultsWindow() {
if (!showResultsTable)
return;
if (isHeadless) {
IJ.log(createResultsHeader());
} else {
if (resultsWindow == null || !resultsWindow.isShowing()) {
String header = createResultsHeader();
resultsWindow = new TextWindow(TITLE + " Results", header, "", 900, 300);
}
}
}
use of ij.text.TextWindow in project GDSC-SMLM by aherbert.
the class DiffusionRateTest method createMsdTable.
private void createMsdTable(double baseMsd) {
String header = createHeader(baseMsd);
if (msdTable == null || !msdTable.isVisible()) {
msdTable = new TextWindow("MSD Analysis", header, "", 800, 300);
msdTable.setVisible(true);
} else {
//msdTable.getTextPanel().clear();
}
}
use of ij.text.TextWindow in project GDSC-SMLM by aherbert.
the class DoubletAnalysis method createSummaryTable.
/**
* Creates the summary table.
*/
private void createSummaryTable() {
if (summaryTable == null || !summaryTable.isVisible()) {
summaryTable = new TextWindow(TITLE + " Summary", createSummaryHeader(), "", 1000, 300);
summaryTable.setVisible(true);
}
}
use of ij.text.TextWindow in project GDSC-SMLM by aherbert.
the class DoubletAnalysis method createResultsTable.
/**
* Creates the results table.
*/
private void createResultsTable() {
if (resultsTable == null || !resultsTable.isVisible()) {
resultsTable = new TextWindow(TITLE + " Results", createResultsHeader(), "", 1000, 300);
resultsTable.setVisible(true);
}
}
Aggregations