krome152001 wrote: > i was wondering how can i detect the color red in a pic in bitmap > format?? if someone can show me how that can be done or give me some > advice. thanks alot of your help > Ricardo
Convert each pixel to HSI (or HSB) and determine which hues, then saturations, then intensities fall into the range that you define as "red". Photoshop comes in real handy here. Doing a "red-eye reduction" implementation by any chance? -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* VerifyMyPC 2.1 Change tracking and management tool. Reduce tech. support times from 2 hours to 5 minutes. Free for personal use, $10 otherwise. http://www.CubicleSoft.com/VerifyMyPC/