Miscellaneous Algorithms

This section contains other algorithms and methods which were developed as part of this work but couldn’t be categorized elsewhere.

1-Bit Compressive Sensing

measure_1bit(Phi, x)

Compressive measurement and 1 bit quantization

biht(Phi, y, K, tau[, max_iters])

Solves the 1-bit compressive sensing problem \(\text{sgn} (\\Phi x) = y\) using Binary Iterative Hard Thresholding

biht_jit(Phi, y, K, tau[, max_iters])

Solves the 1-bit compressive sensing problem \(\text{sgn} (\\Phi x) = y\) using Binary Iterative Hard Thresholding

BIHTState

Represents the state of the BIHT algorithm

Geophysical Signal Processing

This module contains some utilities for processing of geophysical signals.

ricker(t[, f0])

Returns the Ricker wavelet for a given peak frequency at specified times.

Computer Vision and Image Processing

This module contains some utilities for image processing and computer vision.

Note

CR-Sparse doesn’t intend to be a full fledged image processing and computer vision solution. The utilities in this module are meant to complement the functionality available in CR-Sparse to demonstrate how they can be used on images.

Kernels

kernel_gaussian([size, sigma])

Creates a Gaussian kernel of h x w dimensions with the specified sigma

KERNEL_BOX_3X3

KERNEL_BOX_5X5

KERNEL_BOX_7X7

KERNEL_BOX_21X21

KERNEL_SHARPEN_3X3

KERNEL_LAPLACIAN_3X3

KERNEL_SOBEL_X

KERNEL_SOBEL_Y