ColourSum


Re: ColourSum
#5
Just to add some complexity Big Grin

Take a look to the source of my quick&dirty mosaic app, BrickMosaic.
In file "BrickColors.java" there are some references to XYZ and CIE-Lab colorspaces and CIE1994 method to measure "visual distance" between two color.

I tried some algorithm and colorspaces, but CIE-Lab + CIE1994 giving best results.

In source (file BrickColors.java):
- conversion from RGB to CIE-Lab is in function "RGB2Lab"
- color distance CIE1994 is computed in function "colorDiff_DE1994"
- I used a Java library function to convert a color from RGB to XYZ colorspace, but in source there is a commented function (RGB2XYZ) that do the same.

HTH

Mario
Reply
« Next Oldest | Next Newest »



Messages In This Thread
ColourSum - by Max Martin Richter - 2015-01-25, 20:41
Re: ColourSum - by Philippe Hurbain - 2015-01-26, 8:02
Re: ColourSum - by Max Martin Richter - 2015-01-26, 9:27
Re: ColourSum - by Philippe Hurbain - 2015-01-26, 12:10
Re: ColourSum - by Mario Pascucci - 2015-01-26, 14:52

Forum Jump:


Users browsing this thread: 1 Guest(s)