ros2 / ros2/common_interfaces

Image Projection Model

Open
#225 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
393
Forks
157
PR merge metrics
No merged PRs in 30d

Description

Feature request

Feature description

Add a flag to the camera_info message which tell if an image should be rectified using a pinhole or spherical projection model.
When, e.g., using fisheye cameras, a pinhole projection model is not suitable. With FoVs of almost or even more than 180 degree, a different model is required.
This information is not available within the camera_info.

The distortion model must not be used for such information, since different projection models can be used for different kind of lenses/distortions.

Implementation considerations

For my specific use case, a simple flag (bool) would suffice to encode the required information.
I'm not sure though, if a enum (int) might be the better option, since there are more possible ways of projecting images.
(pinhole, cylindrical, spherical, ...)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The request concerns the camera_info message and asks for a projection-model indicator separate from the distortion model. Start by locating that message definition and reviewing how projection information is represented; done means an agreed representation distinguishes at least pinhole and spherical projection without conflating it with lens distortion.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.