IMG_4122.pgm
IMG_4123.pgm

150
20

26
3
50

3000
300

3224
2154
1990

Help:
Write following twelve parameters:

1 = filename of the PGM-picture of the laser beam.

2 = filename of the PGM-picture with the laser beam turned off. Use NODARK if no background picture was taken.

3 = Distance laser-camera in meters.

4 = Elevation of the laser in degrees.

5 = Width (in pixels) of the band that covers the beam (see linearlyscaledG.pgm)

6 = How much are side bands (background) wider than laser band (see linearlyscaledG.pgm) 

7 = Median filter width (use 0 for no median filtering)

8 = level_limit (>1). All levels in photograph, which are higher than level_limit are replaced by level_limit. This partly suppress the effect of extremly high levels (stars, artifical light sources, ...). See "corrected.PGM" file to check the proper level. Use value of 0 for no correction.

9 = size of the centre. size of the square area of the picture where the average RGB levels are calculated.
For photos of integration sphere anything between 100-1000 is OK.

10 = x-position of the centre of the circular picture on the chip in pixels (this and next numbers can slightly vary from camera to camera or from day to day - check photos of a day-sky for example).

11 = y-position of the centre of the circular picture on the chip in pixels

12 = radius of the circular picture on the chip in pixels

The position of the centre of the fish-eye picture and its radius can slightly depend on the camera used.
For our camera+ fish-eye they are:
xs = 3223
ys = 2154
R = 2012
For Stephan's camera:
3224
2154
1990
