How Can I Improve My Laser Detection Software for Camera-Equipped Computers?

  • Context: Undergrad 
  • Thread starter Thread starter X_Art_X
  • Start date Start date
  • Tags Tags
    Detection Laser
Click For Summary

Discussion Overview

The discussion revolves around improving laser detection software for camera-equipped computers, specifically focusing on how to accurately identify and track a red laser dot on a wall under varying lighting conditions. Participants explore the color values detected by the camera and the influence of different wavelengths on these readings.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant notes that the software tracks a red laser beam reflected off a wall by determining the color values of the detected dot, emphasizing the need for a method that accounts for lighting conditions.
  • Another participant suggests that the observed color values are simply a result of the specific laser color being used, indicating that different lasers would yield different results.
  • A question is raised about why the green value is typically higher than the blue value, with responses indicating that this is not always the case and depends on the wavelength of the laser.
  • It is mentioned that the sensitivity curves of the camera's color sensors overlap, affecting the readings of red, green, and blue values, which can lead to variations in detected color outputs.
  • One participant proposes that ambient lighting conditions, particularly tungsten light, could influence the measurements by increasing the proportion of green to blue output.
  • A later reply confirms that testing in the dark yields closer values for green and blue, suggesting that lighting conditions play a significant role in the detection process.

Areas of Agreement / Disagreement

Participants express varying views on the influence of laser color and ambient lighting on color detection, indicating that there is no consensus on the specific reasons for the observed color value differences.

Contextual Notes

Participants mention the limitations of their measurements based on ambient light conditions and the design of the camera's color sensors, which may affect the accuracy of the detected color values.

Who May Find This Useful

Individuals interested in laser detection technology, camera sensor design, and color detection algorithms may find this discussion relevant.

X_Art_X
Messages
15
Reaction score
0
Hi Guys,
I've felt the need to post a few times in 3 yrs, and this is one of them :)
I tried to go back and thank contributors of another thread, but it was locked
(likely because it was resolved, or 3 years old!).

I'm writing for a camera equipped computer, tracking a red laser beam reflected off a blank wall,
and looking to improve a part of it's software that determines what a laser dot looks like
at current lighting levels, compared to the rest of a wall before it can track it.
This is because it does not just look for the brightest camera pixel, which would be easy,
but the centre of the circular object it sees on the wall, of a colour within a tolerance of
the one gained at startup.

The three colour component values of the colour with the highest red value for a particular frame were actually:
R:0.619608 G:0.576471 B:0.533333

Where 1 is the highest possible value for each component.
I find that red is never much higher in the centre of the beam reflected off a white wall,
but red IS always higher than green, and both of them are always higher than blue.

Is this because red is further away from blue than green in a rainbow?
I'm serious.
Thanks :)
 
Science news on Phys.org
X_Art_X said:
I find that red is never much higher in the centre of the beam reflected off a white wall,
but red IS always higher than green, and both of them are always higher than blue.

Is this because red is further away from blue than green in a rainbow?

It's simply because your laser has the color it has. If you had a purple laser, red and blue would be higher than green.
 
A.T. said:
It's simply because your laser has the color it has. If you had a purple laser, red and blue would be higher than green.

Why is the green value always higher than the blue value?
 
X_Art_X said:
Why is the green value always higher than the blue value?
Not always. It depends on the wavelength of the laser. See picture here:
http://www.philiplaven.com/p19.html
 
X_Art_X said:
Why is the green value always higher than the blue value?
All three sensors have wide bandwidth (sensitivity curve) and they overlap - they are not really simply red green and blue sensors. The Short wavelength sensor is maximally sensitive in the blue region of the spectrum and overlaps the middle wavelength sensor curve but is pretty insensitive to red. Likewise, the long wavelength sensor curve is highest at red, overlaps the central (green) wavelengths but does not see blue. Green peaks in the middle of the optical spectrum but spills over on both sides. It's these wide curves that allow a three sensor camera to mimic human colour vision. This link is a start.
The red laser was producing an output on the 'green' sensor but very little on the blue because of the fact that the 'green' sensor 'sees it' (by design) and the 'blue' one doesn't..

A;so, did you do your measurements in the dark? Under most lit conditions (particularly tungsten light) there's more of the middle and long wavelengths around and not much short. I reckon the ambient light was polluting your measurements and could have been increasing the proportion of green to blue output.
 
It's easy to test right now, and in the dark at night G & B values are much closer together.
Thanks.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 18 ·
Replies
18
Views
12K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 15 ·
Replies
15
Views
6K
  • · Replies 21 ·
Replies
21
Views
6K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
4
Views
4K