measure-colour-patches
is a Python script that simplifies the usually tedious task of measuring individual colour patches from an image. This script uses Pygame and works by averaging the RGB values of every pixel within a specific point (to avoid erroneous noise values), outputting the averaged, normalised RGB values to a CSV file.
- Set Image Path - Specify the path of the image.
- Set CSV Output Path - Specify the path where you would like the resulting CSV saved.
- Configure Rows and Columns - Set the number of rows and columns you require.
- Set Point Size - Customise the point size variable.
- Run the Script - Run the script to initialise the Pygame window.
- Align the Grid - Move the corner points of the grid to align with the corner patches in your image.
- Save the CSV - Once you have placed the points where you want them, press "s" to save the CSV.
The corner points shape the grid using bilinear interpolation, while all other points have local control.