imagej / imagej-ops

ImageJ Ops: "Write once, run anywhere" image processing
https://imagej.net/libs/imagej-ops
BSD 2-Clause "Simplified" License
88 stars 42 forks source link

Allow OOBF to be passed on to PadAndConvolveFFT #629

Closed gselzer closed 4 years ago

gselzer commented 4 years ago

It is often desired to pass some OutOfBoundsFactory to PadAndConvolveFFTF, and when one does this it is expected that the OOBF is passed on to the underlying convolve Op. This was not happening, however, and a OutOfBoundsConstantValueFactory was always being used. This PR allows an OOBF being passed to PadAndConvolveFFTF to be given to the underlying convolve Op, ensuring expected behavior.

author: @bnorthan

Closes #628