ifarup / colourlab

Colour space transforms and colour metrics for python
GNU General Public License v3.0
12 stars 4 forks source link

gamut: Optimize significantly #27

Open ifarup opened 7 years ago

ifarup commented 7 years ago

Try factoring out main parts and use numba's jit.

ifarup commented 7 years ago

is_inside (and possibly other methods) could be optimized for the case of (modified) convex hull gamuts, using normal vectors instead of Feito Torres.