55
Measurement of luminance distributions in the field of view for glare evaluations Jan Wienold & Peter Hansen Interdisciplinary Laboratory of Performance-Integrated Design (LIPID) Ecole polytechnique fédérale de Lausanne (EPFL) WORKSHOP Measurement of luminance distributions in the field of view for glare evaluations 1 | PH | 10.2017 HDR Cameras

Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

Embed Size (px)

Citation preview

Page 1: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

Measurement of luminance distributions in the field of view for glare evaluations

Jan Wienold & Peter HansenInterdisciplinary Laboratory of Performance-Integrated Design (LIPID)Ecole polytechnique fédérale de Lausanne (EPFL)

WORKSHOPMeasurement of luminance distributions in the field of view for glare evaluations

1 | PH | 10.2017

HDR Cameras

Page 2: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

2 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Reliable glare studies

Reliable luminance measurements

2 different methods• Absolute calibration• ”Self-calibration”

• Automatic algorithm

Glare and luminance

Page 3: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

3 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Absolute HDR camera calibration

0

0,1

0,2

0,3

0,4

0,5

0,6

0,7

0,8

0,9

1

0 15 30 45 60 75 90 105 120 135 150 165 180 195 210 225 240 255

Rela

tive

lum

inan

ce

Pixel value

Response curve

The shape of the response curve

Page 4: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

4 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Absolute HDR camera calibration

00,10,20,30,40,50,60,70,80,9

1

0 30 60 90 120 150 180 210 240

Rela

tive

lum

inan

ce

Pixel value

Exposure 1

00,10,20,30,40,50,60,70,80,9

1

0 30 60 90 120 150 180 210 240

Rela

tive

lum

inan

ce

Pixel value

Exposure 2

00,10,20,30,40,50,60,70,80,9

1

0 30 60 90 120 150 180 210 240

Rela

tive

lum

inan

ce

Pixel value

Exposure ...

00,10,20,30,40,50,60,70,80,9

1

0 30 60 90 120 150 180 210 240

Abso

lute

lum

inan

ce

Pixel value

Exposure ...

For each aperture know at least one luminance value

Page 5: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

5 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Luminance values calculated based on pixel value, response curve and exposure

HDR generation

Page 6: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

6 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Automatic algorithm HDR camera calibration

0

0,1

0,2

0,3

0,4

0,5

0,6

0,7

0,8

0,9

1

0 15 30 45 60 75 90 105 120 135 150 165 180 195 210 225 240 255

Rela

tive

lum

inan

ce

Pixel value

Response curve

20 < 𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃 𝑉𝑉𝑉𝑉𝑃𝑃𝑉𝑉𝑃𝑃 < 200

An automatic calibration algorithm is used to derive a response curve

Page 7: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

7 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Different programs• PFSTools• hdrgen

• Photosphere• WebHDR

Use up-to-date versions – also of Radiance (current version 5.1)

Automatic algorithm HDR camera calibration

Page 8: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

8 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

DSLR camera “self/calibration” procedure

Create LDR images

Create HDR image

Cut images

Calibrate for vignetting

Calibrate for projection

Luminance calibration

Illuminance check

Page 9: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

9 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

General camera settings

ISO speed 100White balance DaylightImage quality .JPEG (large)Color space sRGBFocus Infinity (auto off)Picture style Standard

Page 10: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

10 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

• Auto bracketing• Computer control

• Manufactures• qDSLRdashboard

General camera setup

Page 11: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

11 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

General camera setup

1 EV stop between images

Page 12: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

12 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

• Avoid movement in scene (avoid ghosting)• Avoid shaking camera• Use a tripod• Use a computer for bracketing • Black to white image series• Use targets in the scene

• High luminance• Low luminance

• Measure vertical illuminance

General camera setup

Page 13: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

13 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

DSLR camera “self/calibration” procedure

Create LDR images

Create HDR image

Cut images

Calibrate for vignetting

Calibrate for projection

Luminance calibration

Illuminance check

Page 14: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

14 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Generate HDR hgrgen –o –r –a –e –f –g –x

