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 details)
Built Distribution
File details
Details for the file pytorch_wavelet-1.2.tar.gz
.
File metadata
- Download URL: pytorch_wavelet-1.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c75caa0163f2089fdf89547c02d14b2bd3bf46c18d5ef3c830db8320ad8f0139 |
|
MD5 | 8d5347eddb90598e2533895446e157ac |
|
BLAKE2b-256 | c652c86626a5ebc3df52dde8f8b224d1bad683a1da1dc9ffe95469a63f9e418e |
File details
Details for the file pytorch_wavelet-1.2-py3-none-any.whl
.
File metadata
- Download URL: pytorch_wavelet-1.2-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f74cd0220aeb2a638afc070c4bcc62c2a8e01d556491f3f8a4c7a2cea8b50799 |
|
MD5 | 401dc6c6688e6ca15838ce6afda4639a |
|
BLAKE2b-256 | 832bd25ef73e9a801b06dd7e10e3911b03023a48fac349dd375314c951e9f4e6 |