All functions accepting classes now take impl ClassTrait instead of Class directly. This allows passing other objects
that implement the same trait. This change should be backwards compatible.
Some functions, notably Mat::roi(), now return a BoxedRef<Mat> wrapper instead of seemingly independent Mat. This fixes
old soundness hole because the returned Mat was actually a view into the source Mat and you could easily end up with 2
mutable references to the same memory. An additional *_mut() is generated for each of such function to return a
mutable BoxedRefMut<Mat>. To get 2 mutable references to the same Mat for the non-intersecting regions use the
new Mat::roi_2_mut() function.
Slice detection improved, slice arguments in more functions are now generated automatically.
Some slices in function arguments are now references to arrays of particular size. To migrate call .try_into() to convert
the slice to the array.
The error message for the unspecified error (should never actually be visible) is changed to "Unspecified error, neither from
OpenCV nor from std".
Function signature changes:
A group of functions for Mat, UMat, GpuMat and GpuMatND have been given proper
names (rowscols, roi, ranges, col_bounds). Consequently, e.g. roi function can now be called on the Mat
instance (mat.roi()) instead of requiring a fully qualified call (Mat::roi(&mat)).
MatConstIterator::pos_to() is now unsafe and takes a pointer instead of a reference.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps opencv from 0.88.5 to 0.89.0.
Changelog
Sourced from opencv's changelog.
Commits
985af46
chore: Release162db06
Update changelog & regenerate docsa801650
Accept impl traits instead of specific types in function signatures, implemen...906fa61
Make pos_to take a pointer320f0ee
Cleanup510c5fb
Add manual array size to some methodsc8253d6
Improve slice detection3530206
Handle std::exception separately, change the unspecified code from -9999 to -23b923a7
Handle double pointer in CUDA_RawVideoSourceTrait::get_next_packet differently0b636de
chore: ReleaseDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show