mirror of
https://github.com/opencv/opencv.git
synced 2024-12-01 06:49:50 +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 |
||
---|---|---|
.. | ||
include/opencv2 | ||
misc/java/test | ||
perf | ||
src | ||
test | ||
CMakeLists.txt |