Issue with SSIM Values Exceeding 1 in MONAI Metrics #8278
Unanswered
MiguelHGDC
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
I am encountering an issue with the SSIM and MS-SSIM metrics when using MONAI's implementation. Specifically, the SSIM values sometimes exceed 1, which should not happen as the theoretical range for SSIM is
[0, 1]
.The input data consists of normalized CT images with values in the range
[0, 1]
, and I’ve ensured that both the original images and reconstructions are clamped to this range. Here are some key observations and debugging details:Data Ranges:
[0, 1]
range.SSIM Outputs:
SSIM: 1.0341
MS-SSIM: 1.0176
Debugging Outputs:
First Pass:
Second Pass:
Third Pass:
Fourth Pass:
Fifth Pass:
Sixth Pass:
Final Results:
Beta Was this translation helpful? Give feedback.
All reactions