forked from archit120/JuliaOpenCVBindingGenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Towards a more "Julian" package
This is a proposed redesign that may be a bit more natural to work with from the Julia perspective. The principal difference are: - Support eltypes of the form `SVector{T,N}`: this makes this wrapper behave more like OpenCV itself, which (unlike Python) does not use an array dimension to encode the number of color channels. - Support `N0f8` and `N0f16`, JuliaImages preferred interpretation of 8- and 16-bit unsigned intensity data. (See FixedPointNumbers and https://juliaimages.org/latest/tutorials/arrays_colors/#fixedpoint; interestingly, OpenCV itself suffers from the exact same problem, see https://stackoverflow.com/questions/14539498/change-type-of-mat-object-from-cv-32f-to-cv-8u for an example of a user who got bit by the "divide by 255" rule.) - Work towards support for multidimensional arrays (see JuliaImages/OpenCV.jl#4) - Validate arguments more carefully and improve correctness in a few key places
- Loading branch information
Showing
4 changed files
with
94 additions
and
84 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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