AdvancedPhotonSource / xdesign

Tools for designing x-ray phantoms and experiments.
https://xdesign.readthedocs.io
Other
24 stars 16 forks source link

BUG: MS-SSIM fails with odd shaped images #69

Closed carterbox closed 5 years ago

carterbox commented 5 years ago

MS-SSIM maps were the wrong size because of rounding errors at each level. This fixes the bug by always scaling using the direct ratio between the current and desired size.

carterbox commented 5 years ago

Fixes #68