[futurebasic] Pixel Color and Brightness

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 1998 : Group Archive : Group : All Groups

From: Robert Covington <t88@...>
Date: Mon, 6 Jul 1998 01:08:11 -0800
I need some pointers in comparing pixels' color and brightness.


Is there a better way to find out if two pixel's are the same color than
comparing each RGB channel to each other to see if they are equal? What
about finding pixels that are close in color but not exact, how would that
be done?


For brightness, would the best approach be to average all three channels
together and then compare them to the other pixel's average?

Wondering how this is supposed to be done (efficiently!)

Thanks for tips anybody,

Robert Covington