Git Product home page Git Product logo

wire's Introduction

MINER: Multiscale Implicit Neural Representation

WIRE accuracy for image signals

Abstract: We propose a new nonlinearity for implicit neural representations (INRs) based on the continuous complex Gabor wavelet that has high representation capacity for visual signals. (a) visualizes two commonly used nonlinearities: SIREN with sinusoidal nonlinearity and Gaussian nonlinearity, and WIRE that uses a continuous complex Gabor wavelet. WIRE benefits from the frequency compactness of sine, and spatial compactness of a Gaussian nonlinearity. (b) shows error maps for approximating an image with strong edges. SIREN results in global ringing artifacts while Gaussian nonlinearity leads to compact but large error at edges. WIRE produces results with the smallest and most spatially compact error. This enables WIRE to learn representations rapidly and accurately, while being robust to noise and undersampling of data.

Paper: https://arxiv.org/abs/2301.05187

Instructions

Data

Download image and occupancy examples from here. Place it in path/to/this/folder/data/.

Requirements

check requirements.txt. This code was tested on python 3.8 in both Windows and Linux environments. Requirements file generated in Linux environment but should work similarly in a Windows environment. Memory consumption statistics work only in Linux environment.

Denoising images with WIRE (coming soon)

Check wire_image_denoise.py for denoise an image. We have included an example image from div2k in data/parrot.png.

Representing pointclouds with WIRE (coming soon)

Check wire_pointcloud.py for fitting a 3D shape with occupancy information. For simplicity, we have included occupancy volume of Thai statue with regular sampling over 512x512x512 cube.

Multi-image super-resolution with WIRE (coming soon)

Check wire_multi_sr.py for performing super-resolution with multiple images captured with small motion between the frames. We have included an example image data/kodak.png for this script.

Computed tomographic reconstruction with WIRE (coming soon)

Please check wire_ct.py for reconstructing images from computed tomographic measurements. We have included an example image data/chest.png.

Information about individual files

  1. wire_image_denoise.py coming soon: Runs training script for a single image

  2. wire_pointcloud.py coming soon: Runs training script for a uniformly sampled occupancy of a 3D shape

  3. wire_multi_sr.py coming soon: Runs training script for solving multi-image super-resolution

  4. wire_ct.py coming soon: Runs training script for solving the computed tomography problem

  5. requirements.txt: All requirements for running scripts in this folder

  6. modules: Contains functions to run the training scripts:

    a. lin_inverse.py: Includes forward operator for computed tomography

    b. motion.py: Contains functions for handling multi-image super resolution data generation

    c. utils.py: Miscellaneous utilities

    d. volutils.py: Utilities for handling volume signals

    e. wire.py: Contains definitions for implementing WIRE.

    f. mfn.py: Contains multiplicative frequency networks implementation by the authors of the original paper

    g. posenc.py: Contains positional encoding implementation

    h. siren.py: Contains original implementation of SIREN

Cite

@inproceedings{saragadam2022wire,
  title={WIRE: Wavelet Implicit Neural Representations},
  author={Saragadam, Vishwanath and LeJeune, Daniel and Tan, Jasper and Balakrishnan, Guha and Veeraraghavan, Ashok and Baraniuk, Richard G},
  booktitle={arXiv preprint arXiv:2301.05187}
  year={2022}
}

wire's People

Contributors

vishwa91 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.