Modifier and Type | Class and Description |
---|---|
static class |
ExportSpimData2TIFF.FileNamePattern |
Constructor and Description |
---|
ExportSpimData2TIFF() |
Modifier and Type | Method and Description |
---|---|
static SpimData2 |
assembleSpimData2(List<TimePoint> timepointsToProcess,
List<ViewSetup> viewSetupsToProcess,
File basePath)
Assembles a new SpimData2 based on the timepoints and viewsetups.
|
protected SpimData2 |
createSpimData2(List<TimePoint> timepointsToProcess,
List<ViewSetup> viewSetupsToProcess,
Resave_TIFF.Parameters params) |
<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
|
boolean |
finish()
Called last when the fusion is finished (e.g.
|
String |
getDescription() |
static ExportSpimData2TIFF.FileNamePattern |
getFileNamePattern(List<TimePoint> timepoints,
List<ViewSetup> viewSetups,
boolean compress) |
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 |
setXMLData(List<TimePoint> newTimepoints,
List<ViewSetup> newViewSetups) |
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 boolean finish()
ImgExport
public void setXMLData(List<TimePoint> newTimepoints, List<ViewSetup> newViewSetups)
setXMLData
in interface ImgExport
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
protected SpimData2 createSpimData2(List<TimePoint> timepointsToProcess, List<ViewSetup> viewSetupsToProcess, Resave_TIFF.Parameters params)
public static ExportSpimData2TIFF.FileNamePattern getFileNamePattern(List<TimePoint> timepoints, List<ViewSetup> viewSetups, boolean compress)
Copyright © 2015–2021 Fiji. All rights reserved.