Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1463

Mapping pixels to LEDs (Photon-pixel coupling)

$
0
0
A webcam films an array of LEDs as seen in the image below. In each frame, these LEDs represent the output of different sensors and may have a variable brightness. Thus, this brightness must be converted to numerical values for analysis. But which pixel from the image is the most representative for an LED brightness? The positions of the LEDs are relative to the position of the camcorder. Thus, this software allows you to set the position of each LED over an image, as well as the pixel representative for brightness. The coordinates of each LED position is recorded as a string inside an array variable. The array variable is printed as a VB6 source code in a textbox object. Next, the content of the textbox object is manually copied inside the VB6 source code of the Vesta software (please look at the source code in the Vesta software).


Download: Mapping pixels to LEDs (Photon-pixel coupling)


Name:  Map pixels to LEDs (2).jpg
Views: 37
Size:  20.7 KB

Name:  Map pixels to LEDs (1).jpg
Views: 37
Size:  14.8 KB
Attached Images
  

Viewing all articles
Browse latest Browse all 1463

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>