@Deprecated 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()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
process(RandomAccessible<? extends T> source,
RandomAccessibleInterval<? extends T> target)
Deprecated.
Fills the target image, with the convolution result.
|
protected abstract void |
process(RandomAccessible<? extends T> source,
RandomAccessibleInterval<? extends T> target,
ExecutorService executorService,
int numThreads)
Deprecated.
|
void |
setExecutor(ExecutorService executor)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
concat, concat, preferredSourceType, requiredSourceInterval
public AbstractMultiThreadedConvolution()
protected abstract void process(RandomAccessible<? extends T> source, RandomAccessibleInterval<? extends T> target, ExecutorService executorService, int numThreads)
@Deprecated public void setExecutor(ExecutorService executor)
Convolution
ExecutorService
to be used for convolution.setExecutor
in interface Convolution<T>
public final void process(RandomAccessible<? extends T> source, RandomAccessibleInterval<? extends T> target)
Convolution
process
in interface Convolution<T>
source
- Source image. It must allow pixel access in the interval
returned by requiredSourceInterval(target)
target
- Target image.Copyright © 2015–2022 ImgLib2. All rights reserved.