royerlab / aydin

Aydin — User-friendly, Fast, Self-Supervised Image Denoising for All.
https://royerlab.github.io/aydin/
BSD 3-Clause "New" or "Revised" License
151 stars 14 forks source link

BUG: PSNR function parameter order fix #286

Closed AhmetCanSolak closed 1 year ago

AhmetCanSolak commented 1 year ago

This PR addresses the misusages of skimage.metrics.peak_signal_noise_ratio function which requires the true image as the first parameter as shown in docs: https://scikit-image.org/docs/stable/api/skimage.metrics.html#skimage.metrics.peak_signal_noise_ratio.