Skip to content

feat: Add metrics module (PSNR, SSIM, MSE + denoiser comparison)#26

Open
KrishanYadav333 wants to merge 1 commit intoML4SCI:mainfrom
KrishanYadav333:feat/metrics-module
Open

feat: Add metrics module (PSNR, SSIM, MSE + denoiser comparison)#26
KrishanYadav333 wants to merge 1 commit intoML4SCI:mainfrom
KrishanYadav333:feat/metrics-module

Conversation

@KrishanYadav333
Copy link
Copy Markdown

Summary

Evaluation metrics for the EXXA denoising pipeline.

Changes

  • mse(), psnr(), ssim() — standard image quality metrics
  • ssim() handles (H,W) / (C,H,W) / (B,C,H,W) inputs
  • compare_denoisers() — dict of {name: image}{name: {psnr, ssim, mse}}, always includes a noisy baseline

Tests

24 tests covering zero/inf for perfect predictions, monotonic with noise level, known values, all input shapes. All pass.

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