You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am developing an algorithm to detect the concentration of a chemical using the RGB values of a liquid placed in the center of an image. Over the course of five minutes, the liquid changes color based on the chemical concentration in the air. This color is then compared to surrounding reference colors in the image, each of which has a known RGB value that corresponds to a specific concentration. When a suitable match is found between the liquid’s color and the surrounding reference colors, we can determine the chemical concentration.
However, there are two significant challenges in real-time detection:
Device-Specific RGB Variations: Different mobile devices capture colors differently due to variations in camera sensors. Fortunately, since both the liquid and reference colors are captured by the same device, this challenge is inherently mitigated. Any deviation in RGB values will affect both the liquid and reference colors in the same way, making the comparison consistent.
Lighting Conditions: The more critical issue is uneven lighting. If the lighting is uniform, all RGB values across the image will change consistently, and the detection will still be accurate. But if there's glare or uneven lighting in parts of the image, the RGB values will vary at those points while others remain unchanged. This causes inconsistencies in color comparison and leads to inaccurate concentration detection.
Request for Suggestions:
I'm seeking suggestions to handle the challenge of uneven lighting conditions, particularly when there is glare or shadow on certain parts of the image. How can I ensure that the color detection remains reliable in non-uniform lighting scenarios?
The text was updated successfully, but these errors were encountered:
Problem Overview:
I am developing an algorithm to detect the concentration of a chemical using the RGB values of a liquid placed in the center of an image. Over the course of five minutes, the liquid changes color based on the chemical concentration in the air. This color is then compared to surrounding reference colors in the image, each of which has a known RGB value that corresponds to a specific concentration. When a suitable match is found between the liquid’s color and the surrounding reference colors, we can determine the chemical concentration.
However, there are two significant challenges in real-time detection:
Device-Specific RGB Variations: Different mobile devices capture colors differently due to variations in camera sensors. Fortunately, since both the liquid and reference colors are captured by the same device, this challenge is inherently mitigated. Any deviation in RGB values will affect both the liquid and reference colors in the same way, making the comparison consistent.
Lighting Conditions: The more critical issue is uneven lighting. If the lighting is uniform, all RGB values across the image will change consistently, and the detection will still be accurate. But if there's glare or uneven lighting in parts of the image, the RGB values will vary at those points while others remain unchanged. This causes inconsistencies in color comparison and leads to inaccurate concentration detection.
Request for Suggestions:
I'm seeking suggestions to handle the challenge of uneven lighting conditions, particularly when there is glare or shadow on certain parts of the image. How can I ensure that the color detection remains reliable in non-uniform lighting scenarios?
The text was updated successfully, but these errors were encountered: