Suleyman TURKMEN
6d165dae5e
related moved enums
6 years ago
Suleyman TURKMEN
c61bc3a0cb
Update documentation and samples
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
1983991d2f
photo(test): update test checks
...
- allow 5% of changed pixels with intensity difference <= 1
7 years ago
Sayed Adel
115b10ed32
photo:ppc fix MergeRobertson test
7 years ago
Alexander Alekhin
5b17a60dde
next: drop HAVE_TEGRA_OPTIMIZATION/TADP
7 years ago
Alexander Alekhin
2b2fa58f97
next: drop DISABLE_OPENCV_24_COMPATIBILITY
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
luz.paz
e805a55a5b
Misc. modules/ typos (cont.)
...
Found via `codespell`
7 years ago
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
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
Suleyman TURKMEN
89480801b8
some improvements on tutorials
7 years ago
Tomoaki Teshima
e63d628677
remove some rand functions
...
* make test more reproducible
7 years ago
Alexander Alekhin
1ff6c758ec
photo: crash workaround for MSVC 2015 32-bit
7 years ago
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
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
Alexander Alekhin
3933958b34
photo(test): fix MergeRobertson test for AARCH64 build
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
saskatchewancatch
d363e2789f
8632: Corrected cv::seamlessClone doc to reflect actual name of flag used in code
8 years ago
Tomoaki Teshima
ccc8767b55
suppress warning on Jetson TK1
8 years ago
Alexander Alekhin
dc31ddc80a
photo: fix InputArray -> CvMat
8 years ago
Alexander Alekhin
ee4b78fcce
test: change condition in Photo_Decolor
8 years ago
Alexander Alekhin
5da8d65371
eliminate compiler warnings
8 years ago
sourin
a34fbf7bb1
Fixed identifiers warns
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