Object

toolkit.filtering.contourlets

ContourletTransform

Related Doc: package contourlets

Permalink

object ContourletTransform extends libcog.Logarithm

Implements a simple Contourlet transform and its inverse.

This supports only a single level of decomposition, since that's all that's needed for my application. You may extend this if needed, but it will be tricky since it involves an "a trous" convolution (if you have to ask...).

Implements nsctdec.m and nsctrec.m

Linear Supertypes
Logarithm, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ContourletTransform
  2. Logarithm
  3. AnyRef
  4. 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(image: libcog.ScalarField, channels: Int): (libcog.ScalarField, libcog.ComplexVectorField)

    Permalink

    Apply a single-level Contourlet transform to an image.

    Apply a single-level Contourlet transform to an image.

    image

    The image to be transformed.

    channels

    Number of directional filters (contourlet filters) to use in the transform.

    returns

    A (scalar field, complex vector field) tuple. The scalar field is a lowpassed version of the input and carries the information not analyzed by the contourlet filters. The complex vector field carries the compacted contourlet coefficients. In the complex vector field, the number of vector elements is equal to half the number of channels. The real and imaginary parts of the components each contain the coefficients for one of the contourlet channels. This packing of coefficients into a single complex vector field is done for efficiency.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def inverse(lowpass: libcog.ScalarField, coefficients: libcog.ComplexVectorField): libcog.ScalarField

    Permalink

    Apply the inverse Contourlet transform.

    Apply the inverse Contourlet transform. This inverts apply.

    lowpass

    Lowpass output of apply

    coefficients

    A complex vector field carries the compacted contourlet coefficients. In the complex vector field, the number of vector elements is equal to half the number of channels. The real and imaginary parts of the components each contain the coefficients for one of the contourlet channels. This packing of coefficients into a single complex vector field is done for efficiency.

    returns

    Reconstructed image

  13. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Logarithm
  15. def log2(value: Float): Float

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def roundDownPowerOf2(value: Float): Int

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

    Permalink
    Definition Classes
    Logarithm
  21. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from Logarithm

Inherited from AnyRef

Inherited from Any

Ungrouped