opencv / opencv

Open Source Computer Vision Library
https://opencv.org
Apache License 2.0
79.08k stars 55.83k forks source link

Request to Merge Pull Request: Implement HDR Image Processing #26262

Closed Gayathrif closed 1 month ago

Gayathrif commented 1 month ago
  1. System Information (Version) OpenCV Version: (Enter the version you are currently using, e.g., 4.10.0) Operating System / Platform: (Specify your OS, e.g., Windows 10, Ubuntu 20.04, etc.) Compiler: (Specify your compiler, e.g., MinGW-w64 6.3.0, Visual Studio 2019, etc.)

  2. Detailed Description I am experiencing an issue with the HDR image processing implementation using the Robertson and Reinhard tonemapping algorithms in OpenCV. The expected results are not being produced when processing certain images with extreme lighting conditions.

  3. Steps to Reproduce

  4. Load the HDR image using cv2.imread().

  5. Apply the Robertson tonemapping algorithm using cv2.createTonemapRobertson().

  6. Attempt to visualize the result using cv2.imshow().

  7. Observe the output and compare it to the expected behavior.

  8. Issue Submission Checklist I report the issue, it's not a question. I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc. and have not found any solution. I updated to the latest OpenCV version and the issue is still there. There is reproducer code and related data files:

asmorkalov commented 1 month ago

The issue report is not correct. OpenCV team needs code and test image(s), if you suspect a bug. Just text description cannot be reproduced.

Gayathrif commented 1 month ago

Dear Alexander and the OpenCV team,

Thank you for your feedback.

I would like to apologize for the inconvenience caused. I am a beginner in contributing to open-source projects, and as a college student, it took me a little time to get back to you. I am still learning the best practices for contributing and reporting issues accurately.

I will provide the code and test images you requested shortly to help reproduce the issue. Your patience and guidance are much appreciated as I navigate through this process.

Thank you again for your understanding, and I will make sure to improve my submissions in the future.

Best regards, Gayathri C Nair

On Mon, Oct 7, 2024 at 11:33 AM Alexander Smorkalov < @.***> wrote:

The issue report is not correct. OpenCV team needs code and test image(s), if you suspect a bug. Just text description cannot be reproduced.

— Reply to this email directly, view it on GitHub https://github.com/opencv/opencv/issues/26262#issuecomment-2395977952, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDN5D4U4IZ4F4R6ZR6C7TFLZ2IP25AVCNFSM6AAAAABPNQVGVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVHE3TOOJVGI . You are receiving this because you authored the thread.Message ID: @.***>

Gayathrif commented 1 month ago

Hi @AlexanderSmorkalov,

I have added the test images (img1.png, img2.png, and img3.png) for the HDR processing contribution as requested. Please let me know if you need any further information or if there’s anything else I can assist with.

Thank you!