Erik Karlsson
a9ff335a89
Added OpenCL support for FastNlMeansDenoisingAbs
10 years ago
Erik Karlsson
0fdb95e195
Refactoring and addition of CV_8UC3 to ocl_fastNlMeansDenoising
10 years ago
Erik Karlsson
8e7aff4486
Changed fastNlMeansDenoising and fastNlMeansDenoisingMulti back to sum of sq distances. Moved sq sum of abs distances to fastNlMeansDenoisingAbs and fastNlMeansDenoisingMultiAbs
10 years ago
Erik Karlsson
e647b7c7e8
Calculating almost_dist2weight at full size to avoid bounds checking
10 years ago
Erik Karlsson
baf266c29e
Changed from sum of squared differences to sum of abs differences
10 years ago
Erik Karlsson
c339720af9
Preparation for 16-bit colored denoising. Currently not working due to cvtColor not supportint 16-bit Lab conversion.
10 years ago
Erik Karlsson
584372bbf2
Fixed bounds checking
10 years ago
Erik Karlsson
d588c717da
Using WEIGHT_THRESHOLD to limit table size. Still problematic with 16-bit and big h-values.
10 years ago
Erik Karlsson
42db9e7153
Basic 16-bit implmentation of fastNlMeansDenoising. Table-based exponetiation leads to high memory footprint and loss of precision in 16-bit mode.
10 years ago
Erik Karlsson
8368fb9ea8
Additional refactoring preparing for 16-bit implementation
10 years ago
Erik Karlsson
e178294b49
Refactoring in preparation for 16-bit implementation of fastNlMeansDenoising
10 years ago
Vladislav Vinogradov
f48befc6f0
refactor CUDA part of photo module
10 years ago
Jiri Drbalek
d71e001736
fix crash when sample point out of image boundaries
10 years ago
Yan Wang
fd2d800c06
Remove unnecessary local variable "size".
...
It should also be better for optimizing when compiling kernel.
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
10 years ago
Yan Wang
a8b4c99ed6
Improve the performance of fast_nlmeans_denoising_opencl.
...
1. Remove unnecessary barriers.
2. Adjust CTA_SIZE based on the following cases for Intel platform:
a) OCL_Photo_DenoisingGrayscale.DenoisingGrayscale
b) OCL_Photo_DenoisingColored.DenoisingColored
10 years ago
Adrien BAK
9972059476
suppress warnings
10 years ago
Adrien BAK
53d11f490d
whitespace
10 years ago
Adrien BAK
5c98209127
whitespaces
10 years ago
Adrien BAK
ee210afc44
white space
10 years ago
Adrien BAK
cb76d00f5f
precalculate indices
10 years ago
Adrien BAK
419450689b
remove unnecessary buffer copies
10 years ago
Adrien BAK
b4504639c8
refactor poisson_solver
10 years ago
Adrien BAK
6bfea73716
move calls to ptr<>
10 years ago
Adrien BAK
4a5ea85094
another useless include
10 years ago
Adrien BAK
df312a4ffa
at<> -> ptr<>
10 years ago
Adrien BAK
5a16de2ef6
.size().width -> cols
10 years ago
Adrien BAK
980496bb0e
remove useless include
10 years ago
Adrien BAK
c6ffa5059d
remove useless includes
10 years ago
Adrien BAK
11d89ad7c1
coding guidelines
10 years ago
Adrien BAK
53f4f06a15
remove debugging code
10 years ago
Adrien BAK
c69016467d
replace implementation of dst
10 years ago
Adrien BAK
89e7860572
replace double by float
10 years ago
Adrien BAK
ed9f6a3cb4
simplify a line
10 years ago
Adrien BAK
e46810eabe
this has been submitted to the daily wtf
10 years ago
Adrien BAK
47b01be0a4
replace 8 loops by 2
10 years ago
Adrien BAK
b04d06938d
replace double* by vector<double>
10 years ago
Adrien BAK
a14bfb331d
remove logging
10 years ago
Adrien BAK
a361cc9479
remove some more useless buffers and rename a bunch of variables
10 years ago
Adrien BAK
61fe623cf1
backport bug fix
10 years ago
Adrien BAK
d46c466e20
remove useless buffers
10 years ago
Adrien BAK
89be83e5be
rename variables
10 years ago
Adrien BAK
b3ddc2b9a7
refactor array_product
10 years ago
Adrien BAK
33c15d6309
rename stuff, adds logging and replace shitty else if chain by switch
10 years ago
Adrien BAK
1f6acc23fa
adds header guards + move impl to proper file
10 years ago
Adrien BAK
e8c2f2ee3e
constness
10 years ago
berak
56fcc41d70
bugfix #3945 pass idx,idx1 by reference instead of static vars
10 years ago
Adrien BAK
037f27c882
change masking to patchNaNs
10 years ago
Adrien BAK
2411556242
fix photo::cloning::IlluminationChange when IPP is used
10 years ago
Vadim Pisarevsky
257463719b
removed optim module; moved its functionality to core and photo modules; moved drawing functions from core to imgproc. Removed FilterEngine etc. from public API
10 years ago
Alexander Karsakov
75ede6e17c
Minimal image size is set to 5*5 for OCL path of fastNlMeansDenoising and fastNlMeansDenoisingColored since it breaks tests with test_loop_times=30 and in general doesn't make sense for computation on GPU.
10 years ago