Skip to content

Add ImageSample::GetRangeOfSamples, remove std::ceil call#1442

Merged
N-Dekker merged 3 commits into
mainfrom
ImageSample-GetRangeOfSamples
May 11, 2026
Merged

Add ImageSample::GetRangeOfSamples, remove std::ceil call#1442
N-Dekker merged 3 commits into
mainfrom
ImageSample-GetRangeOfSamples

Conversation

@N-Dekker

Copy link
Copy Markdown
Member

No description provided.

N-Dekker added 3 commits May 11, 2026 11:30
Let `AdvancedImageToImageMetric::GetRangeOfSamples` call `ImageSample::GetRangeOfSamples`
Replaced duplicate code in implementations of the `ThreadedCompute` member function of both AdvancedImageMomentsCalculator and ComputeDisplacementDistribution.
It might be slightly faster without the `std::ceil` call and the conversions
to and from `double`.
@N-Dekker N-Dekker merged commit 8ae83b8 into main May 11, 2026
7 of 8 checks passed
@N-Dekker N-Dekker deleted the ImageSample-GetRangeOfSamples branch May 11, 2026 10:59
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.

1 participant