public abstract class AbstractMultiThreadedConvolution<T> extends Object implements Convolution<T>
ExecutorService. This implements the method
Convolution.setExecutor(ExecutorService).
Classes that derive from AbstractMultiThreadedConvolution must
override
process(RandomAccessible, RandomAccessibleInterval, ExecutorService, int)
| Constructor and Description |
|---|
AbstractMultiThreadedConvolution() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(RandomAccessible<? extends T> source,
RandomAccessibleInterval<? extends T> target)
Fills the target image, with the convolution result.
|
protected abstract void |
process(RandomAccessible<? extends T> source,
RandomAccessibleInterval<? extends T> target,
ExecutorService executorService,
int numThreads) |
void |
setExecutor(ExecutorService executor)
Set the
ExecutorService to be used for convolution. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconcat, concat, preferredSourceType, requiredSourceIntervalprotected abstract void process(RandomAccessible<? extends T> source, RandomAccessibleInterval<? extends T> target, ExecutorService executorService, int numThreads)
public void setExecutor(ExecutorService executor)
ConvolutionExecutorService to be used for convolution.setExecutor in interface Convolution<T>public final void process(RandomAccessible<? extends T> source, RandomAccessibleInterval<? extends T> target)
Convolutionprocess in interface Convolution<T>source - Source image. It must allow pixel access in the interval
returned by requiredSourceInterval(target)target - Target image.Copyright © 2009–2019 ImgLib2. All rights reserved.