add bi-laterial filter for denoise feature
bi-laterial was an algorithm published on Proceedings of the 1998 IEEE
International Conference on Computer Vision, Bombay,India
The paper name is "Bilateral Filtering for Gray and Color Images"
It can smooths images while preserving edges, by means of a nonlinear
combination of nearby image values. It was broadly used in camera for the
features like "buity your skin" or "denoise".
This patch provided an CL implementation with 5x5 window size.
Test Usage: ./test-cl-image -f RGBA -t denoise -i <inputfile> -o <outputfiile>
Signed-off-by: Juan Zhao <juan.j.zhao@intel.com>
Signed-off-by: Wind Yuan <feng.yuan@intel.com>
diff --git a/tests/test-device-manager.cpp b/tests/test-device-manager.cpp
index ef2ff29..1bd7871 100644
--- a/tests/test-device-manager.cpp
+++ b/tests/test-device-manager.cpp
@@ -391,6 +391,7 @@
if (have_cl_processor) {
cl_processor = new CL3aImageProcessor ();
cl_processor->set_hdr (true);
+ cl_processor->set_denoise (false);
if (need_display) {
cl_processor->set_output_format (V4L2_PIX_FMT_XBGR32);
}