Patent ID: 11930262
Assignee: CANON MACHINERY INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC H

Claim 17:
18. A three-dimensional shape detection method comprising:
acquiring, by a photographing part configured to photograph a workpiece with an illumination condition being set to be variable, images of the workpiece having different focal points by relatively approaching and retreating from the workpiece under a plurality of illumination conditions; and
detecting a three-dimensional shape of the workpiece based on the images,
wherein the three-dimensional shape detection method further comprises:
generating a photographing scenario that is a condition for photographing the workpiece based on a condition set in advance;
photographing the workpiece a plurality of times based on the photographing scenario set by switching the illumination condition to each of the plurality of illumination conditions during a one-time relative approach or retreat between the photographing part and the workpiece to acquire a plurality of pieces of image data having different focal points under each of the illumination conditions; and
forming, under each of the illumination conditions, an omnifocal image obtained by evaluating a focus for each local area based on the plurality of pieces of image data having different focal points, which have been acquired through the photographing under the same illumination condition, and performing compositing of the image data from a combination of in-focus local images.