public interface Convolution<T>
Very importantly, multiple Convolutions can be easily concatenated.
| Modifier and Type | Method and Description |
|---|---|
static <T> Convolution<T> |
concat(Convolution<T>... steps)
Concatenate multiple
Convolutions to one convolution. |
static <T> Convolution<T> |
concat(List<? extends Convolution<T>> steps) |
T |
preferredSourceType(T targetType)
What's the preferred type for the source image, when target should have
the specified type?
|
void |
process(RandomAccessible<? extends T> source,
RandomAccessibleInterval<? extends T> target)
Fills the target image, with the convolution result.
|
Interval |
requiredSourceInterval(Interval targetInterval)
Returns the required size for source image, to calculate the given target
interval.
|
default void |
setExecutor(ExecutorService executor)
Deprecated.
|
Interval requiredSourceInterval(Interval targetInterval)
T preferredSourceType(T targetType)
@Deprecated default void setExecutor(ExecutorService executor)
ExecutorService to be used for convolution.void process(RandomAccessible<? extends T> source, RandomAccessibleInterval<? extends T> target)
source - Source image. It must allow pixel access in the interval
returned by requiredSourceInterval(target)target - Target image.static <T> Convolution<T> concat(Convolution<T>... steps)
Convolutions to one convolution. (e.g.
Concatenation of a gauss convolution in X, and a gauss convolution in Y
will be a 2d gauss convolution).static <T> Convolution<T> concat(List<? extends Convolution<T>> steps)
Copyright © 2015–2022 ImgLib2. All rights reserved.