A non-transitory, computer readable storage medium containing a computer program, which when executed by a computer, causes the computer to carry out actions, comprising:
- acquiring a normal vector of a surface of an object from a polarized image in which the object is photographed;
- acquiring predetermined information regarding the object on a basis of a relationship between angles of normal vectors of a plurality of surfaces included in the object;
- and
- performing processing based on the predetermined information regarding the object and outputting a result of the processing.