Skip to content

Conversation

@zipy124
Copy link

@zipy124 zipy124 commented Jul 24, 2025

Updated dependencies to more modern versions and since scipy.ndimage.imread no longer exists and as recommended in the docs has been replaced with imageio.imread, preserving mode 'L' using the ITU-R 601-2 luma transform.

Additionally we make sure the imshow() call has vmin=0, vmax=255 for all images, as otherwise the range displayed will be different for the three images, making the reconstruction look worse than it actually is. For example in one run I get the minimum and maximum of the ground truth to be 20 and 247, whilst our reconstruction is 7 and 274. This expanded range makes the reconstruction look like it cannot reproduce dark blacks, or bright whites in the final image.

zipy124 added 3 commits July 24, 2025 13:22
Added windows instructions and updated dependcy versions
Replace deprecated and removed scipy.ndimage.imread
Make sure all images displayed are sharing a common colour-range for the colourmap, otherwise you can be decieved as to the output looking less-similar than it actually is.
@humatic
Copy link
Owner

humatic commented Jul 24, 2025

Hi Zak, thanks for the fixes/ updates! Did you by any chance confirm that the updated compile instructions still work for Ubuntu/Linux or only on Windows?

@zipy124
Copy link
Author

zipy124 commented Aug 3, 2025

I did not confirm that they work for linux sorry!

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.

2 participants