public class WeightedAverageFusion extends Fusion
Modifier and Type | Class and Description |
---|---|
static class |
WeightedAverageFusion.WeightedAvgFusionType |
Modifier and Type | Field and Description |
---|---|
static int |
defaultNumParalellViewsIndex |
protected int |
numParalellViews |
protected Choice |
sequentialViews |
avgPixels, channelsToProcess, defaultInterpolation, defaultUseBlending, defaultUseContentBased, interpolation, interpolationTypes, newViewsetups, spimData, timepointsToProcess, useBlending, useContentBased, viewIdsToProcess
Constructor and Description |
---|
WeightedAverageFusion(SpimData2 spimData,
List<ViewId> viewIdsToProcess,
WeightedAverageFusion.WeightedAvgFusionType type) |
Modifier and Type | Method and Description |
---|---|
static Map<ViewSetup,ViewSetup> |
assembleNewViewSetupsFusion(SpimData2 spimData,
List<ViewId> viewIdsToProcess,
BoundingBoxGUI bb,
String newAngleName,
String newIlluminationName)
Creates one new Angle and one new Illumination for the fused dataset.
|
static Map<ViewSetup,ViewSetup> |
assembleNewViewSetupsSequential(SpimData2 spimData,
List<ViewId> viewIdsToProcess,
BoundingBoxGUI bb)
Duplicates all Angles and Illuminations that are processed.
|
boolean |
compressBoundingBoxDialog()
compress the bounding box dialog as much as possible to let more space for extra parameters
|
protected Map<ViewSetup,ViewSetup> |
createNewViewSetups(BoundingBoxGUI bb)
Set up the list of new viewsetups that are created with this fusion.
|
boolean |
fuseData(BoundingBoxGUI bb,
ImgExport exporter)
Fuses and saves/displays
|
String |
getDescription() |
WeightedAverageFusion.WeightedAvgFusionType |
getFusionType() |
<T extends RealType<T>> |
getInterpolatorFactory(T type) |
WeightedAverageFusion |
newInstance(SpimData2 spimData,
List<ViewId> viewIdsToProcess) |
boolean |
parseAdditionalParameters(GenericDialog gd)
Parse the additional parameters added before within the bounding box dialog
|
void |
queryAdditionalParameters(GenericDialog gd)
Query additional parameters within the bounding box dialog
|
boolean |
queryParameters()
Query the necessary parameters for the fusion (new dialog has to be made)
|
boolean |
supports16BitUnsigned() |
boolean |
supportsDownsampling() |
long |
totalRAM(long fusedSizeMB,
int bytePerPixel) |
computeAvgImageSize, computeMaxNumViews, defineNewViewSetups, getInterpolation, getMaxNumViewsPerTimepoint, getNewViewSetups, getTimepointsToProcess, registerAdditionalListeners
public static int defaultNumParalellViewsIndex
protected int numParalellViews
protected Choice sequentialViews
public WeightedAverageFusion(SpimData2 spimData, List<ViewId> viewIdsToProcess, WeightedAverageFusion.WeightedAvgFusionType type)
public WeightedAverageFusion.WeightedAvgFusionType getFusionType()
public <T extends RealType<T>> InterpolatorFactory<T,RandomAccessible<T>> getInterpolatorFactory(T type)
public boolean fuseData(BoundingBoxGUI bb, ImgExport exporter)
Fusion
public boolean queryParameters()
Fusion
queryParameters
in class Fusion
public WeightedAverageFusion newInstance(SpimData2 spimData, List<ViewId> viewIdsToProcess)
newInstance
in class Fusion
public String getDescription()
getDescription
in class Fusion
public boolean supports16BitUnsigned()
supports16BitUnsigned
in class Fusion
public boolean supportsDownsampling()
supportsDownsampling
in class Fusion
public boolean compressBoundingBoxDialog()
Fusion
compressBoundingBoxDialog
in class Fusion
public void queryAdditionalParameters(GenericDialog gd)
Fusion
queryAdditionalParameters
in class Fusion
public boolean parseAdditionalParameters(GenericDialog gd)
Fusion
parseAdditionalParameters
in class Fusion
public long totalRAM(long fusedSizeMB, int bytePerPixel)
protected Map<ViewSetup,ViewSetup> createNewViewSetups(BoundingBoxGUI bb)
Fusion
createNewViewSetups
in class Fusion
bb
- - the bounding box used for fusing the datapublic static Map<ViewSetup,ViewSetup> assembleNewViewSetupsFusion(SpimData2 spimData, List<ViewId> viewIdsToProcess, BoundingBoxGUI bb, String newAngleName, String newIlluminationName)
spimData
- viewIdsToProcess
- bb
- newAngleName
- newIlluminationName
- public static Map<ViewSetup,ViewSetup> assembleNewViewSetupsSequential(SpimData2 spimData, List<ViewId> viewIdsToProcess, BoundingBoxGUI bb)
spimData
- viewIdsToProcess
- bb
- Copyright © 2015–2021 Fiji. All rights reserved.