public class EasyDisplay<T extends RealType<T>> extends Object implements ResultHandler<T>
Modifier and Type | Field and Description |
---|---|
protected DataContainer<T> |
container |
protected static ij.text.TextWindow |
textWindow |
Constructor and Description |
---|
EasyDisplay(DataContainer<T> container) |
Modifier and Type | Method and Description |
---|---|
void |
handleHistogram(Histogram2D<T> histogram,
String name) |
void |
handleImage(RandomAccessibleInterval<T> image,
String name) |
void |
handleValue(String name,
double value) |
void |
handleValue(String name,
double value,
int decimals) |
void |
handleValue(String name,
String value) |
void |
handleWarning(Warning warning) |
protected void |
printTextStatistics(DataContainer<T> container) |
void |
process()
The process method should start the processing of the
previously collected results.
|
protected void |
showImage(ij.ImagePlus imp,
double max) |
protected static ij.text.TextWindow textWindow
protected DataContainer<T extends RealType<T>> container
public EasyDisplay(DataContainer<T> container)
public void handleImage(RandomAccessibleInterval<T> image, String name)
handleImage
in interface ResultHandler<T extends RealType<T>>
public void handleHistogram(Histogram2D<T> histogram, String name)
handleHistogram
in interface ResultHandler<T extends RealType<T>>
protected void showImage(ij.ImagePlus imp, double max)
public void handleWarning(Warning warning)
handleWarning
in interface ResultHandler<T extends RealType<T>>
public void handleValue(String name, String value)
handleValue
in interface ResultHandler<T extends RealType<T>>
public void handleValue(String name, double value)
handleValue
in interface ResultHandler<T extends RealType<T>>
public void handleValue(String name, double value, int decimals)
handleValue
in interface ResultHandler<T extends RealType<T>>
protected void printTextStatistics(DataContainer<T> container)
public void process()
ResultHandler
process
in interface ResultHandler<T extends RealType<T>>
Copyright © 2015–2021 Fiji. All rights reserved.