‒ o = output file‒ r = response curve file‒ a = automatic exposure alignment‒ e = exposure adjustment ‒ f = flare removal‒ g = ghost removal‒ x = over and under exposure removal

HDR generation

Page 15: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

15 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

HDR generation

1: 89.809 cd/m2

2: 291 cd/m21: 2.653.980 cd/m2

2: 281 cd/m2

With –x option

Konica Minolta: 1: 1.674.000 cd/m2

2: 275 cd/m2

12 12

Without –x option

Page 16: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

16 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Check LDR images• Darkest should not have pixels > 200• Whitest should not have pixels < 20

HDR generation

Page 17: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

17 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Response curve

Scene should contain• bright areas• dark areas• white and/or grey areas

Page 18: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

18 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

hgrgen –o –r –a –e –f –g to generate HDR and curve

With –r option give name to response curve fileSave it and use it to make HDR images

[n] degree polynomial

Response curve – HDR generation

Page 19: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

19 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Response curve

Differs for all cameras and apertures

Page 20: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

20 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

DSLR camera “self/calibration” procedure

Create LDR images

Create HDR image

Cut images

Calibrate for vignetting

Calibrate for projection

Luminance calibration

Illuminance check

Page 21: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

21 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Cut HDR image

pcompos -x [x-max] -y [y-max] -h [org_image.hdr] -[x-min] –[y-min] > [cut_image.hdr]

x-maxx-miny-max

y-min

Page 22: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

22 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

DSLR camera “self/calibration” procedure

Create LDR images

Create HDR image

Cut images

Calibrate for vignetting

Calibrate for projection

Luminance calibration

Illuminance check

Page 23: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

23 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Vignetting

0,4

0,6

0,8

1

-90 -80 -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 90

Page 24: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

24 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Vignetting

Normal camera rotation point

Page 25: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

25 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Vignetting

Nodal rotation point

Page 26: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

26 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Vignetting

Second setup images curtesy of Clotilde Pierson

Page 27: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

27 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Vignetting

0

0,2

0,4

0,6

0,8

1

1,2

-90 -80 -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 90Re

lativ

e lu

min

ance

Angle

Aperture – f/11

0

0,2

0,4

0,6

0,8

1

1,2

-90 -80 -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 90

Rela

tive

lum

inan

ce

Angle

Aperture – f/3.2

Normalized to lens center

Page 28: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

28 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Vignetting

0

0,2

0,4

0,6

0,8

1

1,2

-90 -70 -50 -30 -10 10 30 50 70 90

Rela

tive

lum

inan

ce

Angle

All apertures

2,8 3,2 3,5 4 4,5 5 5,6 6,3 7,1 8

9 10 11 13 14 16 18 20 22

Page 29: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

29 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Create a .cal file with the polynomial equation

Vignetting

y = -3,771557x6 + 2,658279x5 + 6,604217x4 - 8,870208x3 + 3,430605x2 - 0,474940x + 1,001537R² = 0,995700

0

0,2

0,4

0,6

0,8

1

1,2

0 0,1 0,2 0,3 0,4 0,5 0,6 0,7 0,8 0,9 1

Rela

tive

lum

inan

ce

Relative angle

Aperture –f/3.2

Establish 6th order polynomial for vignetting curve

Page 30: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

30 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Apply to images with

pcomb –f [path_to/vignetting.cal] –o [original_image.hdr] > [corrected_image.hdr]

VignettingCal file example

Page 31: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

31 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Vignetting

• Canon 70D • Sigma 4.5mm f/2.8 fisheye lens

Page 32: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

32 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

DSLR camera “self/calibration” procedure

Create LDR images

Create HDR image

Cut images

Calibrate for vignetting

Calibrate for projection

Luminance calibration

Illuminance check

Page 33: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

33 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Projection

Page 34: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

34 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Projection

180 px133 px

Page 35: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

35 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

From Sigma:

Projection

Page 36: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

36 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Fisheye correction file from: https://www.radiance-online.org/cgi-bin/viewcvs.cgi/ray/src/cal/cal/

