Module org.scijava.ops.image
Class DefaultComputeFFTSize
- java.lang.Object
-
- org.scijava.ops.image.filter.fftSize.DefaultComputeFFTSize
-
- All Implemented Interfaces:
BiFunction<Dimensions,Boolean,long[][]>
public class DefaultComputeFFTSize extends Object implements BiFunction<Dimensions,Boolean,long[][]>
Op that calculates FFT fast sizes according to the following logic. If powerOfTwo=true compute next power of 2 If powerOfTwo=false compute next smooth size- Author:
- Brian Northan
- Implementation Note:
- op names='filter.fftSize'
-
-
Constructor Summary
Constructors Constructor Description DefaultComputeFFTSize()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[][]apply(Dimensions dimensions, Boolean powerOfTwo)TODO-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Method Detail
-
apply
public long[][] apply(Dimensions dimensions, Boolean powerOfTwo)
TODO- Specified by:
applyin interfaceBiFunction<Dimensions,Boolean,long[][]>- Parameters:
dimensions-powerOfTwo-- Returns:
- the outputSizes
-
-