Skip to content

Declare NormalizeJointPDF static, let it use ImageBufferRange, add unit test#1439

Merged
N-Dekker merged 4 commits into
mainfrom
Style-NormalizeJointPDF
May 5, 2026
Merged

Declare NormalizeJointPDF static, let it use ImageBufferRange, add unit test#1439
N-Dekker merged 4 commits into
mainfrom
Style-NormalizeJointPDF

Conversation

@N-Dekker
Copy link
Copy Markdown
Member

@N-Dekker N-Dekker commented May 5, 2026

No description provided.

N-Dekker added 4 commits May 5, 2026 13:02
`ParzenWindowHistogramImageToImageMetric::NormalizeJointPDF` does not use `this`.

Following MISRA-C++ Rule "If a member function can be made static then it shall be made static" and https://clang.llvm.org/extra/clang-tidy/checks/readability/convert-member-functions-to-static.html
Added GTEST_TEST(ParzenWindowHistogramImageToImageMetric, NormalizeJointPDF)
Replaced `this->NormalizeJointPDF` with `Superclass::NormalizeJointPDF`.
Simplified the implementation, and probably made it faster.
@N-Dekker N-Dekker merged commit 0b2a36b into main May 5, 2026
7 of 8 checks passed
@N-Dekker N-Dekker deleted the Style-NormalizeJointPDF branch May 5, 2026 11:51
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