Object

toolkit.filtering.contourlets

DirectionalFilterbank

Related Doc: package contourlets

Permalink

object DirectionalFilterbank extends libcog.Logarithm with MatlabFunctions

Directional filterbank and its inverse.

Implements the filter construction part of nsdfbdec.m and nsdfbrec.m, but does not do the convolution. Although the matlab code supports an arbitrary number of channels (that are a power of 2), I cut this off at 8 channels. This makes the code much more readable. If you need more channels, you may add the code for that.

Linear Supertypes
MatlabFunctions, Logarithm, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DirectionalFilterbank
  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(shape: libcog.Shape, channels: Int): Array[libcog.Matrix]

    Permalink

    Create a set of directional filters in the frequency domain.

    Create a set of directional filters in the frequency domain.

    shape

    Shape of the images to be processed by the filterbank.

    channels

    Number of channels (directions) supported by the filterbank. Legal values are 2, 4, 8.

    returns

    An array of filters, one per channel, in the frequency domain. Each filter will have the shape shape. The filters are zero-phase, so they are represented with matrices rather than complex matrices.

  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. val checkerboard: Array[libcog.Matrix]

    Permalink

    Checkerboard filters, space domain.

  8. val checkerboardInverse: Array[libcog.Matrix]

    Permalink
  9. 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
  10. 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
  11. def clone(): AnyRef

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

    Permalink
    Definition Classes
    MatlabFunctions
  13. 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
  14. 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
  15. val diamond: Array[libcog.Matrix]

    Permalink

    Diamond filters, space domain.

  16. val diamondInverse: Array[libcog.Matrix]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. val fan: Array[libcog.Matrix]

    Permalink

    Fan filters, space domain.

  20. val fanInverse: Array[libcog.Matrix]

    Permalink
  21. def fftshift(v: libcog.Vector): libcog.Vector

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

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

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

    Permalink

    Matlab's fliplr operator.

    Matlab's fliplr operator.

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

    Permalink

    Matlab's flipup operator.

    Matlab's flipup operator.

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

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

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

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

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

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

    Permalink
    Definition Classes
    MatlabFunctions
  32. def inverse(shape: libcog.Shape, channels: Int): Array[libcog.Matrix]

    Permalink

    Create a set of inverse directional filters in the frequency domain.

    Create a set of inverse directional filters in the frequency domain. This is the inverse of apply.

    shape

    Shape of the images to be processed by the filterbank.

    channels

    Number of channels (directions) supported by the filterbank. Legal values are 2, 4, 8.

    returns

    An array of filters, one per channel, in the frequency domain. Each filter will have the shape shape. The filters are zero-phase, so they are represented with matrices rather than complex matrices.

  33. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Logarithm
  35. 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
  36. def log2(value: Float): Float

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  41. val octet: Array[libcog.Matrix]

    Permalink

    Octet filters, space domain.

  42. val octetInverse: Array[libcog.Matrix]

    Permalink
  43. def ones(rows: Int, columns: Int): libcog.Matrix

    Permalink
    Definition Classes
    MatlabFunctions
  44. val parallelogram: Array[libcog.Matrix]

    Permalink

    Parallelogram filters, space domain.

  45. val parallelogramInverse: Array[libcog.Matrix]

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

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

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

    Permalink
    Definition Classes
    MatlabFunctions
  49. 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
  50. def rot90(v: libcog.Vector, factor: Int): libcog.Matrix

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

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

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

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

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

    Permalink
    Definition Classes
    Logarithm
  56. 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
  57. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink

    Lower triangular part of (square) matrix.

    Lower triangular part of (square) matrix.

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. 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