Git Product home page Git Product logo

bband-adaband's Introduction

BBAND Index and Adaptive-Debanding Filter

This repository contains reference matlab implementations of the BBAND Index and Adaptive-Debanding Filter from the following papers:

  1. Z. Tu, J. Lin, Y. Wang, B. Adsumilli and A. C. Bovik, "BBAND INDEX: A NO-REFERENCE BANDING ARTIFACT PREDICTOR," ICASSP 2020 - 2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Barcelona, Spain, 2020, pp. 2712-2716, doi: 10.1109/ICASSP40776.2020.9053634 IEEE Explore.
  2. Z. Tu, J. Lin, Y. Wang, B. Adsumilli, and A. C. Bovik. "Adaptive Debanding Filter". IEEE Signal Processing Letters, Volume 27. IEEE Explore.

Running the code

There are third_party routines in "third_party/matlabfns". You will need to add that directory to your path (e.g., path(path(), "${PATH_TO_ROOT}/third_party/matlabfns")).

The code for the blind banding detector (BBAND) and the adaptive debanding filter are in the following files.

src/BBAD_I.m
src/deband_filter_yuv420p

Please see the comments in the files for description of the input/output parameters.

Alternatively, you can have a look a scripts used to run experiments in the papers:

  1. The script for running banding detection experiments is located in src/video_band_detect.m.
  2. Debanding filtering as preprocessing experiments are in src/video_preproc_dither.m and the script for running adaptive debanding postprocessing is src/video_postproc_deband_filter.m.

Tests

There are also a few tests in the "tests" folder that illustrate how to call the routines. You can run the tests from the by adding the "src" directory to your path.

test_BBAD_I
test_deband_filter

The scripts will output whether the implementation passed or failed. E.g., at the end of the debanding script you should see lines like:

KristenAndSara_10frames_512x256 passed

bband-adaband's People

Contributors

nbirkbeck avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

bband-adaband's Issues

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.