z0gSh1u / gpu-bm3d-float

"gpu-bm3d" with float32 image and CMake support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gpu-bm3d-float

This is the implementation of BM3D based on JeffOwOSun/gpu-bm3d with supports for float32 images, and CMake cross-platform compilation (Windows and Linux both OK).

demo

$ bm3d -s 20  # noise level (sigma)
       -h 256 # height
       -w 256 # width
       -t 2   # 1 for one-step, 2 for both-step
       -v     # verbose
       lena_noisy.raw    # input float32 raw image
       lena_denoised.raw # output float32 raw image

Note that in this implementation, the Discrete Cosine Transform (DCT) is substituted by Discrete Fourier Transform (DFT/FFT), which is different from the official implementation. Also, you might need to finetune those parameters in params.h.

About

"gpu-bm3d" with float32 image and CMake support

License:MIT License


Languages

Language:C 98.8%Language:Cuda 0.7%Language:C++ 0.5%Language:CMake 0.0%