mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 13:10:12 +08:00
5bf7f09ac1
Refactor decolor (#11035) * decolor: modernize deprecated headers (math.h -> cmath) * refactor contrast_preserve.cpp * refactor contrast_preserve.hpp (add static/const) * refactor contrast_preserve.hpp (join assignment and declaration) * refactor contrast_preserve.hpp (format) * refactor test_decolor.cpp (indent) * refactor contrast_preserve.hpp (const) * contrast_preserve.hpp : optimize by minMaxLoc * fix trailing-whitespace * fix warning C4267 on VC++ x64 (conversion from 'size_t' to 'int', possible loss of data) * use cvRound instead of round_num * decrease indentation of test_decolor.cpp * remove pow() to optimize * remove redundant Mat initialization |
||
---|---|---|
.. | ||
ocl | ||
test_cloning.cpp | ||
test_decolor.cpp | ||
test_denoise_tvl1.cpp | ||
test_denoising.cpp | ||
test_denoising.cuda.cpp | ||
test_hdr.cpp | ||
test_inpaint.cpp | ||
test_main.cpp | ||
test_npr.cpp | ||
test_precomp.hpp |