Skip to content

Handle scaling and truncation for 32-bit images#53

Open
aneesas wants to merge 2 commits intomainfrom
fix/depth-trunc
Open

Handle scaling and truncation for 32-bit images#53
aneesas wants to merge 2 commits intomainfrom
fix/depth-trunc

Conversation

@aneesas
Copy link
Copy Markdown
Contributor

@aneesas aneesas commented Apr 2, 2026

Open3D ignores scaling and max depth arguments for 32-bit images when creating a point cloud from a depth image. This change handles that case.

…y scaling/max depth arguments to when generating point cloud
@mbpeterson70 mbpeterson70 marked this pull request as ready for review April 6, 2026 19:16
@mbpeterson70 mbpeterson70 self-requested a review April 6, 2026 19:18
Comment thread roman/map/fastsam_wrapper.py Outdated
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@aneesas Should we use effective_scale here to be consistent between the two depth --> point cloud conversions?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Whoops--yes, good catch!

Copy link
Copy Markdown
Collaborator

@mbpeterson70 mbpeterson70 left a comment

Choose a reason for hiding this comment

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

@aneesas Looks good, thanks for the fix! I think it makes sense to address my one comment above, then looks good to merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants