No project description provided
Project description
Wavelet Transform for Pytorch
This package provides a differentiable Pytorch implementation of the Haar wavelet transform.
Usage
import torch
import matplotlib.pyplot as plt
from skimage import data
import pytorch_wavelet as wavelet
x = torch.from_numpy(data.camera())
a = wavelet.visualize(x, Nlayers = 2)
plt.figure()
plt.subplot(121)
plt.imshow(x)
plt.title('Image')
plt.subplot(122)
plt.imshow(a)
plt.title('Wavelet Decomposition')
Install
pip install pytorch-wavelet
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytorch_wavelet-1.2.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for pytorch_wavelet-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f74cd0220aeb2a638afc070c4bcc62c2a8e01d556491f3f8a4c7a2cea8b50799 |
|
MD5 | 401dc6c6688e6ca15838ce6afda4639a |
|
BLAKE2b-256 | 832bd25ef73e9a801b06dd7e10e3911b03023a48fac349dd375314c951e9f4e6 |