Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Algorithm for color..help please:!:

Status
Not open for further replies.

thavamaran

Member level 4
Joined
Mar 2, 2009
Messages
69
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,889
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
 

To my opinion, you didn't manage yet to clarify your problem respectively what you want to measure exactly.

As I already mentioned in response to your previous post, the color sensor seems to perform as it should. It can't but display an averaged signal representing the spectral light components in his angle of view. If you want to analyze pixels, then you need a camera.

P.S.: As you see from Kender's response, it isn't a good practice to start a new thread with each question, because a lot of important information get lost this way.
 

im trying to capture the colors of an image and transfer it to PC for image processing. i understand FVM and i get the idea, about posting, im sorry, but im just here to learn and thats why i post. sorry anyway.
 

No problem so far. I mainly tried to understand your intention. Regarding pixel reproduction, you should consider that printing basically uses a subtractive color system with yellow, magenta, cyan (and black) ink. The color representation given by the TSC230 is additive in contrast.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top