I
I
ivan2kh2012-02-15 16:36:46
Algorithms
ivan2kh, 2012-02-15 16:36:46

How to remove reflection from a bright object in an image?

Let's say there are several glowing drops of a fluorescent solution on a chip. A photograph of the chip is taken. It is necessary to determine the intensity of the glow of each drop.
In this case, it may turn out that a drop that is too bright illuminates the rest, and the brightness of the remaining drops is incorrectly determined.
For example, in the figure, drop A has a brightness of 100%, B - 10%, C - 0%.
It is necessary that A is 100%, B is 0%, C is 0%.
303f1508bd880190563cb6ffa409bb19.jpg
Still, the location of the drops is precisely known.
It is necessary somehow to find out the real brightness with the use of the image.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Assorium, 2012-02-15
@Assorium

It is necessary to check the radial uniformity. Roughly speaking, check the brightness of a point in the center of the drop and 4 points to the north, south, west and east of the center. If the brightness changes in the same dosage from the center, then this luminous drop, if not, then it is illuminated.
If you use several drop colors, and, for example, an illuminated drop is illuminated (sorry for the tautology) from 4 sides, then you must first measure the brightness of those drops and subtract its proportion from each of the sides, and then operate on the central point.

B
bagyr, 2012-02-15
@bagyr

You can calculate something like an integral over the area of ​​a drop (total luminosity, energy characteristic) and compare it with a threshold or neighboring drops, possibly with some additional heuristics. It's hard to tell without a real picture.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question