Class DeconvolutionGUI
java.lang.Object
net.preibisch.mvrecon.fiji.plugin.fusion.DeconvolutionGUI
- All Implemented Interfaces:
FusionExportInterface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected floatprotected floatstatic String[]protected int[]protected intprotected intprotected intprotected intprotected intprotected intstatic String[]protected ComputeBlockThreadFactory<?> protected intprotected intprotected booleanstatic booleanstatic booleanstatic booleanstatic intstatic floatstatic floatstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic booleanstatic doublestatic booleanstatic booleanstatic intstatic intstatic doublestatic booleanstatic intstatic doublestatic booleanstatic intstatic intstatic intstatic Stringstatic intstatic booleanstatic booleanstatic intprotected doubleprotected booleanprotected booleanprotected intstatic final String[]protected doubleprotected long[]protected booleanprotected NonRigidParametersGUIprotected intprotected doublestatic String[]protected booleanprotected intstatic String[]protected intprotected intstatic String[]protected Stringprotected final SpimData2protected intstatic String[]protected booleanprotected boolean -
Constructor Summary
ConstructorsConstructorDescriptionDeconvolutionGUI(SpimData2 spimData, List<mpicbg.spim.data.sequence.ViewId> views, ExecutorService service) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleandoubleprotected booleanfloatfloatprotected booleanintintint[]protected booleanprotected booleangetDebug()intbooleandoublefloatintdoubleint0 == "32-bit floating point", 1 == "16-bit unsigned integer"getPSFs()intprotected booleanint0 == "Each timepoint & channel", 1 == "Each timepoint, channel & illumination", 2 == "All views together", 3 == "Each view"booleangetViews()booleanbooleanbooleanbooleanbooleanstatic booleanisPowerOfTwo(int value) static booleanisPowerOfTwo(int[] values) static long[]maxTransformedKernel(HashMap<mpicbg.spim.data.sequence.ViewId, PointSpreadFunction> psfs, mpicbg.spim.data.registration.ViewRegistrations vr) booleanboolean
-
Field Details
-
staticImgExportAlgorithms
-
imgExportDescriptions
-
computationOnChoice
-
osemspeedupChoice
-
blocksChoice
-
psfTypeChoice
-
psiInitChoice
-
splittingTypes
-
defaultBB
public static int defaultBB -
defaultInputImgCacheType
public static int defaultInputImgCacheType -
defaultWeightCacheType
public static int defaultWeightCacheType -
defaultDownsampling
public static double defaultDownsampling -
defaultAdjustIntensities
public static boolean defaultAdjustIntensities -
defaultMul
public static boolean defaultMul -
defaultPSFType
public static int defaultPSFType -
defaultPsiInit
public static int defaultPsiInit -
defaultOsemSpeedup
public static double defaultOsemSpeedup -
defaultNumIterations
public static int defaultNumIterations -
defaultDebugMode
public static boolean defaultDebugMode -
defaultDebugInterval
public static int defaultDebugInterval -
defaultUseTikhonovRegularization
public static boolean defaultUseTikhonovRegularization -
defaultLambda
public static double defaultLambda -
defaultBlockSizeIndex
public static int defaultBlockSizeIndex -
defaultBlockSizeX
public static int defaultBlockSizeX -
defaultBlockSizeY
public static int defaultBlockSizeY -
defaultBlockSizeZ
public static int defaultBlockSizeZ -
defaultTestEmptyBlocks
public static boolean defaultTestEmptyBlocks -
defaultCacheBlockSize
public static int defaultCacheBlockSize -
defaultCacheMaxNumBlocks
public static int defaultCacheMaxNumBlocks -
defaultPsiCopyBlockSize
public static int defaultPsiCopyBlockSize -
defaultComputeOnIndex
public static int defaultComputeOnIndex -
defaultAdjustBlending
public static boolean defaultAdjustBlending -
defaultBlendingRange
public static float defaultBlendingRange -
defaultBlendingBorder
public static float defaultBlendingBorder -
defaultAdditionalSmoothBlending
public static boolean defaultAdditionalSmoothBlending -
defaultGroupTiles
public static boolean defaultGroupTiles -
defaultGroupIllums
public static boolean defaultGroupIllums -
defaultSplittingType
public static int defaultSplittingType -
defaultImgExportAlgorithm
public static int defaultImgExportAlgorithm -
defaultPsiStartFile
-
defaultPreciseAvgMax
public static boolean defaultPreciseAvgMax -
boundingBox
protected int boundingBox -
downsampling
protected double downsampling -
adjustIntensities
protected boolean adjustIntensities -
mul
protected boolean mul -
cacheTypeInputImg
protected int cacheTypeInputImg -
cacheTypeWeights
protected int cacheTypeWeights -
psfType
protected int psfType -
psiInit
protected int psiInit -
osemSpeedup
protected double osemSpeedup -
numIterations
protected int numIterations -
debugMode
protected boolean debugMode -
debugInterval
protected int debugInterval -
useTikhonov
protected boolean useTikhonov -
lambda
protected double lambda -
blockSizeIndex
protected int blockSizeIndex -
blockSize
protected int[] blockSize -
testEmptyBlocks
protected boolean testEmptyBlocks -
cacheBlockSize
protected int cacheBlockSize -
cacheMaxNumBlocks
protected int cacheMaxNumBlocks -
psiCopyBlockSize
protected int psiCopyBlockSize -
computeOnIndex
protected int computeOnIndex -
psiFactory
-
copyFactory
-
blockFactory
-
computeFactory
-
adjustBlending
protected boolean adjustBlending -
blendingRange
protected float blendingRange -
blendingBorder
protected float blendingBorder -
additionalSmoothBlending
protected boolean additionalSmoothBlending -
groupTiles
protected boolean groupTiles -
groupIllums
protected boolean groupIllums -
splittingType
protected int splittingType -
imgExport
protected int imgExport -
maxBlock
protected long[] maxBlock -
psiStartFile
-
preciseAvgMax
protected boolean preciseAvgMax -
nrgui
-
spimData
-
-
Constructor Details
-
DeconvolutionGUI
public DeconvolutionGUI(SpimData2 spimData, List<mpicbg.spim.data.sequence.ViewId> views, ExecutorService service)
-
-
Method Details
-
getSpimData
- Specified by:
getSpimDatain interfaceFusionExportInterface
-
getViews
- Specified by:
getViewsin interfaceFusionExportInterface
-
getBoundingBox
-
getDownsampledBoundingBox
- Specified by:
getDownsampledBoundingBoxin interfaceFusionExportInterface
-
getPixelType
public int getPixelType()Description copied from interface:FusionExportInterface0 == "32-bit floating point", 1 == "16-bit unsigned integer"- Specified by:
getPixelTypein interfaceFusionExportInterface- Returns:
- the pixel type
-
getDownsampling
public double getDownsampling()- Specified by:
getDownsamplingin interfaceFusionExportInterface- Returns:
- the downsampling used for the fusion, or Double.NaN if no downsampling
-
getAnisotropyFactor
public double getAnisotropyFactor()- Specified by:
getAnisotropyFactorin interfaceFusionExportInterface- Returns:
- the average anisotropy factor in z of all views used to "flatten" the fused image, or Double.NaN if no change
-
adjustIntensities
public boolean adjustIntensities() -
getSplittingType
public int getSplittingType()Description copied from interface:FusionExportInterface0 == "Each timepoint & channel", 1 == "Each timepoint, channel & illumination", 2 == "All views together", 3 == "Each view"- Specified by:
getSplittingTypein interfaceFusionExportInterface- Returns:
- - how the views that are processed are split up
-
getInputImgCacheType
-
getWeightCacheType
-
getPSFType
-
getOSEMSpeedUp
public double getOSEMSpeedUp() -
getNumIterations
public int getNumIterations() -
getDebugMode
public boolean getDebugMode() -
getDebugInterval
public int getDebugInterval() -
getUseTikhonov
public boolean getUseTikhonov() -
getLambda
public float getLambda() -
getComputeBlockSize
public int[] getComputeBlockSize() -
testEmptyBlocks
public boolean testEmptyBlocks() -
getCacheBlockSize
public int getCacheBlockSize() -
getCacheMaxNumBlocks
public int getCacheMaxNumBlocks() -
getPsiCopyBlockSize
public int getPsiCopyBlockSize() -
getBlockFactory
-
getPsiFactory
-
getCopyFactory
-
getComputeBlockThreadFactory
-
isMultiplicative
public boolean isMultiplicative() -
getBlendingRange
public float getBlendingRange() -
getBlendingBorder
public float getBlendingBorder() -
getAdditionalSmoothBlending
public boolean getAdditionalSmoothBlending() -
groupTiles
public boolean groupTiles() -
groupIllums
public boolean groupIllums() -
getNonRigidParameters
-
getPsiInitFactory
-
getNewExporterInstance
- Specified by:
getNewExporterInstancein interfaceFusionExportInterface- Returns:
- - creates a new instance of the exporter object
-
queryDetails
public boolean queryDetails() -
isImgLoaderVirtual
public boolean isImgLoaderVirtual() -
isMultiResolution
public boolean isMultiResolution() -
getFusionGroups
- Specified by:
getFusionGroupsin interfaceFusionExportInterface
-
getDeconvolutionGrouping
public List<Group<mpicbg.spim.data.sequence.ViewDescription>> getDeconvolutionGrouping(Group<mpicbg.spim.data.sequence.ViewDescription> group) -
getPSFs
-
getPsiFile
protected boolean getPsiFile() -
getDebug
protected boolean getDebug() -
getBlocks
protected boolean getBlocks() -
isPowerOfTwo
public static boolean isPowerOfTwo(int[] values) -
isPowerOfTwo
public static boolean isPowerOfTwo(int value) -
getComputeDevice
protected boolean getComputeDevice() -
getBlendingAndGrouping
protected boolean getBlendingAndGrouping() -
maxTransformedKernel
public static long[] maxTransformedKernel(HashMap<mpicbg.spim.data.sequence.ViewId, PointSpreadFunction> psfs, mpicbg.spim.data.registration.ViewRegistrations vr)
-