public class DisplayImage extends Object implements ImgExportTitle
Constructor and Description |
---|
DisplayImage() |
DisplayImage(boolean virtualDisplay) |
Modifier and Type | Method and Description |
---|---|
<T extends RealType<T> & NativeType<T>> |
exportImage(RandomAccessibleInterval<T> img,
BoundingBoxGUI bb,
String title) |
<T extends RealType<T> & NativeType<T>> |
exportImage(RandomAccessibleInterval<T> img,
BoundingBoxGUI bb,
TimePoint tp,
ViewSetup vs)
Exports the image (min and max intensity will be computed)
|
<T extends RealType<T> & NativeType<T>> |
exportImage(RandomAccessibleInterval<T> img,
BoundingBoxGUI bb,
TimePoint tp,
ViewSetup vs,
double min,
double max)
Exports the image using a predefined min/max
|
<T extends RealType<T> & NativeType<T>> |
exportImage(RandomAccessibleInterval<T> img,
String title) |
boolean |
finish()
Called last when the fusion is finished (e.g.
|
String |
getDescription() |
static <T extends RealType<T> & NativeType<T>> |
getImagePlusInstance(RandomAccessibleInterval<T> img,
boolean virtualDisplay,
String title,
double min,
double max) |
ImgTitler |
getImgTitler() |
ImgExport |
newInstance() |
boolean |
parseAdditionalParameters(GenericDialog gd,
SpimData2 spimData)
Parse the additional parameters added before within the bounding box dialog
|
void |
queryAdditionalParameters(GenericDialog gd,
SpimData2 spimData)
Query additional parameters within the bounding box dialog
|
boolean |
queryParameters(SpimData2 spimData,
boolean is16bit)
Query the necessary parameters for the fusion (new dialog has to be made)
|
void |
setImgTitler(ImgTitler imgTitler) |
void |
setXMLData(List<TimePoint> timepointsToProcess,
List<ViewSetup> newViewSetups) |
public DisplayImage()
public DisplayImage(boolean virtualDisplay)
public <T extends RealType<T> & NativeType<T>> void exportImage(RandomAccessibleInterval<T> img, String title)
public <T extends RealType<T> & NativeType<T>> void exportImage(RandomAccessibleInterval<T> img, BoundingBoxGUI bb, String title)
public <T extends RealType<T> & NativeType<T>> boolean exportImage(RandomAccessibleInterval<T> img, BoundingBoxGUI bb, TimePoint tp, ViewSetup vs)
ImgExport
exportImage
in interface ImgExport
img
- - Note, in rare cases this can be null (i.e. do nothing)bb
- - the bounding box used to fuse this imagetp
- - the current (new) timepointvs
- - the current (new) viewsetuppublic <T extends RealType<T> & NativeType<T>> boolean exportImage(RandomAccessibleInterval<T> img, BoundingBoxGUI bb, TimePoint tp, ViewSetup vs, double min, double max)
ImgExport
exportImage
in interface ImgExport
img
- - Note, in rare cases this can be null (i.e. do nothing)bb
- - the bounding box used to fuse this imagetp
- - the current (new) timepointvs
- - the current (new) viewsetupmin
- - define min intensity of this imagemax
- - define max intensity of this imagepublic static <T extends RealType<T> & NativeType<T>> ij.ImagePlus getImagePlusInstance(RandomAccessibleInterval<T> img, boolean virtualDisplay, String title, double min, double max)
public boolean queryParameters(SpimData2 spimData, boolean is16bit)
ImgExport
queryParameters
in interface ImgExport
public void queryAdditionalParameters(GenericDialog gd, SpimData2 spimData)
ImgExport
queryAdditionalParameters
in interface ImgExport
public boolean parseAdditionalParameters(GenericDialog gd, SpimData2 spimData)
ImgExport
parseAdditionalParameters
in interface ImgExport
public ImgExport newInstance()
newInstance
in interface ImgExport
public String getDescription()
getDescription
in interface ImgExport
public void setImgTitler(ImgTitler imgTitler)
setImgTitler
in interface ImgExportTitle
public ImgTitler getImgTitler()
getImgTitler
in interface ImgExportTitle
public void setXMLData(List<TimePoint> timepointsToProcess, List<ViewSetup> newViewSetups)
setXMLData
in interface ImgExport
Copyright © 2015–2021 Fiji. All rights reserved.