• Namgoo Lee's avatar
    Add CV_16UC1 support for cuda::CLAHE · fb8e652c
    Namgoo Lee authored
    Due to size limit of shared memory, histogram is built on
    the global memory for CV_16UC1 case.
    
    The amount of memory needed for building histogram is:
    
        65536 * 4byte = 256KB
    
    and shared memory limit is 48KB typically.
    
    Added test cases for CV_16UC1 and various clip limits.
    Added perf tests for CV_16UC1 on both CPU and CUDA code.
    
    There was also a bug in CV_8UC1 case when redistributing
    "residual" clipped pixels. Adding the test case where clip
    limit is 5.0 exposes this bug.
    fb8e652c
Name
Last commit
Last update
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...