Class ProcessInputImages<V extends mpicbg.spim.data.sequence.ViewId>
java.lang.Object
net.preibisch.mvrecon.process.deconvolution.util.ProcessInputImages<V>
-
Constructor Summary
ConstructorsConstructorDescriptionProcessInputImages(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, Collection<Group<V>> groups, ExecutorService service, net.imglib2.Interval bb, double downsampling, boolean useWeightsFusion, float blendingRangeFusion, float blendingBorderFusion, boolean useWeightsDecon, float blendingRangeDeconvolution, float blendingBorderDeconvolution, Map<? extends mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> intensityAdjustments) ProcessInputImages(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, Collection<Group<V>> groups, ExecutorService service, net.imglib2.Interval bb, double downsampling, Map<? extends mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> intensityAdjustments) ProcessInputImages(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, Collection<Group<V>> groups, ExecutorService service, net.imglib2.Interval bb, Map<? extends mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> intensityAdjustments) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcacheImages(int cellDim, int maxCacheSize) voidvoidcacheNormalizedWeights(int cellDim, int maxCacheSize) static <V extends mpicbg.spim.data.sequence.ViewId>
voidcacheRandomAccessibleInterval(Collection<Group<V>> groups, int cellDim, int maxCacheSize, HashMap<Group<V>, net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> images) voidvoidcacheUnnormalizedWeights(int cellDim, int maxCacheSize) voidvoidvoidvoidcopyNormalizedWeights(net.imglib2.img.ImgFactory<net.imglib2.type.numeric.real.FloatType> imgFactory) static <V extends mpicbg.spim.data.sequence.ViewId>
voidcopyRandomAccessibleInterval(Collection<Group<V>> groups, ExecutorService service, net.imglib2.img.ImgFactory<net.imglib2.type.numeric.real.FloatType> factory, HashMap<Group<V>, net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> images) voidvoidcopyUnnormalizedWeights(net.imglib2.img.ImgFactory<net.imglib2.type.numeric.real.FloatType> imgFactory) voidstatic <V extends mpicbg.spim.data.sequence.ViewId>
net.imglib2.IntervalfuseGroups(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, HashMap<Group<V>, net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> tImgs, HashMap<Group<V>, net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> tWeights, HashMap<V, net.imglib2.realtransform.AffineTransform3D> models, Collection<Group<V>> groups, net.imglib2.Interval boundingBox, double downsampling, float[] blendingRangeFusion, float[] blendingBorderFusion, float[] blendingRangeDecon, float[] blendingBorderDecon, Map<? extends mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> intensityAdjustments) voidvoidnormalizeWeights(double osemspeedup) voidnormalizeWeights(double osemspeedup, boolean additionalSmoothBlending, float maxDiffRange, float scalingRange) static <V extends mpicbg.spim.data.sequence.ViewId>
HashMap<Group<V>, net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> normalizeWeights(HashMap<Group<V>, net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> unnormalizedWeights, List<Group<V>> groups, double osemspeedup, boolean additionalSmoothBlending, float maxDiffRange, float scalingRange)
-
Constructor Details
-
ProcessInputImages
public ProcessInputImages(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, Collection<Group<V>> groups, ExecutorService service, net.imglib2.Interval bb, double downsampling, boolean useWeightsFusion, float blendingRangeFusion, float blendingBorderFusion, boolean useWeightsDecon, float blendingRangeDeconvolution, float blendingBorderDeconvolution, Map<? extends mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> intensityAdjustments) -
ProcessInputImages
public ProcessInputImages(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, Collection<Group<V>> groups, ExecutorService service, net.imglib2.Interval bb, double downsampling, Map<? extends mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> intensityAdjustments) -
ProcessInputImages
public ProcessInputImages(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, Collection<Group<V>> groups, ExecutorService service, net.imglib2.Interval bb, Map<? extends mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> intensityAdjustments)
-
-
Method Details
-
getGroups
-
getBoundingBox
-
getDownsampledBoundingBox
-
getDownsampledModels
-
getImages
public HashMap<Group<V>,net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> getImages() -
getNormalizedWeights
public HashMap<Group<V>,net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> getNormalizedWeights() -
getUnnormalizedWeights
public HashMap<Group<V>,net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> getUnnormalizedWeights() -
fuseGroups
public void fuseGroups() -
cacheImages
public void cacheImages(int cellDim, int maxCacheSize) -
cacheImages
public void cacheImages() -
copyImages
public void copyImages(net.imglib2.img.ImgFactory<net.imglib2.type.numeric.real.FloatType> imgFactory) -
copyImages
public void copyImages() -
cacheUnnormalizedWeights
public void cacheUnnormalizedWeights(int cellDim, int maxCacheSize) -
cacheUnnormalizedWeights
public void cacheUnnormalizedWeights() -
copyUnnormalizedWeights
public void copyUnnormalizedWeights(net.imglib2.img.ImgFactory<net.imglib2.type.numeric.real.FloatType> imgFactory) -
copyUnnormalizedWeights
public void copyUnnormalizedWeights() -
cacheNormalizedWeights
public void cacheNormalizedWeights(int cellDim, int maxCacheSize) -
cacheNormalizedWeights
public void cacheNormalizedWeights() -
copyNormalizedWeights
public void copyNormalizedWeights(net.imglib2.img.ImgFactory<net.imglib2.type.numeric.real.FloatType> imgFactory) -
copyNormalizedWeights
public void copyNormalizedWeights() -
normalizeWeights
public void normalizeWeights() -
normalizeWeights
public void normalizeWeights(double osemspeedup) -
normalizeWeights
public void normalizeWeights(double osemspeedup, boolean additionalSmoothBlending, float maxDiffRange, float scalingRange) -
normalizeWeights
public static <V extends mpicbg.spim.data.sequence.ViewId> HashMap<Group<V>,net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> normalizeWeights(HashMap<Group<V>, net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> unnormalizedWeights, List<Group<V>> groups, double osemspeedup, boolean additionalSmoothBlending, float maxDiffRange, float scalingRange) -
cacheRandomAccessibleInterval
public static <V extends mpicbg.spim.data.sequence.ViewId> void cacheRandomAccessibleInterval(Collection<Group<V>> groups, int cellDim, int maxCacheSize, HashMap<Group<V>, net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> images) -
copyRandomAccessibleInterval
public static <V extends mpicbg.spim.data.sequence.ViewId> void copyRandomAccessibleInterval(Collection<Group<V>> groups, ExecutorService service, net.imglib2.img.ImgFactory<net.imglib2.type.numeric.real.FloatType> factory, HashMap<Group<V>, net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> images) -
fuseGroups
public static <V extends mpicbg.spim.data.sequence.ViewId> net.imglib2.Interval fuseGroups(mpicbg.spim.data.generic.AbstractSpimData<?> spimData, HashMap<Group<V>, net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> tImgs, HashMap<Group<V>, net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> tWeights, HashMap<V, net.imglib2.realtransform.AffineTransform3D> models, Collection<Group<V>> groups, net.imglib2.Interval boundingBox, double downsampling, float[] blendingRangeFusion, float[] blendingBorderFusion, float[] blendingRangeDecon, float[] blendingBorderDecon, Map<? extends mpicbg.spim.data.sequence.ViewId, mpicbg.models.AffineModel1D> intensityAdjustments)
-