GithubHelp home page GithubHelp logo

liuguoyou / fast-adaptive-bilateral-filtering Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rgavaska/fast-adaptive-bilateral-filtering

0.0 2.0 0.0 1.01 MB

Matlab code for "Fast Adaptive Bilateral Filtering", IEEE TIP

MATLAB 65.07% M 1.66% C++ 33.28%

fast-adaptive-bilateral-filtering's Introduction

Fast Adaptive Bilateral Filtering

This is a Matlab implementation of the algorithm in the following paper:

R. G. Gavaskar and K. N. Chaudhury, "Fast Adaptive Bilateral Filtering", IEEE Transactions on Image Processing, accepted.

DOI: 10.1109/TIP.2018.2871597

[Early access version]

Before running the code, compile the MEX file in the 'fastABF' directory as follows:

mex MinMaxFilter.cpp

The core source files implementing the algorithm are located in 'fastABF'. To execute the algorithm, run the command

g = fastABF( f,rho,sigma,theta)

where

f       = input image (m-by-n),
rho     = width of the spatial Gaussian kernel,
sigma   = width of the range Gaussian kernel, defined pixelwise (m-by-n),
theta   = centering of the range Gaussian kernel, defined pixelwise (m-by-n).

The main directory contains files to demonstrate application of the algorithm for image sharpening and noise removal, texture filtering, and JPEG deblocking. Run the files 'demo_sharpening.m', 'demo_texture.m', and 'demo_deblocking.m' respectively.

The image 'fish.jpg' used for texture filtering has been downloaded from the project webpage for the following paper:

L. Xu, Q. Yan, Y. Xia, and J. Jia, ''Structure extraction from texture via relative total variation,'' ACM Transactions on Graphics (TOG), 31(6), Article 139 (2012).

fast-adaptive-bilateral-filtering's People

Contributors

rgavaska avatar

Watchers

 avatar  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.