GithubHelp home page GithubHelp logo

tehret / blind-denoising Goto Github PK

View Code? Open in Web Editor NEW
42.0 42.0 12.0 65 KB

Model-Blind Video Denoising Via Frame-to-frame Training

License: GNU Affero General Public License v3.0

Python 8.19% CMake 0.20% Makefile 0.20% C 91.12% Shell 0.30%

blind-denoising's People

Contributors

tehret avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

blind-denoising's Issues

Problem about after adding gaussian noise with sigma=25 the result seems wried

Hey, I have read your paper and find that this study is very interesting and helpful.

When I try to run this code to see the blind denoising result, some wried thing happened.

First I download the video frame used in your paper according your guide. Here, I only download the station_2_1080p25.y4m and extract the frame to station_gray folder.

Then I get flow using TV-L1 Optical Flow Estimation method provided in your project.

Finally, I run the blinding_denoising.py script and all work.

The command line I use is :

cd tvl1flow
sh tvl1flow.sh station_gray/%03d.png 1 100 station_clean_flow/tvl1_%03d.flo
cd ..
python blind_denoising.py --input station_gray/%03d.png --ref station_gray/%03d.png --output res/%03d.png --flow station_clean_flow/tvl1_%03d.flo --last 100

The result seems fine. The PSNR l got is about 38db and the denoised image is fine.

But when i try to add some guassian noise with sigma 25 to each gray images, Things become different.

I didn't find the code for adding noise the video frame, so l write one myself and get noisy image in
station_noise folder.

The command line I use is :

cd tvl1flow
sh tvl1flow.sh station_noise/%03d.png 1 100 station_noise_flow/tvl1_%03d.flo
cd ..
python blind_denoising.py --input station_noise/%03d.png --ref station_gray/%03d.png --output noise25_res/%03d.png --flow station_noise_flow/tvl1_%03d.flo --last 100

I find that the wrapped image is all zero after wrapping the target image based on flow.
Naturally, the calculation of loss is no meaning and the final denosing result is a black image.

Part of images I use is posted below:
clean station image, 0001 frame:
station_001.png

noisy station image, 0001 frame, add guassian noise with sigma=25:
station_001_noise.png

denoised image by your approach:
denoise_002.png

some print information:
未命名图片.png

Can you help me point out the problem and give me some suggestion to get idea result in your paper.

Looking forward to your reply. ^_^

Errors when compiling tvl1flow and Solutions

ubuntu 16.04
cmake 3.5.1

  1. fatal error: png.h: No such file or directory
 sudo apt-get install libpng-dev
  1. fatal error: jpeglib.h: No such file or directory
sudo apt-get install libjpeg-dev
  1. fatal error: tiffio.h: No such file or directory
sudo apt-get install libtiff5-dev

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.