Trait

toolkit.filtering

MatlabFunctions

Related Doc: package filtering

Permalink

trait MatlabFunctions extends AnyRef

Implements a few Matlab functions to make it easier to translate Matlab code to Cog.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MatlabFunctions
  2. AnyRef
  3. 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. final def asInstanceOf[T0]: T0

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

    Permalink
  6. def clipLastColumn(m: libcog.Matrix): libcog.Matrix

    Permalink

    Clip off last column of matrix m.

  7. def clipLastRow(m: libcog.Matrix): libcog.Matrix

    Permalink

    Clip off last row of matrix m.

  8. def clone(): AnyRef

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

    Permalink
  10. def concat(left: libcog.Matrix, right: libcog.Matrix): libcog.Matrix

    Permalink

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

  11. 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"

  12. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
  15. def fftshift(m: libcog.Matrix): libcog.Matrix

    Permalink
  16. def finalize(): Unit

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

    Permalink

    Matlab's fliplr operator.

  18. def flipud(m: libcog.Matrix): libcog.Matrix

    Permalink

    Matlab's flipup operator.

  19. final def getClass(): Class[_]

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

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

    Permalink
  22. def ifftshift(m: libcog.Matrix): libcog.Matrix

    Permalink
  23. def indexRange(first: Int, step: Int, last: Int): libcog.Vector

    Permalink
  24. def indexRange(first: Int, last: Int): libcog.Vector

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. 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.

  27. def meshgrid(xDomain: libcog.Vector, yDomain: libcog.Vector): (libcog.Matrix, libcog.Matrix)

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
  32. def polyval(coefficients: libcog.Vector, element: Float): Float

    Permalink
  33. def polyval(coefficients: libcog.Vector, elements: libcog.Vector): libcog.Vector

    Permalink
  34. def polyval(coefficients: libcog.Vector, elements: libcog.Matrix): libcog.Matrix

    Permalink
  35. 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.

  36. def rot90(v: libcog.Vector, factor: Int): libcog.Matrix

    Permalink
  37. def rot90(v: libcog.Vector): libcog.Matrix

    Permalink
  38. def rot90(m: libcog.Matrix, factor: Int): libcog.Matrix

    Permalink
  39. def rot90(m: libcog.Matrix): libcog.Matrix

    Permalink
  40. def stack(top: libcog.Matrix, bottom: libcog.Matrix): libcog.Matrix

    Permalink

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

  41. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink

    Lower triangular part of (square) matrix.

  44. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped