getting close to finishing our project for the Space Lab. We're using PIL to calculate the mean brightness of our photos but find that the levels returned tend to be very high for the first picture and do tend to vary under on a theoretically steady light source. We can obviously discard the first image but wanted to know what is happening:
Code: Select all
cam.capture(photoName) # Take photo of Earth
image = Image.open(photoName).convert('L') # convert image to monochrome
lux = ImageStat.Stat(image).mean[0] # calculate mean brightness/lux of image/Mark

