Skip to content
New issue

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

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

Already on GitHub? # to your account

drop convertFp16 in favor of cv::Mat::convertTo. #3812

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

asmorkalov
Copy link
Contributor

@asmorkalov asmorkalov commented Oct 18, 2024

Behavour change: cuda::convertFp16 returns CV_16F instead of CV_16S for fp16 values.

Main PR: opencv/opencv#26327

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • 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
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@asmorkalov asmorkalov merged commit ddfb5cf into opencv:5.x Oct 22, 2024
9 checks passed
asmorkalov added a commit to opencv/opencv that referenced this pull request Oct 22, 2024
Finally dropped convertFp16 function in favor of cv::Mat::convertTo() #26327 

Partially address #24909
Related PR to contrib: opencv/opencv_contrib#3812

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] 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
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants