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

Improved distortion api #262

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

NiklasNeugebauer
Copy link
Contributor

@NiklasNeugebauer NiklasNeugebauer commented Feb 20, 2025

feat: add crop_parameter to undistort_image
style: make point_to_rays private
feat: add overloads to accept list[Point] in distort_image and undistort_image
feat: reshape image_points to accept a wider range of input points
feat: reshape points array to Nx2 before returning it
test: add image undistortion and distortion tests
type: type inputs and outputs as FloatArray where applicable

BREAKING CHANGE: distort_points and undistort_points now return arrays of shape (N, 2)

@NiklasNeugebauer NiklasNeugebauer added the enhancement New feature or request label Feb 20, 2025
@NiklasNeugebauer NiklasNeugebauer marked this pull request as draft February 20, 2025 10:12
@NiklasNeugebauer NiklasNeugebauer added this to the 0.23.0 milestone Feb 20, 2025
@NiklasNeugebauer NiklasNeugebauer marked this pull request as ready for review February 20, 2025 10:24
@denniswittich
Copy link
Contributor

denniswittich commented Feb 26, 2025

Merged main into this branch and resolved merge conflicts, but did not yet remove the duplicate tests!

@NiklasNeugebauer
Copy link
Contributor Author

Are you working on that or should I?

@NiklasNeugebauer
Copy link
Contributor Author

Should be ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants