colour_hdri.upper_hemisphere_illuminance_weights_Lagarde2016#

colour_hdri.upper_hemisphere_illuminance_weights_Lagarde2016(height: int, width: int) NDArrayFloat[source]#

Compute upper hemisphere illuminance weights for use with applications unable to perform the computation directly, i.e. Adobe Photoshop.

Parameters:
  • height (int) – Output array height.

  • width (int) – Output array width.

Returns:

Upper hemisphere illuminance weights.

Return type:

numpy.ndarray

References

[LLJ16]

Examples

>>> upper_hemisphere_illuminance_weights_Lagarde2016(  
...     16, 1
... )
array([[ 0...        ],
       [ 4.0143297...],
       [ 7.3345454...],
       [ 9.3865515...],
       [ 9.8155376...],
       [ 8.5473281...],
       [ 5.8012079...],
       [ 2.0520061...],
       [ 0...        ],
       [ 0...        ],
       [ 0...        ],
       [ 0...        ],
       [ 0...        ],
       [ 0...        ],
       [ 0...        ],
       [ 0...        ]])