Skip to content

Amaraldo/measure-colour-patches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

measure-colour-patches

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.

How to Use

  1. Set Image Path - Specify the path of the image.
  2. Set CSV Output Path - Specify the path where you would like the resulting CSV saved.
  3. Configure Rows and Columns - Set the number of rows and columns you require.
  4. Set Point Size - Customise the point size variable.
  5. Run the Script - Run the script to initialise the Pygame window.
  6. Align the Grid - Move the corner points of the grid to align with the corner patches in your image.
  7. 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.

Measure-color-patches

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages