Skip to content
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

C-API cleanup: imgproc_c and some constants #3642

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

mshabunin
Copy link
Contributor

  • removed all mentions of imgproc C-API headers (imgproc_c.h, types_c.h) - they were empty, included core C-API headers
  • replaced usage of several C constants with C++ ones (error codes)
  • minor warning fixes in cvv module

@mshabunin mshabunin force-pushed the cleanup-imgproc-1 branch from 17f862f to 07fee0b Compare March 1, 2024 08:15
asmorkalov pushed a commit to opencv/opencv that referenced this pull request Mar 5, 2024
C-API cleanup: apps, imgproc_c and some constants #25075

Merge with opencv/opencv_contrib#3642

* Removed obsolete apps - traincascade and createsamples (please use older OpenCV versions if you need them). These apps relied heavily on C-API
* removed all mentions of imgproc C-API headers (imgproc_c.h, types_c.h) - they were empty, included core C-API headers
* replaced usage of several C constants with C++ ones (error codes, norm modes, RNG modes, PCA modes, ...) - most part of this PR (split into two parts - all modules and calib+3d - for easier backporting)
* removed imgproc C-API headers (as separate commit, so that other changes could be backported to 4.x)

Most of these changes can be backported to 4.x.
@asmorkalov asmorkalov merged commit 6f68a4e into opencv:5.x Mar 5, 2024
7 of 9 checks passed
@mshabunin mshabunin deleted the cleanup-imgproc-1 branch March 5, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants