I am using a camera to aquire an image and then using the light intensities of the pixels to calculate the center of the image and see how it moves as i adjust the light source. The final numbers I get are the distance the center is from the top left of the camera. I need to store this number in a datasheet or spreadsheet file as it is collected. The number is always changing as i move the light source. I want every outputed number to be stored in an XY table format showing time and distance. I attached my program. Thanks
↧