DecodingRaphael / unraphael

Python toolkit for unraveling image similarity with a focus on artistic practice
https://unraphael.readthedocs.io
Apache License 2.0
2 stars 1 forks source link

Streamlit normalization #35

Closed ThijsVroegh closed 2 months ago

ThijsVroegh commented 3 months ago

This PR adds a new page to the dashboard for image alignment, centered on removing differences in rotation, scale, translation, and shearing. After normalization on brightness, sharpness, contrast and colour, alignment will take place and changes in rotation, scale, translation, and shearing will be displayed. Covered are:

  1. Based on a selected base-image, all other images will be aligned to this base image accordingly
  2. Multiple file upload is possible
  3. Option to select from several alternative alignment procedures
  4. Clear visual inspection and comparison by having an image viewer build in to scroll between all aligned images
  5. In addition to saving into buffer, also provide the option to save the aligned images locally

The aligned images can be saved and used for further 1) outline contour extraction and comparison and 2) structural comparison of outlines form the images. These are handled in spearate streamlit pages for clarity purposes

TODO:

stefsmeets commented 2 months ago

I refactored the code a bit in line with our discussions this morning.

Todo