mirror of
https://github.com/nxshock/colorcrop.git
synced 2025-07-02 00:23:44 +05:00
README update
This commit is contained in:
parent
78c531bd89
commit
89911f3ca5
1 changed files with 8 additions and 4 deletions
12
README.rst
12
README.rst
|
@ -48,11 +48,15 @@ You may use custom comparator of colors:
|
||||||
0.5, // with 50% thresold
|
0.5, // with 50% thresold
|
||||||
colorcrop.CmpCIE76) // using CIE76 standart for defining color difference
|
colorcrop.CmpCIE76) // using CIE76 standart for defining color difference
|
||||||
|
|
||||||
Available comparators are:
|
List of available comparators:
|
||||||
|
|
||||||
* ``CmpRGBComponents`` -- simple RGB components difference: ``abs(r1-r2)+abs(g1-g2)+abs(b1-b2)`` (default);
|
================ =============================================================================================================
|
||||||
* ``CmpEuclidean`` -- `Euclidean difference <https://en.wikipedia.org/wiki/Color_difference#Euclidean>`_;
|
Comparator Description
|
||||||
* ``CmpCIE76`` -- difference of two colors defined in `CIE76 standard <https://en.wikipedia.org/wiki/Color_difference#CIE76>`_.
|
================ =============================================================================================================
|
||||||
|
CmpRGBComponents simple RGB components difference: ``abs(r1-r2)+abs(g1-g2)+abs(b1-b2)`` (default);
|
||||||
|
CmpEuclidean `Euclidean difference <https://en.wikipedia.org/wiki/Color_difference#Euclidean>`_;
|
||||||
|
CmpCIE76 difference of two colors defined in `CIE76 standard <https://en.wikipedia.org/wiki/Color_difference#CIE76>`_.
|
||||||
|
================ =============================================================================================================
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
--------
|
--------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue