Skip to content

A differentiable Haar wavelet operator implementation in Pytorch.

Notifications You must be signed in to change notification settings

kellman/pytorch_wavelet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A differentiable Haar wavelet operator implementation in Pytorch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published