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

fix(autoware_image_projection_based_fusion): detected object roi box projection fix #9519

Conversation

technolojin
Copy link
Contributor

@technolojin technolojin commented Nov 28, 2024

Description

  1. eliminate misuse of std::numeric_limits<double>::min()
  2. fix roi range up to the image edges

Related links

Parent Issue:

How was this PR tested?

Screenshot from 2024-12-02 15-09-33

Screenshot from 2024-12-02 15-17-24

Objects at the edges are fused without issue.

Notes for reviewers

It will be merged after #9505 is merged and the build issue is resolved.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added component:perception Advanced sensor data processing and environment understanding. (auto-assigned) tag:require-cuda-build-and-test labels Nov 28, 2024
Copy link

github-actions bot commented Nov 28, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@technolojin technolojin force-pushed the fix/image-proj-fus/roi-range-fix branch from fe461df to 3d9f51c Compare November 29, 2024 08:39
@technolojin technolojin self-assigned this Nov 29, 2024
@technolojin technolojin marked this pull request as ready for review November 29, 2024 08:41
1. eliminate misuse of std::numeric_limits<double>::min()
2. fix roi range up to the image edges

Signed-off-by: Taekjin LEE <[email protected]>
Improve the calculation of the region of interest (ROI) in the RoiDetectedObjectFusionNode. The previous code had an issue where the ROI range was not correctly limited to the image edges. This fix ensures that the ROI is within the image boundaries by using the correct comparison operators for the x and y coordinates.

Signed-off-by: Taekjin LEE <[email protected]>
@technolojin technolojin force-pushed the fix/image-proj-fus/roi-range-fix branch from 3d9f51c to 26cdeea Compare December 2, 2024 10:10
@technolojin technolojin added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Dec 5, 2024
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

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

Project coverage is 29.49%. Comparing base (557a8b5) to head (26cdeea).
Report is 64 commits behind head on main.

Files with missing lines Patch % Lines
...sed_fusion/src/roi_detected_object_fusion/node.cpp 0.00% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9519      +/-   ##
==========================================
- Coverage   29.49%   29.49%   -0.01%     
==========================================
  Files        1443     1444       +1     
  Lines      108648   108659      +11     
  Branches    41537    41538       +1     
==========================================
+ Hits        32047    32048       +1     
- Misses      73479    73489      +10     
  Partials     3122     3122              
Flag Coverage Δ *Carryforward flag
differential 2.67% <0.00%> (?)
total 29.49% <ø> (+<0.01%) ⬆️ Carriedforward from 557a8b5

*This pull request uses carry forward flags. Click here to find out more.

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

Copy link
Contributor

@yukkysaito yukkysaito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@technolojin technolojin merged commit 9553414 into autowarefoundation:main Dec 9, 2024
44 checks passed
@technolojin technolojin deleted the fix/image-proj-fus/roi-range-fix branch December 9, 2024 03:05
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) tag:require-cuda-build-and-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants