Skip to content

why you subtract self._principle_point in project_2d_to_3d and add self._principle_point in project_3d_to_2d? #1

@admyxs

Description

@admyxs

Thank for your great work

but I have a problem about the Class Camera function "project_2d_to_3d" and "project_3d_to_2d"
https://github.com/RoboticImaging/RectConv/blob/main/scripts/projection.py#L202
https://github.com/RoboticImaging/RectConv/blob/main/scripts/projection.py#L196

1、I want to konw why you subtract self._principle_point in project_2d_to_3d
and add self._principle_point in project_3d_to_2d?

2、Does it corrlate to other function?

3、What will happen if i delete the two lines?

Thank for your great work again!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions