Skip to main content

No project description provided

Project description

Wavelet Transform for Pytorch

This package provides a differentiable Pytorch implementation of the Haar wavelet transform.

asdf

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


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)

Uploaded Source

Built Distribution

pytorch_wavelet-1.2-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page