Skip to content

imgproc: add specific error code when cvtColor is used on an image with an invalid number of channels#25981

Merged
asmorkalov merged 2 commits intoopencv:4.xfrom
Kumataro:fix25971
Aug 9, 2024
Merged

imgproc: add specific error code when cvtColor is used on an image with an invalid number of channels#25981
asmorkalov merged 2 commits intoopencv:4.xfrom
Kumataro:fix25971

Conversation

@Kumataro
Copy link
Copy Markdown
Contributor

@Kumataro Kumataro commented Aug 2, 2024

close #25971

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 added this to the 4.11.0 milestone Aug 7, 2024
@asmorkalov asmorkalov self-assigned this Aug 9, 2024
@asmorkalov asmorkalov merged commit da3debd into opencv:4.x Aug 9, 2024
@Kumataro
Copy link
Copy Markdown
Contributor Author

Kumataro commented Aug 9, 2024

Thank you very much for review and fix typo !!

@asmorkalov asmorkalov mentioned this pull request Aug 27, 2024
thewoz pushed a commit to CobbsLab/OPENCV that referenced this pull request Feb 13, 2025
imgproc: add specific error code when cvtColor is used on an image with an invalid number of channels opencv#25981

close opencv#25971

### 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
- [x] 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
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.

add specific error code when cvtColor is used on an image with an invalid number of channels

3 participants