Skip to content

added loading DistanceMap from monochrome image#493

Merged
ABSitf merged 3 commits intomasterfrom
i1091_load_distance_map_from_image
Sep 14, 2022
Merged

added loading DistanceMap from monochrome image#493
ABSitf merged 3 commits intomasterfrom
i1091_load_distance_map_from_image

Conversation

@ABSitf
Copy link
Contributor

@ABSitf ABSitf commented Sep 13, 2022

also updated default value in DistanceMapToWorld

updated default value in DistanceMapToWorld
Comment on lines +269 to +272
/// load distance map from image in scales of gray:
/// far: 0.3 (dark-gray)
/// close: 1.0 (white)
MRMESH_API tl::expected<DistanceMap, std::string> loadDistanceMapFromImage( const std::filesystem::path& filename );
Copy link
Contributor

Choose a reason for hiding this comment

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

mb add public version with MR::Image argument too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added

Comment on lines +269 to +271
/// load distance map from image in scales of gray:
/// far: 0.3 (dark-gray)
/// close: 1.0 (white)
Copy link
Contributor

Choose a reason for hiding this comment

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

is this comment true?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

rewritten

@ABSitf ABSitf merged commit 65f53a6 into master Sep 14, 2022
@ABSitf ABSitf deleted the i1091_load_distance_map_from_image branch September 14, 2022 16:54
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