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.

Noise in Image affecting its colors

Status
Not open for further replies.

wana

Banned
Joined
Dec 30, 2011
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
0
Hello every body,

If noise is in each image taken of a scene how I will let a java code assume that two images taken of the same scene are equal.Is the code taking the same color of the scene different in the two images? If so how can I face this problem ? I converted the two images to black and white before comparing them but the code is still considering them different . What if I make the condition to assume the two images the same is not that the RGB of the pixels of the first image equal to the RGB of the pixels of the second image, but I make the condition that the RGB of the pixels of the first image minus the RGB of the pixels of the second image <5 for example ?

Thank You
 

Working with real data you cannot simply compare the pixels, much better would be to:
- define a distance metric for a pixel pair, for example D = |R2-R1| + |G2-G1| + |B2-B1|
- evaluate the cumulative distance over the whole image (i.e. sum D for each pixel pair)
- compare the result with a threshold
This approach may be good or not so good depending on your application though.
 

I didn't get what is D ? What is a distance between a pixel pair ?
 

I didn't get what is D ? What is a distance between a pixel pair ?
it's the difference between two pixel in the same position in two images
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top