arnaudbrejeon
e9b8571afc
Fix bug
6 years ago
LaurentBerger
9e94212eac
Solves bug 13853
6 years ago
Alexander Alekhin
742f22c09b
photo: move TonemapDurand to opencv_contrib
6 years ago
Alexander Alekhin
a574788e89
move legacy C-API constants into separate files
6 years ago
Vadim Pisarevsky
11eafca3e2
removed C API in the following modules: photo, video, imgcodecs, videoio ( #13060 )
...
* removed C API in the following modules: photo, video, imgcodecs, videoio
* trying to fix various compile errors and warnings on Windows and Linux
* continue to fix compile errors and warnings
* continue to fix compile errors, warnings, as well as the test failures
* trying to resolve compile warnings on Android
* Update cap_dc1394_v2.cpp
fix warning from the new GCC
6 years ago
Maksim Shabunin
e0f524d3b7
Fixed several incorrect printf format specifiers
6 years ago
Suleyman TURKMEN
30597e5c98
Update seamless_cloning.cpp
6 years ago
Suleyman TURKMEN
6d5f7b72c0
Update seamless_cloning.cpp
6 years ago
Hamdi Sahloul
5d54def264
Add semicolons after `CV_INSTRUMENT` macros
6 years ago
Alexander Alekhin
b80c978f5d
core: change cv::Ptr DefaultDeleter
6 years ago
cyy
286c2c236b
Merge pull request #12458 from DEEPIR:3.4
...
* may be an typo fix
* remove identical branch,may be paste error
* add parentheses around macro parameter
* simplify if condition
* check malloc fail
* change the condition of branch removed by commit 3041502861
6 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
6 years ago
Suleyman TURKMEN
860ae77ec9
Update seamless_cloning
6 years ago
yom
fb2b26c419
photo: Decolor corrections
...
* Keep image aspect ratio in resize called in grad_system and
weak_order
* Bug correction in loop inside Decolor::gradvector
6 years ago
berak
f49f6d52b4
photo: avoid resizing a const Mat in decolor()
6 years ago
Maksim Shabunin
1da46fe6fb
Fixed issues found by static analysis (mostly DBZ)
6 years ago
Alexander Alekhin
5e2c112697
photo: remove redundant broken check
...
`dest(roi_d)` operation contains similar check inside.
7 years ago
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
7 years ago
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.
7 years ago
Alexander Alekhin
5b17a60dde
next: drop HAVE_TEGRA_OPTIMIZATION/TADP
7 years ago
Vitaly Tuzov
eb2c9f1519
Fixed mask reduction in seamless_clone
7 years ago
Alexander Alekhin
e741b71dac
photo: apply CV_OVERRIDE/CV_FINAL
7 years ago
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
7 years ago
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
7 years ago
cDc
667f5b655a
Merge pull request #10933 from cdcseacave:clean_npr
...
* clean npr functions of useless initializations (speed-up)
* photo: remove unnecessary code
7 years ago
Vitaly Tuzov
e5313246a7
Reverted calls to linear resize back to generic version for floating point matrices
7 years ago
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
7 years ago
stalin18
d343a58580
removed unnecessary line
7 years ago
stalin18
ed3d2cd122
fixed unnecessary reconstruction in seamlessclone
...
fixed unnecessary reconstruction in seamlessclone by using only the
required rectangular area in input images
7 years ago
Maksim Shabunin
248e2c7d47
Fixed some issues found by static analysis
7 years ago
Alexander Alekhin
9ca39821c8
core: divUp function
7 years ago
Alexander Alekhin
1ff6c758ec
photo: crash workaround for MSVC 2015 32-bit
7 years ago
Vladislav Sovrasov
2a2a1dc5b4
Get rid of OPENCV_NOSTL definition
8 years ago
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
8 years ago
Maksim Shabunin
1f23202ad8
Issues found by static analysis (5th round)
8 years ago
Maksim Shabunin
e0393f8557
Fixed some issues found by static analysis (4th round)
8 years ago
Vladislav Sovrasov
234ad8fbee
photo: add assertion on empty image in denoising
8 years ago
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()
8 years ago
Vladislav Sovrasov
d9ffc4c83e
photo: add support of all types of 1c images in inpaint
8 years ago
Vadzim Piatrou
2ddaaf69fa
Inpainting support for any 1-channel input images
8 years ago
Amro
39954cc6af
generalize number of channels
...
plus minor edits and fixes
8 years ago
sovrasov
b87a8a5719
Set LUT for Robertson weights function to zero on borders
8 years ago
Alexander Alekhin
dc31ddc80a
photo: fix InputArray -> CvMat
8 years ago
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
8 years ago
Julien Dehos
e072fa8121
fix a bug in MergeDebevec (modify input times)
8 years ago
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.
9 years ago
Cédric Rousseau
d19189e80f
Fixed the formula to compute the well-exposedness weight map.
9 years ago
Sergey Alexandrov
08b30580b7
Do not modify input parameter in MergeDebevec
...
MergeDebevec takes camera response function as an optional input
parameter. Despite being clearly marked as input, this matrix is
overwritten during processing.
This commit adds a temporary matrix to store the log response and avoid
modification of the input.
9 years ago
Maksim Shabunin
715887fcd5
Coverity: fixed some negative argument issues
9 years ago
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
9 years ago