Git Product home page Git Product logo

bilateral-filter's Introduction

Bilateral filter implementation in GLSL

Core implementation is written in fragment shader.

See fshader.frag for implementation detail.

Usage

  • Install Qt Creator (free)
  • Open BilatteralFiltering.pro
  • Hit run

Note:

  • This project is created using Qt 5.9.1
  • This project's default setting requires OpenGL core profile version 4.50. Version setting can be changed to any version from 3.30. See Note on GLSL version for detail
  • Tested in Ubuntu
  • Execute BilatteralFiltering.exe directly in Window to run program without compiling (non tested)

Note on GLSL version

  • This project uses GLSL version 4.50 by default.
  • Current GLSL implementation requires OpenGL version from 3.30
  • To configure GLSL version. For example, change from version 4.40 to 3.10. Update version setting in following files:
    • main.cpp: replace surfaceFormat.setMajorVersion(4); by surfaceFormat.setMajorVersion(3);
    • main.cpp: replace surfaceFormat.setMinorVersion(5); by surfaceFormat.setMinorVersion(1);
    • bilateralfilterwidget.h: replace #include <QOpenGLFunctions_4_5_Core> by #include <QOpenGLFunctions_3_1_Core>
    • vshader.vert: replace #version 450 by #version 310
    • fshader.frag: replace #version 450 by #version 310

Screenshots:

alt text

alt text

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.