int64 data type in FileStorage#26399
Merged
asmorkalov merged 3 commits intoopencv:5.xfrom Nov 8, 2024
Merged
Conversation
Contributor
|
@dkurt The PR triggers massive exceptions in all tests: |
Member
Author
|
@asmorkalov, thanks! I just wanted to trigger all the tests by this PR, it's not finished |
665a328 to
ad47a96
Compare
int64 test (failed) Positive and negative INT64 correct symbols int64 Mat Fix test fix empty mat Cast to int64 depends on format Fix warnings fix int64 Mat Write first scalar Fix writeInt
f937791 to
afdeea9
Compare
asmorkalov
approved these changes
Nov 8, 2024
6 tasks
asmorkalov
pushed a commit
that referenced
this pull request
Nov 11, 2024
int64 data type support for FileStorage. 1d and empty Mat with exact dimensions #26434 ### Pull Request Readiness Checklist Port of #26399 to 4.x branch 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. - [x] The feature is well documented and sample code can be built with the project CMake
thewoz
pushed a commit
to CobbsLab/OPENCV
that referenced
this pull request
Feb 13, 2025
int64 data type support for FileStorage. 1d and empty Mat with exact dimensions opencv#26434 ### Pull Request Readiness Checklist Port of opencv#26399 to 4.x branch 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. - [x] The feature is well documented and sample code can be built with the project CMake
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Readiness Checklist
resolves #23333
Proposed approach is not perfect in terms of complexity and potential bugs. Instead of changing
INTraw size from4to8, we check int64 value can be fitted to int32 or not.Collections such as cv::Mat rely on data type symbol.
This PR is addressed to 5.x branch first to cover
CV_64SMat. Later, it can be backported to 4.xSee details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.