Skip to content

Considering NaN in downsampled spatial profile data#987

Merged
confluence merged 5 commits intodevfrom
mark/consider_nan_in_downsample_spatial_profile
Jan 11, 2022
Merged

Considering NaN in downsampled spatial profile data#987
confluence merged 5 commits intodevfrom
mark/consider_nan_in_downsample_spatial_profile

Conversation

@markccchiang
Copy link
Copy Markdown
Contributor

Maybe it is not a critical bug. Using std::minmax_element or std::min_element/std::max_element can not get the right min/max values from a segment if it contains NaN elements. To show it, introducing random NaN in generated images and remove this code line, then some of the spatial profile tests would fail. This PR is part of #797 for the cursor/point region spatial profile test.

@kswang1029 kswang1029 added this to the v3.0b-3 milestone Jan 5, 2022
@confluence confluence merged commit 9dfb2b3 into dev Jan 11, 2022
@confluence confluence deleted the mark/consider_nan_in_downsample_spatial_profile branch January 11, 2022 10:53
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.

4 participants