Repository navigation
Add CV_16UC1 support for cuda::CLAHE - #13764
Merged
Merged
Conversation
nglee
force-pushed
the
dev_CudaCLAHE16bitSupport
branch
2 times, most recently
from
February 6, 2019 04:39
241c464 to
19d63bf
Compare
Contributor
Author
|
@alalek How do we add regression data to perf tests? The builds fail with messages such as: |
Member
|
Or use |
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.
nglee
force-pushed
the
dev_CudaCLAHE16bitSupport
branch
from
February 6, 2019 17:23
19d63bf to
fb8e652
Compare
alalek
approved these changes
Feb 8, 2019
alalek
left a comment
Member
There was a problem hiding this comment.
Well done! Thank you for the contribution 👍
opencv-pushbot
pushed a commit
that referenced
this pull request
Feb 8, 2019
SavyaSanchi-Sharma
pushed a commit
to SavyaSanchi-Sharma/opencv
that referenced
this pull request
Jul 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge with extra: opencv/opencv_extra#573
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:
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.
Related : opencv/opencv_contrib#1958
Performance test on 2080 Ti and CUDA 10 :