Class ComputeBlockThreadAbstract
java.lang.Object
net.preibisch.mvrecon.process.deconvolution.iteration.ComputeBlockThreadAbstract
- All Implemented Interfaces:
ComputeBlockThread
- Direct Known Subclasses:
ComputeBlockMulThreadAbstract,ComputeBlockSeqThreadAbstract
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.preibisch.mvrecon.process.deconvolution.iteration.ComputeBlockThread
ComputeBlockThread.IterationStatistics -
Constructor Summary
ConstructorsConstructorDescriptionComputeBlockThreadAbstract(net.imglib2.img.ImgFactory<net.imglib2.type.numeric.real.FloatType> blockFactory, float minValue, int[] blockSize, int id) Instantiate a block thread -
Method Summary
Modifier and TypeMethodDescriptionint[]intgetId()floatcontains the deconvolved image at the current iteration, copied into a block from outside (outofbounds is mirror)
-
Constructor Details
-
ComputeBlockThreadAbstract
public ComputeBlockThreadAbstract(net.imglib2.img.ImgFactory<net.imglib2.type.numeric.real.FloatType> blockFactory, float minValue, int[] blockSize, int id) Instantiate a block thread- Parameters:
blockFactory- - which ImgFactory to use for the copy of the deconvolved imageminValue- - the minimum value inside the deconvolved imageblockSize- - the block size in which we processid- - the unique id of this thread, greater or equal to 0, starting at 0 and increasing by 1 each thread
-
-
Method Details
-
getBlockSize
public int[] getBlockSize()- Specified by:
getBlockSizein interfaceComputeBlockThread- Returns:
- the block size in which we process
-
getMinValue
public float getMinValue()- Specified by:
getMinValuein interfaceComputeBlockThread- Returns:
- the minimum value inside the deconvolved image
-
getId
public int getId()- Specified by:
getIdin interfaceComputeBlockThread- Returns:
- the unique id of this thread, greater or equal to 0
-
getPsiBlockTmp
contains the deconvolved image at the current iteration, copied into a block from outside (outofbounds is mirror)- Specified by:
getPsiBlockTmpin interfaceComputeBlockThread- Returns:
- the Img to use in order to provide the copied psiBlock
-