Commit Graph

19 Commits

Author SHA1 Message Date
Hamdi Sahloul
5d54def264 Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
shimat
5bf7f09ac1 Merge pull request #11035 from shimat:refactoring_decolor
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
2018-03-12 17:22:06 +03:00
shimat
21d9c47bd0 Optimize decolor in photo (#10997)
* optimized cv::decolor by removing vector.push_back

* restored CV_INSTRUMENT_REGION() and original indent

* fix build warnings in contrast_preserve.hpp

* undo refactoring contrast_preserve.cpp/hpp
2018-03-07 14:20:45 +03:00
Pavel Vlasov
30a6cee2fe Instrumentation for OpenCV API regions and IPP functions; 2016-08-19 18:10:03 +03:00
juanmanpr
7a68e3d207 CV_Assert for photo module corrected 2014-02-25 19:58:08 +01:00
juanmanpr
540a60fca7 Replaced calls to cout from photo module, by CV_Assert 2014-02-25 00:29:07 +01:00
Ilya Lavrenov
926cab2baa fixed warnings 2013-12-06 15:20:29 +04:00
siddharth
35d9ca6483 Changes done in cloning module 2013-12-04 19:18:00 +05:30
siddharth
daa9694cab Changes done in decolorization module 2013-12-04 19:17:59 +05:30
siddharth
94eab9babe Revert Back 2013-12-04 19:17:59 +05:30
siddharth
6c7272bde1 Update to remove Android error 2013-12-04 19:17:59 +05:30
siddharth
3b239561c6 Changed STL in contrast_preserve file 2013-12-04 19:17:59 +05:30
siddharth
f85a615f3f whitespaces removed and other minor changes to fix build error
Update 1

update 2

Update 3

Update 4

Update 5

update 6

Update 7

Update 8

Update 9

Update 10

Update 11

Update 12

Update 13

Update 14

Update 15

Update 16

Update 17

Update 18

Update 19

Update 20

Update 21

Update 22

Removed Headers

Update 23

Update 24

Update 25

Update 26

Update 27

Update 28
2013-12-04 19:17:59 +05:30
siddharth
56ab1c18e6 new filters added and all the 3 modules updated
All 3 modules Updated
2013-12-04 19:17:58 +05:30
siddharth
e170115ad0 new interface added. decolor and cloning module added.
Both modules added
2013-12-04 19:17:58 +05:30
siddharth
5b0ee9e085 decolor module updated 2013-12-04 19:17:58 +05:30
siddharth
a1b3ba02a7 add color_boost + doc 2013-12-04 19:17:58 +05:30
siddharth
88aa4a9902 decolor module updated
update3

update4

update4

update5

added test data
2013-12-04 19:17:58 +05:30
siddharth
95db69f6b9 added new files 2013-12-04 19:17:58 +05:30