A non-transitory, computer readable storage medium containing a computer program, which when executed by a computer, causes the computer to perform an incident light information acquiring method by carrying out actions, comprising:
- acquiring an image captured of a reference object whose shape and material are known while part of incident light applied thereto is being blocked;
- acquiring, according to a predetermined model equation, a brightness distribution of partial incident light produced by blocking part of the incident light, on a basis of the image of the reference object in each of a plurality of images captured when the incident light is blocked in different directions;
- and
- acquiring a brightness distribution of overall incident light by calculating brightness distributions of partial incident light.