Class ComputeBlockMulThreadCPU
java.lang.Object
net.preibisch.mvrecon.process.deconvolution.iteration.ComputeBlockThreadAbstract
net.preibisch.mvrecon.process.deconvolution.iteration.mul.ComputeBlockMulThreadAbstract
net.preibisch.mvrecon.process.deconvolution.iteration.mul.ComputeBlockMulThreadCPU
- All Implemented Interfaces:
ComputeBlockThread,ComputeBlockMulThread
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.preibisch.mvrecon.process.deconvolution.iteration.ComputeBlockThread
ComputeBlockThread.IterationStatistics -
Constructor Summary
ConstructorsConstructorDescriptionComputeBlockMulThreadCPU(ExecutorService service, int numViews, float minValue, float lambda, int id, int[] blockSize, net.imglib2.img.ImgFactory<net.imglib2.type.numeric.real.FloatType> blockFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidconvolve1(net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> image, net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> kernel, net.imglib2.img.Img<net.imglib2.type.numeric.complex.ComplexFloatType> kernelFFT, net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> result) voidconvolve2(net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> image, net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> kernel, net.imglib2.img.Img<net.imglib2.type.numeric.complex.ComplexFloatType> kernelFFT, net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> result) runIteration(List<DeconView> view, List<net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> imgBlock, List<net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> weightBlock, List<Float> maxIntensityViews, List<net.imglib2.img.array.ArrayImg<net.imglib2.type.numeric.real.FloatType, ?>> kernel1, List<net.imglib2.img.array.ArrayImg<net.imglib2.type.numeric.real.FloatType, ?>> kernel2) run an iteration on the blockMethods inherited from class net.preibisch.mvrecon.process.deconvolution.iteration.mul.ComputeBlockMulThreadAbstract
getNumViewsMethods inherited from class net.preibisch.mvrecon.process.deconvolution.iteration.ComputeBlockThreadAbstract
getBlockSize, getId, getMinValue, getPsiBlockTmpMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.preibisch.mvrecon.process.deconvolution.iteration.ComputeBlockThread
getBlockSize, getId, getMinValue, getPsiBlockTmp
-
Constructor Details
-
ComputeBlockMulThreadCPU
public ComputeBlockMulThreadCPU(ExecutorService service, int numViews, float minValue, float lambda, int id, int[] blockSize, net.imglib2.img.ImgFactory<net.imglib2.type.numeric.real.FloatType> blockFactory)
-
-
Method Details
-
runIteration
public ComputeBlockThread.IterationStatistics runIteration(List<DeconView> view, List<net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> imgBlock, List<net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType>> weightBlock, List<Float> maxIntensityViews, List<net.imglib2.img.array.ArrayImg<net.imglib2.type.numeric.real.FloatType, ?>> kernel1, List<net.imglib2.img.array.ArrayImg<net.imglib2.type.numeric.real.FloatType, ?>> kernel2) Description copied from interface:ComputeBlockMulThreadrun an iteration on the block- Parameters:
view- - the input viewimgBlock- - the input image as block (virtual, outofbounds is zero)weightBlock- - the weights for this image (virtual, outofbounds is zero)maxIntensityViews- - the maximum intensity of the viewkernel1- - psf1kernel2- - psf2- Returns:
- - statistics of this block
-
convolve1
public void convolve1(net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> image, net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> kernel, net.imglib2.img.Img<net.imglib2.type.numeric.complex.ComplexFloatType> kernelFFT, net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> result) -
convolve2
public void convolve2(net.imglib2.RandomAccessibleInterval<net.imglib2.type.numeric.real.FloatType> image, net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> kernel, net.imglib2.img.Img<net.imglib2.type.numeric.complex.ComplexFloatType> kernelFFT, net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> result)
-