Are you sure that works?? Don't have any sense making results here. While my source could be buggy (tho I've looked at it 4000 times by now), I don't quite see how it works by just reading your code.. :P
The variation comes from the colorcomponent with the largest error? The other two don't matter?
And wouldn't you want to know the smallest error instead?
The variation comes from the colorcomponent with the largest error? The other two don't matter?
And wouldn't you want to know the smallest error instead?