Information processing device
An information processing device, to be used in an image capturing device that illuminates an object by an illumination means and captures reflected light from the object as a reflection image by a capturing means, includes a determination means for determining an irradiation angle range for irradiating the object by the illumination means, on the basis of two types of inclination statistic values that are values corresponding to the inclination distribution of the unevenness existing on a surface of the object.
1. An information processing device used in an image capturing device illuminating an object and capturing reflected light from the object as a reflection image, the information processing device comprising:
a memory storing instructions; and
at least one processor configured to execute the instructions to perform:
on a basis of a measurement result of unevenness of a surface of the object, generating an inclination distribution representing a relationship between inclination angles at a plurality of points on the surface of the object and respective frequencies of the inclination angles, and calculating two types of inclination statistic values including a first inclination statistic value and a second inclination statistic value, the first inclination statistic value being an angle that halves an area of the inclination distribution, the second inclination statistic value being an angle extracted from a right bottom portion of the inclination distribution; and
determining an irradiation angle range for irradiating the object, on a basis of the calculated two types of inclination statistic values.
2. The information processing device according to claim 1 , wherein
the irradiation angle range is determined such that the irradiation angle range is from a value that is twice as large as the first inclination statistic value to a value that is twice as large as the second inclination statistic value.
3. The information processing device according to claim 1 , wherein the at least one processor is configured to execution the instructions to further perform:
controlling the illumination of the object so as to realize the irradiation angle range determined.
4. An information processing method comprising:
on a basis of a measurement result of unevenness of a surface of an object, generating, by a processor, an inclination distribution representing a relationship between inclination angles at a plurality of points on the surface of the object and respective frequencies of the inclination angles, and calculating two types of inclination statistic values including a first inclination statistic value and a second inclination statistic value, the first inclination statistic value being an angle that halves an area of the inclination distribution, the second inclination statistic value being an angle extracted from a right bottom portion of the inclination distribution; and
determining, by the processor, an irradiation angle range for irradiating the object, on a basis of two types of inclination statistic values that are values corresponding to inclination distribution of unevenness existing on a surface of the object;
controlling, by the processor, illumination of the object within the irradiation angle range determined; and
capturing reflected light from the object.
5. An information processing system comprising:
a light source that illuminates an object;
a camera that captures reflected light from the object as a reflection image; and
an information processing device comprising:
a memory storing instructions; and
at least one processor configured to execute the instructions to perform:
on a basis of a measurement result of unevenness of a surface of the object, generating an inclination distribution representing a relationship between inclination angles at a plurality of points on the surface of the object and respective frequencies of the inclination angles, and calculating two types of inclination statistic values including a first inclination statistic value and a second inclination statistic value, the first inclination statistic value being an angle that halves an area of the inclination distribution, the second inclination statistic value being an angle extracted from a right bottom portion of the inclination distribution; and
determining an irradiation angle range for irradiating the object by the light source, on a basis of the calculated two types of inclination statistic values.
6. The information processing system according to claim 5 , further comprising
a measurement device that measures the unevenness on the surface of the object.