Files @ a0db29122ab6
Branch filter:

Location: OneEye/exp/colors.py - annotation

Laman
researching image colors
def hex2int(): pass
def int2rgb(): pass
def rgb2hsv(): pass
def rgb2hsl(): pass

def rgb2hsi():
	I=(red+green+blue)/255/3
	m=min(red,green,blue)
	S=1-m/I


f=open("data.txt") # !! dir

data=[line.split() for line in f]
f.close()

for rec in data: rec[2]=hex2int(rec[2])