Skip to content

Fix copying behaviors of empty bitmap.#3823

Merged
B1ueber2y merged 4 commits into
colmap:mainfrom
B1ueber2y:fix/empty_bitmap
Dec 12, 2025
Merged

Fix copying behaviors of empty bitmap.#3823
B1ueber2y merged 4 commits into
colmap:mainfrom
B1ueber2y:fix/empty_bitmap

Conversation

@B1ueber2y

Copy link
Copy Markdown
Contributor

Fixes #3809

@B1ueber2y B1ueber2y changed the title Fix copying haviors of empty bitmap. Fix copying behaviors of empty bitmap. Dec 12, 2025
Comment thread src/colmap/mvs/image.h
Comment on lines +69 to +70
size_t width_ = 0;
size_t height_ = 0;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this intended?

@B1ueber2y B1ueber2y Dec 12, 2025

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.

Yes. There is a default constructor of mvs::Image so i added a default value here. There is unfortunately no test coverage in the current codebase for the mvs::Image class.

@ahojnnes

Copy link
Copy Markdown
Contributor

Thank you for fixing this!

@B1ueber2y B1ueber2y enabled auto-merge (squash) December 12, 2025 12:07
@B1ueber2y B1ueber2y merged commit 70358de into colmap:main Dec 12, 2025
13 checks passed
@B1ueber2y B1ueber2y deleted the fix/empty_bitmap branch December 12, 2025 12:18
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.

issues with freeimageio and dense reconstruction

3 participants