S
- T
- @Deprecated public interface ConvolverFactory<S,T>
ConvolverFactory
creates 1-dimensional line convolvers. See
create(double[], RandomAccess, RandomAccess, int, long)
.Modifier and Type | Method and Description |
---|---|
Runnable |
create(double[] halfkernel,
RandomAccess<S> in,
RandomAccess<T> out,
int d,
long lineLength)
Deprecated.
Create a 1-dimensional line convolver.
|
Runnable create(double[] halfkernel, RandomAccess<S> in, RandomAccess<T> out, int d, long lineLength)
RandomAccess
. They are moved forwards a long a line in
dimension d, reading source values from the input and writing convolved
values to the output. The line convolver is a Runnable. The idea is to
put the input and an output RandomAccess
to the start of a line,
then call Runnable.run()
to do the convolution. Then the input
and an output RandomAccess
are moved to the next line,
Runnable.run()
is called again, and so on.halfkernel
- the upper half (starting at the center pixel) of the symmetric
convolution kernel.in
- RandomAccess
on the source values.out
- RandomAccess
on the target (convolved) values.d
- dimension in which to convolve.lineLength
- how many convolved values to produce in one
Runnable.run()
.Copyright © 2015–2022 ImgLib2. All rights reserved.