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

feat(image_projection_based_fusion): unrectify image projection based fusion #7053

Conversation

yukkysaito
Copy link
Contributor

@yukkysaito yukkysaito commented May 17, 2024

Description

In image_projection_based_fusion, only the internal parameters of the camera were considered, and no distortion correction was applied. As a result, when projecting onto images with significant distortion, misalignments occurred. This Pull Request has been modified to account for distortion.

Related links

TIER IV INTERNAL

Tests performed

In roi_cluster_fusion, operation has been confirmed on the actual machine.
before
image

after
image

Notes for reviewers

Interface changes

Effects on system behavior

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

yukkysaito and others added 9 commits April 26, 2024 22:51
Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>
…ction-based-fusion' into feature/unrecify-image-projection-based-fusion
Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>
Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>
Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>
@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label May 17, 2024
@yukkysaito yukkysaito marked this pull request as ready for review June 1, 2024 08:30
@kminoda kminoda added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jun 3, 2024
Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>
@yukkysaito yukkysaito enabled auto-merge (squash) June 3, 2024 09:06
@yukkysaito yukkysaito disabled auto-merge June 4, 2024 15:13
Copy link

github-actions bot commented Jun 27, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
@technolojin technolojin force-pushed the feature/unrecify-image-projection-based-fusion branch from 62fde55 to 1b0e197 Compare June 27, 2024 04:17
@technolojin
Copy link
Contributor

@yukkysaito I checked there is a compile failure. It was caused by #7224, and it was fixed.

Copy link

codecov bot commented Jun 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 35 lines in your changes missing coverage. Please review.

Project coverage is 2.64%. Comparing base (507e3f4) to head (1b0e197).
Report is 157 commits behind head on main.

Files Patch % Lines
...ction_based_fusion/src/roi_cluster_fusion/node.cpp 0.00% 13 Missing ⚠️
...on_based_fusion/src/roi_pointcloud_fusion/node.cpp 0.00% 6 Missing ⚠️
...fusion/src/segmentation_pointcloud_fusion/node.cpp 0.00% 6 Missing ⚠️
...sed_fusion/src/roi_detected_object_fusion/node.cpp 0.00% 4 Missing ⚠️
.../image_projection_based_fusion/src/utils/utils.cpp 0.00% 4 Missing ⚠️
...ion_based_fusion/src/pointpainting_fusion/node.cpp 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #7053       +/-   ##
==========================================
- Coverage   14.84%   2.64%   -12.21%     
==========================================
  Files        1999     165     -1834     
  Lines      139163   10105   -129058     
  Branches    43716    1589    -42127     
==========================================
- Hits        20661     267    -20394     
+ Misses      95731    9748    -85983     
+ Partials    22771      90    -22681     
Flag Coverage Δ
differential 2.64% <0.00%> (?)
total ?

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@technolojin
Copy link
Contributor

@kminoda DCO warning seems to be shown by your Co-authored-by. Can you resolve it?

@technolojin technolojin requested a review from kminoda June 27, 2024 04:26
@yukkysaito
Copy link
Contributor Author

@kminoda DCO warning seems to be shown by your Co-authored-by. Can you resolve it?

done

@yukkysaito yukkysaito merged commit bcf0677 into autowarefoundation:main Jun 27, 2024
31 of 33 checks passed
mitukou1109 pushed a commit to mitukou1109/autoware.universe that referenced this pull request Jul 2, 2024
… fusion (autowarefoundation#7053)

* unrecify 3d point for image projection based fusion

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* style(pre-commit): autofix

* add try-catch code for exception handling

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* Update perception/image_projection_based_fusion/src/utils/utils.cpp

Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>

* style(pre-commit): autofix

* remove litter

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* revert try-catch

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* Update perception/image_projection_based_fusion/src/utils/utils.cpp

Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>

* fix: resolve conflict

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>

---------

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>
Co-authored-by: Taekjin LEE <taekjin.lee@tier4.jp>
palas21 pushed a commit to palas21/autoware.universe that referenced this pull request Jul 12, 2024
… fusion (autowarefoundation#7053)

* unrecify 3d point for image projection based fusion

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* style(pre-commit): autofix

* add try-catch code for exception handling

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* Update perception/image_projection_based_fusion/src/utils/utils.cpp

Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>

* style(pre-commit): autofix

* remove litter

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* revert try-catch

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* Update perception/image_projection_based_fusion/src/utils/utils.cpp

Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>

* fix: resolve conflict

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>

---------

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>
Co-authored-by: Taekjin LEE <taekjin.lee@tier4.jp>
Signed-off-by: palas21 <palas21@itu.edu.tr>
tby-udel pushed a commit to tby-udel/autoware.universe that referenced this pull request Jul 14, 2024
… fusion (autowarefoundation#7053)

* unrecify 3d point for image projection based fusion

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* style(pre-commit): autofix

* add try-catch code for exception handling

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* Update perception/image_projection_based_fusion/src/utils/utils.cpp

Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>

* style(pre-commit): autofix

* remove litter

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* revert try-catch

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* Update perception/image_projection_based_fusion/src/utils/utils.cpp

Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>

* fix: resolve conflict

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>

---------

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>
Co-authored-by: Taekjin LEE <taekjin.lee@tier4.jp>
KhalilSelyan pushed a commit that referenced this pull request Jul 22, 2024
… fusion (#7053)

* unrecify 3d point for image projection based fusion

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* style(pre-commit): autofix

* add try-catch code for exception handling

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* Update perception/image_projection_based_fusion/src/utils/utils.cpp

Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>

* style(pre-commit): autofix

* remove litter

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* revert try-catch

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* Update perception/image_projection_based_fusion/src/utils/utils.cpp

Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>

* fix: resolve conflict

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>

---------

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>
Co-authored-by: Taekjin LEE <taekjin.lee@tier4.jp>
badai-nguyen pushed a commit to tier4/autoware.universe that referenced this pull request Aug 1, 2024
… fusion (autowarefoundation#7053)

* unrecify 3d point for image projection based fusion

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* style(pre-commit): autofix

* add try-catch code for exception handling

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* Update perception/image_projection_based_fusion/src/utils/utils.cpp

Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>

* style(pre-commit): autofix

* remove litter

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* revert try-catch

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* Update perception/image_projection_based_fusion/src/utils/utils.cpp

Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>

* fix: resolve conflict

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>

---------

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>
Co-authored-by: Taekjin LEE <taekjin.lee@tier4.jp>
badai-nguyen pushed a commit to tier4/autoware.universe that referenced this pull request Aug 5, 2024
… fusion (autowarefoundation#7053)

* unrecify 3d point for image projection based fusion

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>

* style(pre-commit): autofix

* add try-catch code for exception handling

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* Update perception/image_projection_based_fusion/src/utils/utils.cpp

Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>

* style(pre-commit): autofix

* remove litter

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* revert try-catch

Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>

* Update perception/image_projection_based_fusion/src/utils/utils.cpp

Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>

* fix: resolve conflict

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>

---------

Signed-off-by: Yukihiro Saito <yukky.saito@gmail.com>
Signed-off-by: Yukihito Saito <yukky.saito@gmail.com>
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>
Co-authored-by: Taekjin LEE <taekjin.lee@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:perception Advanced sensor data processing and environment understanding. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants