public abstract class Fusion extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
avgPixels |
protected List<Channel> |
channelsToProcess |
static int |
defaultInterpolation |
static boolean |
defaultUseBlending |
static boolean |
defaultUseContentBased |
protected int |
interpolation |
static String[] |
interpolationTypes |
protected Map<ViewSetup,ViewSetup> |
newViewsetups
Maps from an old Viewsetup to a new ViewSetup that is created by the fusion
|
protected SpimData2 |
spimData |
protected List<TimePoint> |
timepointsToProcess |
protected boolean |
useBlending |
protected boolean |
useContentBased |
protected List<ViewId> |
viewIdsToProcess
which ViewId to process, set in queryParameters
|
Constructor and Description |
---|
Fusion(SpimData2 spimData,
List<ViewId> viewIdsToProcess) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
compressBoundingBoxDialog()
compress the bounding box dialog as much as possible to let more space for extra parameters
|
protected long |
computeAvgImageSize() |
protected int |
computeMaxNumViews() |
protected abstract Map<ViewSetup,ViewSetup> |
createNewViewSetups(BoundingBoxGUI bb)
Set up the list of new viewsetups that are created with this fusion.
|
void |
defineNewViewSetups(BoundingBoxGUI bb) |
abstract boolean |
fuseData(BoundingBoxGUI bb,
ImgExport exporter)
Fuses and saves/displays
|
abstract String |
getDescription() |
int |
getInterpolation() |
int |
getMaxNumViewsPerTimepoint() |
List<ViewSetup> |
getNewViewSetups() |
List<TimePoint> |
getTimepointsToProcess() |
abstract Fusion |
newInstance(SpimData2 spimData,
List<ViewId> viewIdsToProcess) |
abstract boolean |
parseAdditionalParameters(GenericDialog gd)
Parse the additional parameters added before within the bounding box dialog
|
abstract void |
queryAdditionalParameters(GenericDialog gd)
Query additional parameters within the bounding box dialog
|
abstract boolean |
queryParameters()
Query the necessary parameters for the fusion (new dialog has to be made)
|
void |
registerAdditionalListeners(BoundingBoxGUI.ManageListeners m)
In case there are some other Listener upon whom the memory needs to be recomputed in the Manual Bounding Box.
|
abstract boolean |
supports16BitUnsigned() |
abstract boolean |
supportsDownsampling() |
abstract long |
totalRAM(long fusedSizeMB,
int bytePerPixel) |
public static String[] interpolationTypes
public static int defaultInterpolation
protected int interpolation
public static boolean defaultUseBlending
protected boolean useBlending
public static boolean defaultUseContentBased
protected boolean useContentBased
protected Map<ViewSetup,ViewSetup> newViewsetups
protected final List<ViewId> viewIdsToProcess
protected final SpimData2 spimData
protected final long avgPixels
public abstract long totalRAM(long fusedSizeMB, int bytePerPixel)
public int getMaxNumViewsPerTimepoint()
public int getInterpolation()
public abstract boolean fuseData(BoundingBoxGUI bb, ImgExport exporter)
bb
- public List<TimePoint> getTimepointsToProcess()
public List<ViewSetup> getNewViewSetups()
protected abstract Map<ViewSetup,ViewSetup> createNewViewSetups(BoundingBoxGUI bb)
bb
- - the bounding box used for fusing the datapublic void defineNewViewSetups(BoundingBoxGUI bb)
public abstract boolean supports16BitUnsigned()
public abstract boolean supportsDownsampling()
public abstract boolean compressBoundingBoxDialog()
public abstract boolean queryParameters()
public abstract void queryAdditionalParameters(GenericDialog gd)
public void registerAdditionalListeners(BoundingBoxGUI.ManageListeners m)
m
- public abstract boolean parseAdditionalParameters(GenericDialog gd)
gd
- public abstract Fusion newInstance(SpimData2 spimData, List<ViewId> viewIdsToProcess)
spimData
- viewIdsToProcess-
- which viewIds to fusepublic abstract String getDescription()
protected long computeAvgImageSize()
protected int computeMaxNumViews()
Copyright © 2015–2021 Fiji. All rights reserved.