Alexander Alekhin
b3ff29fcf5
avoid copyTo(outputarray.getMat()) pattern
...
- leads to errors due 'const' modifier of getMat() method
- may be non-optimal with non-CPU data storage
2018-05-23 13:56:34 +03:00
Alexander Alekhin
491e3627b6
photo: initialize cos() table with double type
...
This avoids MSVC 19.14.26428.1 to call vectorized __vdecl_cosf4() function with less precision.
2018-05-17 15:30:11 +03:00
Alexander Alekhin
1983991d2f
photo(test): update test checks
...
- allow 5% of changed pixels with intensity difference <= 1
2018-05-16 17:58:46 +03:00
Sayed Adel
115b10ed32
photo:ppc fix MergeRobertson test
2018-05-05 09:38:55 +00:00
Vadim Pisarevsky
6a15910f0f
Merge pull request #11208 from terfendail:seamless_1
2018-04-09 09:52:28 +00:00
Vitaly Tuzov
eb2c9f1519
Fixed mask reduction in seamless_clone
2018-04-04 16:33:28 +03:00
Alexander Alekhin
e741b71dac
photo: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:27 +03: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
cDc
667f5b655a
Merge pull request #10933 from cdcseacave:clean_npr
...
* clean npr functions of useless initializations (speed-up)
* photo: remove unnecessary code
2018-03-02 14:42:28 +03:00
luz.paz
e805a55a5b
Misc. modules/ typos (cont.)
...
Found via `codespell`
2018-02-12 10:15:36 -05:00
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
2018-02-03 19:39:47 +00:00
Vitaly Tuzov
e5313246a7
Reverted calls to linear resize back to generic version for floating point matrices
2017-12-22 17:10:03 +03:00
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
2017-12-13 15:00:38 +03:00
stalin18
d343a58580
removed unnecessary line
2017-09-15 17:09:21 +03:00
stalin18
ed3d2cd122
fixed unnecessary reconstruction in seamlessclone
...
fixed unnecessary reconstruction in seamlessclone by using only the
required rectangular area in input images
2017-09-15 17:09:21 +03:00
Maksim Shabunin
248e2c7d47
Fixed some issues found by static analysis
2017-09-08 12:22:12 +03:00
Alexander Alekhin
922ac1a1ec
Merge pull request #9303 from alalek:akaze_update
2017-08-03 17:17:03 +00:00
Alexander Alekhin
9ca39821c8
core: divUp function
2017-08-03 19:51:45 +03:00
Suleyman TURKMEN
89480801b8
some improvements on tutorials
2017-07-29 20:08:19 +03:00
Tomoaki Teshima
e63d628677
remove some rand functions
...
* make test more reproducible
2017-07-20 22:43:11 +09:00
Alexander Alekhin
1ff6c758ec
photo: crash workaround for MSVC 2015 32-bit
2017-07-18 16:04:35 +03:00
Rostislav Vasilikhin
70b984434d
RGB2Lab_f and trilinear interpolation code are in separate branch; cubeRoot(x) instead of std::pow(x, 1.f/3.f)
...
file with internal accuracy&speed tests moved to lab_tetra branch
2017-07-17 21:59:54 +03:00
Vladislav Sovrasov
2a2a1dc5b4
Get rid of OPENCV_NOSTL definition
2017-07-04 14:17:02 +03:00
Tony Lian
c8783f3e23
Merge pull request #9075 from TonyLianLong:master
...
Remove unnecessary Non-ASCII characters from source code (#9075 )
* Remove unnecessary Non-ASCII characters from source code
Remove unnecessary Non-ASCII characters and replace them with ASCII
characters
* Remove dashes in the @param statement
Remove dashes and place single space in the @param statement to keep
coding style
* misc: more fixes for non-ASCII symbols
* misc: fix non-ASCII symbol in CMake file
2017-07-03 16:14:17 +00:00
Maksim Shabunin
1f23202ad8
Issues found by static analysis (5th round)
2017-07-01 18:56:24 +03:00
Maksim Shabunin
e0393f8557
Fixed some issues found by static analysis (4th round)
2017-06-30 12:26:53 +03:00
Vladislav Sovrasov
234ad8fbee
photo: add assertion on empty image in denoising
2017-06-14 13:57:07 +03:00
Alexander Alekhin
e665be1d70
photo: fix integer overflow
...
There is no cast to wide integer type:
std::numeric_limits<ST>::max() * std::numeric_limits<ST>::max()
2017-06-09 00:19:29 +00:00
Alexander Alekhin
3933958b34
photo(test): fix MergeRobertson test for AARCH64 build
2017-06-03 16:57:23 +03:00
Vadim Pisarevsky
37b1bc9d58
Merge pull request #8776 from sovrasov:inpaint_adv_formats
2017-05-24 12:17:45 +00:00
Alexander Alekhin
27649de50b
Merge pull request #8717 from sovrasov:robertson_weight_change
2017-05-24 11:45:34 +00:00
Vladislav Sovrasov
d9ffc4c83e
photo: add support of all types of 1c images in inpaint
2017-05-24 10:24:59 +03:00
Vadzim Piatrou
2ddaaf69fa
Inpainting support for any 1-channel input images
2017-05-24 10:20:21 +03:00
Amro
39954cc6af
generalize number of channels
...
plus minor edits and fixes
2017-05-22 17:27:26 +03:00
sovrasov
b87a8a5719
Set LUT for Robertson weights function to zero on borders
2017-05-12 16:33:30 +03:00
saskatchewancatch
d363e2789f
8632: Corrected cv::seamlessClone doc to reflect actual name of flag used in code
2017-04-24 21:01:38 -06:00
Tomoaki Teshima
ccc8767b55
suppress warning on Jetson TK1
2017-04-11 18:27:12 +09:00
Alexander Alekhin
dc31ddc80a
photo: fix InputArray -> CvMat
2016-12-22 04:22:47 +03:00
Alexander Alekhin
ee4b78fcce
test: change condition in Photo_Decolor
2016-10-20 16:54:43 +03:00
Alexander Alekhin
5da8d65371
eliminate compiler warnings
2016-10-08 02:19:43 +03:00
Alexander Alekhin
1c18b1d245
Merge pull request #7370 from souch55:Fixxn
2016-10-01 10:44:56 +00:00
sourin
a34fbf7bb1
Fixed identifiers warns
2016-09-30 15:16:29 +05:30
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
2016-08-19 18:10:03 +03:00
Julien Dehos
e072fa8121
fix a bug in MergeDebevec (modify input times)
2016-07-26 18:01:36 +02:00
mvukad
695e33b25b
Fix missing format when writing Algorithm-based objects
...
Added a writeFormat() method to Algorithm which must be called by the
write() method of derived classes.
2016-04-07 13:49:42 -07:00
Alexander Alekhin
323e24e3ef
change links from samples/python2 to samples/python
2015-12-18 11:00:30 +03:00
Vadim Pisarevsky
3bbd22cb63
Merge pull request #5808 from cedrou:hdr.mergemertens.fixalgo
2015-12-16 10:36:29 +00:00
Cédric Rousseau
76e4b0a8fe
Reverts "Set the default value of exposure_weight in createMergeMertens to 1.0" because it breaks source code compatibility and tests
...
This reverts commit dbfd6a3dde
.
2015-12-15 13:16:15 +01:00
Cédric Rousseau
dbfd6a3dde
Set the default value of exposure_weight in createMergeMertens to 1.0
2015-12-15 11:12:10 +01:00