-
Notifications
You must be signed in to change notification settings - Fork 741
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
Add fisheye rectification #441
Add fisheye rectification #441
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should use image transport, and this should probably be inside of image_proc
package, otherwise LGTM when CI is passing and targeted to melodic
This reverts commit 1b83555.
This reverts commit e812546.
PinholeCameraModel is misleading now that fisheye model (KB) was introduced. Hence, rename the class and file to a more general name. Class CameraModel does use the distortion model specified in the camera_info, namely pinhole, fisheye and rationa_polynomial
@DavidTorresOcana this cant be merged until the upstream things have been merged that you pointed to. But given its just header changes, I have no issue merging once that time comes |
It would be good if you could ask to push the upstream of PRs up |
@DavidTorresOcana I don't have control over those repos |
Successfully tested in |
fd76f52
to
2393388
Compare
Closing since ros-perception/vision_opencv#358 was finally merged |
This PR introduces changes to be able to rectify fisheye cameras calibrated with #440 #580 and #592 and aim to Fix #146
This PR depends on ros-perception/vision_opencv#306 and it is related to ros-perception/image_common#146
As this PR only intends to upgrade
image_proc
package with fisheye support, it was tested only with monocular cameras.It introduces:
Rename class PinholeCameraModel to CameraModel and headers: PinholeCameraModel is misleading. Rename the class and file to a more general name.
camera_info
, including pinhole, equidistant and rational_polynomial and is able to run all methods inimage_proc
, regardless of the model used