Skip to content

josorio398/PyColorimetry_Library

Repository files navigation

PyColorimetry

PyColorimetry is a powerful Python library designed for both educators and students in the field of colorimetry. The library processes images using semantic segmentation. After segmentation, the images are normalized, and computations of RGB, tristimulus XYZ values, and conversion to the CIELAB space are performed. PyColorimetry also provides functionality for visualizing colors in the CIELAB color space. This library takes advantage of modern GPU computing power to provide efficient and accurate colorimetric computations. PyColorimetry aims to make complex colorimetric concepts more accessible, enabling deeper understanding and fostering innovation in color science.

Python Pandas Numpy Matplotlib Scipy Skimage Sklearn Colab Torch

alternate text

Installation

The PyColorimetry library may be installed using pip:

!git clone https://github.com/josorio398/PyColorimetry_Library /content/PyColorimetry_Library
!pip install --use-pep517 -r /content/PyColorimetry_Library/requirements.txt

You also need to download the weights for the SAM model:

!wget https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth

To import the library, you can use:

from PyColorimetry.ColorimetricAnalysis import *

Requirements

  • Python 3.6 or later
  • GPU support
  • Libraries: Pandas, Numpy, Matplotlib, Scipy, Skimage, Sklearn, Torch
  • Models: SAM
  • Installation support is currently provided for Google Colab

Maintainer

  • Prof. Jhonny Osorio Gallego, M.Sc.

https://github.com/josorio398

Universidad de América

jhonny.osorio@profesores.uamerica.edu.co

Citation

To cite PyColorimetry in publications use: J. Osorio Gallego, PyColorimetry, Python Package. (2023). https://github.com/josorio398/PyColorimetry_Library

About

Tool for image segmentation and colorimetric analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages