Object

toolkit.filtering

PeriodicFFT

Related Doc: package filtering

Permalink

object PeriodicFFT extends libcog.Logarithm with FloatMath

Implements Moisan's periodic FFT. This is modeled on Peter Kovesi's Matlab implementation of the algorithm. See the paper "Periodic plus Smooth Image Decomposition," Journal of Mathematical Imaging and Vision, vol 39:2, pp. 161-179, 2011.

The input is an image that is suitable for the FFT (number of rows and columns are powers of 2). The output is the FFT of the "periodic" component of the input image with border effects suppressed.

NOTE: This could be sped up by writing a GPU kernel for computeBoundaryImage.

Linear Supertypes
FloatMath, Logarithm, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PeriodicFFT
  2. FloatMath
  3. Logarithm
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val Pi: Float

    Permalink
    Definition Classes
    FloatMath
  5. def acos(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  6. def apply(image: libcog.ScalarField): (libcog.ComplexField, libcog.ComplexField)

    Permalink

    Compute the "periodic" FFT of an image.

    Compute the "periodic" FFT of an image. This suppresses border effects with minimal impact on filters.

    image

    The input image to be transformed with the periodic FFT.

    returns

    The transformed image in the frequency domain of the (periodic, smooth) components.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def asin(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  9. def atan(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  10. def atan2(x: Float, y: Float): Float

    Permalink
    Definition Classes
    FloatMath
  11. def cbrt(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  12. def ceil(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. object computeBoundaryImage extends libcog.Operator

    Permalink

    Compute the boundary image as part of the task of constructing the smooth component.

    Compute the boundary image as part of the task of constructing the smooth component. This should be made into a GPU kernel for speed.

  15. def cos(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  16. def cosh(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def exp(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  20. def expm1(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def floor(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. def hypot(x: Float, y: Float): Float

    Permalink
    Definition Classes
    FloatMath
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def isPowerOf2(value: Float): Boolean

    Permalink
    Definition Classes
    Logarithm
  28. def log(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  29. def log10(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  30. def log1p(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  31. def log2(value: Float): Float

    Permalink
    Definition Classes
    Logarithm
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def pow(x: Float, y: Float): Float

    Permalink
    Definition Classes
    FloatMath
  36. def roundDownPowerOf2(value: Float): Int

    Permalink
    Definition Classes
    Logarithm
  37. def roundUpPowerOf2(value: Float): Int

    Permalink
    Definition Classes
    Logarithm
  38. def sin(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  39. def sinh(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  40. def sq(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  41. def sqrt(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def tan(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  44. def tanh(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  45. def toDegrees(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  46. def toRadians(x: Float): Float

    Permalink
    Definition Classes
    FloatMath
  47. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FloatMath

Inherited from Logarithm

Inherited from AnyRef

Inherited from Any

Ungrouped