Projection

fisheye_corr.cal

pcomb –f [path_to/fisheye_corr.cal] -o [original_image.hdr] > [corrected_image.hdr]

Page 37: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

37 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Also make sure the fisheye lens fits the sensor frame

Projection

Sensor frame

Page 38: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

38 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Also make sure the fisheye lens fits the sensor frame

Projection

Sensor frame

Page 39: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

39 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

DSLR camera “self/calibration” procedure

Create LDR images

Create HDR image

Cut images

Calibrate for vignetting

Calibrate for projection

Luminance calibration

Illuminance check

Page 40: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

40 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Luminance adjustment

Target Konica Image Factor1 151 140,2 1,0772 268 247,2 1,0843 107 98,5 1,086

pcomb -s 1.08 -o [original_image.hdr] > [adjusted_image.hdr]

Should be less than ± 20 %

Page 41: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

41 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Luminance adjustment

Target Konica Image Factor1 151 151,1 0,9992 268 266,2 1,0073 107 107,8 0,993

pcomb -s 1.08 -o [original_image.hdr] > [adjusted_image.hdr]

Should be less than ± 20 %

Page 42: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

42 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Check header

Remove or reset exposure to 1

Set “View” string to the right values (no “tab” in front)-vta –vh 180 –vv 180

Remember to use the current version of Radiance (5.1 at the moment)

Page 43: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

43 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

DSLR camera “self/calibration” procedure

Create LDR images

Create HDR image

Cut images

Calibrate for vignetting

Calibrate for projection

Luminance calibration

Illuminance check

Page 44: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

44 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Measure illuminance in scene

Calculate from HDR image

Illuminance check

LMT Image Factor1150 1145,8 1,004

Page 45: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

45 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Do NOT use this to adjust luminance

This is a check that the “energy balance” of the image is correct

± 10 % is okay but should be random

Illuminance check

Page 46: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

46 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

High luminance scenes

Page 47: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

47 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Be careful - long exposures with very high luminance can “burn out” the image sensor

High luminance scenes

Page 48: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

48 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Use filters to reduce light on sensor

High luminance scenes

Page 49: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

49 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

High luminance scenes

30 sec exposure at f/11

However, filters raises other problems

Grainy HDR

Page 50: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

50 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

6 layers of 0,3 filters on window

High luminance scenes

Page 51: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

51 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

6 layers of 0,3 filters on window

High luminance scenes

1: 1.651.000 cd/m2

2: 274 cd/m21: 762.973 cd/m2

2: 12.110 cd/m21: 2.653.980 cd/m2

2: 281 cd/m2

Canon 0.1 % filter TechnoTeam 0.01 % filter Canon no filter

12 2 12 1

Konica Minolta: 1: 1.674.000 cd/m2

2: 275 cd/m2

Page 52: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

52 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

8 layers of 0,3 filters on window

High luminance scenes

1: 264.000 cd/m2

2: 327 cd/m21: 342.192 cd/m2

2: 28.125 cd/m21: 388.479 cd/m2

2: 350 cd/m2

Canon 0.1 % filter TechnoTeam 0.01 % filter Canon no filter

12 2 12 1

Konica Minolta: 1: 261.000 cd/m2

2: 313 cd/m2

Page 53: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

53 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

High luminance scenes

Avoid very high luminancesCheck that the recorded values are correct

Page 54: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

54 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

Other

Avoid flicker• Influences pixel values

R: 148G: 162B: 189

R: 159G: 181B: 203

Page 55: Measurement of luminance distributions in the field of ... · Measurement of luminance distributions in the field of view for glare evaluations • Avoid movement in scene (avoid

55 | PH | 23-10.2017

Measurement of luminance distributions in the field of view for glare evaluations

When “self-calibrating”• Use recommended camera settings• Use a tripod• Create good response curves• Correct for vignetting• Correct for projection• Luminance adjust • Check vertical illuminance• Check the header• Be careful with very high luminance

Use the forums; Radiance HDRI is a good starthttps://www.radiance-online.org/community/mailing-lists

Synthesis