Skip to content

Adds support for CUDA MHT 16-bit demosaicking #3777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

llschloesser
Copy link

@llschloesser llschloesser commented Aug 14, 2024

Pull Request Readiness Checklist

This pull request adds support for CUDA 16-bit MHT demosaicking handled identically to 8-bit input. This means the output can be 1, 3, or 4 channels. The same template is used for 8-bit, so there is no need for additional tests unless desired and there is 16-bit test data available.

credit @shane-nichols

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • [N/A] There is a reference to the original bug report and related work
  • [N/A] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • [N/A] The feature is well documented and sample code can be built with the project CMake

@asmorkalov asmorkalov self-requested a review August 27, 2024 14:59
@llschloesser
Copy link
Author

@asmorkalov I'd like to see these changes merged if you can get to it. We have a 16-bit image processing pipeline for our ROV cameras operating in low-light and due to the size of the images we prefer to use CUDA processing. This debayering method is higher quality that the default linear alternative. If you need a 16-bit raw image for a test I can provide. Thanks!

@asmorkalov asmorkalov self-assigned this Apr 2, 2025
@asmorkalov asmorkalov merged commit 1fffe35 into opencv:4.x Apr 2, 2025
11 checks passed
@asmorkalov asmorkalov mentioned this pull request Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants