项目作者: xiaoliangabc

项目描述 :
OpenCV bilateral filtering rewritten and annotated
高级语言: C++
项目地址: git://github.com/xiaoliangabc/bilateral_filter.git
创建时间: 2020-05-30T11:52:35Z
项目社区:https://github.com/xiaoliangabc/bilateral_filter

开源协议:

下载


Bilateral Filter

OpenCV bilateral filtering rewritten and annotated (only support gray scale image).

Build

  1. mkdir build
  2. cd build
  3. cmake ..
  4. make

Usage

  1. Usage: bilateral_filter image_path diameter sigma_color sigma_space
  2. bilateral_filter: bin file for current project
  3. image_path: raw image path for processing
  4. diameter: diameter of each pixel neighborhood
  5. sigma_color: filter sigma in the color space
  6. sigma_space: filter sigma in the coordinate space

Run example

Command

  1. cd build
  2. ./bilateral_filter ./../data/Lena.jpg 5 12.0 16.0

Result