Object

toolkit.filtering.frequency

Lowpassfilter

Related Doc: package frequency

Permalink

object Lowpassfilter extends libcog.Logarithm with MatlabFunctions

Implements Peter Kovesi's lowpassfilter function from his computer vision library: http://www.csse.uwa.edu.au/~pk/research/matlabfns/

Linear Supertypes
MatlabFunctions, Logarithm, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Lowpassfilter
  2. MatlabFunctions
  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. def apply(rows: Int, columns: Int, cutoff: Float, n: Int): libcog.Matrix

    Permalink

    Generates a lowpass Butterworth filter in the frequency domain

    Generates a lowpass Butterworth filter in the frequency domain

    rows

    Number of rows in filter.

    columns

    Number of columns in filter.

    cutoff

    The cutoff frequency of the filter 0 - 0.5

    n

    The order of the filter, the higher n is the sharper the transition is. (n must be an integer >= 1). Note that n is doubled so that it is always an even integer.

    returns

    The Butterworth filter as a matrix.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def cart2pol(fx: libcog.Matrix, fy: libcog.Matrix): (libcog.Matrix, libcog.Matrix)

    Permalink
    Definition Classes
    MatlabFunctions
  7. def clipLastColumn(m: libcog.Matrix): libcog.Matrix

    Permalink

    Clip off last column of matrix m.

    Clip off last column of matrix m.

    Definition Classes
    MatlabFunctions
  8. def clipLastRow(m: libcog.Matrix): libcog.Matrix

    Permalink

    Clip off last row of matrix m.

    Clip off last row of matrix m.

    Definition Classes
    MatlabFunctions
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def concat(left: libcog.Vector, right: libcog.Vector): libcog.Matrix

    Permalink
    Definition Classes
    MatlabFunctions
  11. def concat(left: libcog.Matrix, right: libcog.Matrix): libcog.Matrix

    Permalink

    Matlab's side-by-side matrix concatenation operator.

    Matlab's side-by-side matrix concatenation operator.

    Definition Classes
    MatlabFunctions
  12. def conv2(a: libcog.Matrix, b: libcog.Matrix, shape: String = "full"): libcog.Matrix

    Permalink

    Does a convolution of two matrices.

    Does a convolution of two matrices.

    a

    Image to be convolved.

    b

    Convolution filter.

    shape

    "full", "same", or "valid"

    Definition Classes
    MatlabFunctions
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def fftshift(v: libcog.Vector): libcog.Vector

    Permalink
    Definition Classes
    MatlabFunctions
  16. def fftshift(m: libcog.Matrix): libcog.Matrix

    Permalink
    Definition Classes
    MatlabFunctions
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def fliplr(m: libcog.Matrix): libcog.Matrix

    Permalink

    Matlab's fliplr operator.

    Matlab's fliplr operator.

    Definition Classes
    MatlabFunctions
  19. def flipud(m: libcog.Matrix): libcog.Matrix

    Permalink

    Matlab's flipup operator.

    Matlab's flipup operator.

    Definition Classes
    MatlabFunctions
  20. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def ifftshift(v: libcog.Vector): libcog.Vector

    Permalink
    Definition Classes
    MatlabFunctions
  23. def ifftshift(m: libcog.Matrix): libcog.Matrix

    Permalink
    Definition Classes
    MatlabFunctions
  24. def indexRange(first: Int, step: Int, last: Int): libcog.Vector

    Permalink
    Definition Classes
    MatlabFunctions
  25. def indexRange(first: Int, last: Int): libcog.Vector

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

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

    Permalink
    Definition Classes
    Logarithm
  28. def linspace(low: Float, high: Float, points: Int = 100): libcog.Matrix

    Permalink

    Matlab spec says this produces a "row vector", which is a matrix with a single row in Cog.

    Matlab spec says this produces a "row vector", which is a matrix with a single row in Cog.

    Definition Classes
    MatlabFunctions
  29. def log2(value: Float): Float

    Permalink
    Definition Classes
    Logarithm
  30. def meshgrid(xDomain: libcog.Vector, yDomain: libcog.Vector): (libcog.Matrix, libcog.Matrix)

    Permalink
    Definition Classes
    MatlabFunctions
  31. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  34. def ones(rows: Int, columns: Int): libcog.Matrix

    Permalink
    Definition Classes
    MatlabFunctions
  35. def polyval(coefficients: libcog.Vector, element: Float): Float

    Permalink
    Definition Classes
    MatlabFunctions
  36. def polyval(coefficients: libcog.Vector, elements: libcog.Vector): libcog.Vector

    Permalink
    Definition Classes
    MatlabFunctions
  37. def polyval(coefficients: libcog.Vector, elements: libcog.Matrix): libcog.Matrix

    Permalink
    Definition Classes
    MatlabFunctions
  38. def repmat(matrix: libcog.Matrix, rowRep: Int, colRep: Int): libcog.Matrix

    Permalink

    Implement Matlab's repmat.

    Implement Matlab's repmat.

    matrix

    Matrix to be replicated.

    rowRep

    Row replication factor.

    colRep

    Column replication factor.

    Definition Classes
    MatlabFunctions
  39. def rot90(v: libcog.Vector, factor: Int): libcog.Matrix

    Permalink
    Definition Classes
    MatlabFunctions
  40. def rot90(v: libcog.Vector): libcog.Matrix

    Permalink
    Definition Classes
    MatlabFunctions
  41. def rot90(m: libcog.Matrix, factor: Int): libcog.Matrix

    Permalink
    Definition Classes
    MatlabFunctions
  42. def rot90(m: libcog.Matrix): libcog.Matrix

    Permalink
    Definition Classes
    MatlabFunctions
  43. def roundDownPowerOf2(value: Float): Int

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

    Permalink
    Definition Classes
    Logarithm
  45. def stack(top: libcog.Matrix, bottom: libcog.Matrix): libcog.Matrix

    Permalink

    Matlab's top-on-bottom matrix concatenation operator.

    Matlab's top-on-bottom matrix concatenation operator.

    Definition Classes
    MatlabFunctions
  46. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  48. def tril(m: libcog.Matrix): libcog.Matrix

    Permalink

    Lower triangular part of (square) matrix.

    Lower triangular part of (square) matrix.

    Definition Classes
    MatlabFunctions
  49. final def wait(): Unit

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

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

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

Inherited from MatlabFunctions

Inherited from Logarithm

Inherited from AnyRef

Inherited from Any

Ungrouped