Algorithm for color..help please:!:

Discussion in 'Embedded Systems and Microcontrollers' started by thavamaran, May 28, 2009.

Thread Status:
Not open for further replies.
  1. thavamaran

    Thread Starter Active Member

    Feb 21, 2008
    67
    0
    Hi guys, im currently in process of my final project, so im generating image from a color sensor, its TCS230, cmos color sensor, so it generates out frequency, the problem is like this, when it sees a specific color, it generates a frequency according to the color, but there is a problem when it meets two or three types of color in a single pixel, it averages out an output, its like just say right hand side of the pixel is red and left is blue, but it reads and generates a frequency and its average of both of them.

    is there any algorithm to overcome this problem, or method? im using PIC 16f877A and interrupt function. please guide me anyone
     
  2. bertus

    Administrator

    Apr 5, 2008
    15,648
    2,346
    Hello,

    It more looks like an optical problem.
    The area the sensor looks at is to large.
    Is there a possebility to use a lens to focus the area?

    Greeitngs,
    Bertus
     
  3. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    You are mistaken about the way this sensor works. See my reply in the Projects forum.
     
Loading...
Thread Status:
Not open for further replies.