spyrit.misc.walsh_hadamard.iwalsh2
- spyrit.misc.walsh_hadamard.iwalsh2(X, H=None)[source]
Return 2D inverse Walsh-ordered Hadamard transform of an image
- Args:
X (np.ndarray): Image as a 2D array. The image is square and its size is a power of two. H (np.ndarray, optional): 1D inverse Walsh-ordered Hadamard transformation matrix
- Returns:
np.ndarray: Inverse Hadamard transformed image as a 2D array.