Image processing apparatus, image processing method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorKoji Fuse
Life of this patent
Estimating the term…
Abstract
A linear feature in an arbitrary direction on an object surface is detected. An image processing apparatus according to the present disclosure generates an image of a target object by lighting using a virtual light source and detects the linear feature included in the target object based on the image.
Claims18
An image processing apparatus comprising:
- one or more hardware processors;
- and
- one or more memories storing one or more programs configured to be executed by the one or more hardware processors, the one or more programs including instructions for:
- (1) generating an image of a target object by lighting using a virtual light source;
- (2) detecting a linear feature included in the target object based on the image;
- and
- (3) setting a plurality of virtual light sources of different lighting directions,
- wherein the image corresponding to each of the plurality of virtual light sources is generated,
- wherein based on the generated plurality of images, the linear feature corresponding to each of the plurality of virtual light sources is detected, and
- wherein as a set detection sensitivity is higher, more virtual light sources are set.
An image processing method comprising the steps of:
- generating an image of a target object by lighting using a virtual light source;
- detecting a linear feature included in the target object based on the image;
- and
- setting a plurality of virtual light sources of different lighting directions,
- wherein the image corresponding to each of the plurality of virtual light sources is generated,
- wherein based on the generated plurality of images, the linear feature corresponding to each of the plurality of virtual light sources is detected, and
- wherein as a set detection sensitivity is higher, more virtual light sources are set.
A non-transitory computer-readable storage medium storing a program for causing a computer to perform a control method of image processing apparatus, the control method comprising the steps of:
- generating an image of a target object by lighting using a virtual light source;
- detecting a linear feature included in the target object based on the image;
- and
- setting a plurality of virtual light sources of different lighting directions,
- wherein the image corresponding to each of the plurality of virtual light sources is generated,
- wherein based on the generated plurality of images, the linear feature corresponding to each of the plurality of virtual light sources is detected, and
- wherein as a set detection sensitivity is higher, more virtual light sources are set.
An image processing apparatus comprising:
- one or more hardware processors;
- and
- one or more memories storing one or more programs configured to be executed by the one or more hardware processors, the one or more programs including instructions for:
- (1) generating an image of a target object by lighting using a virtual light source;
- (2) detecting a linear feature included in the target object based on the image;
- and
- (3) setting a plurality of virtual light sources of different lighting directions,
- wherein the image corresponding to each of the plurality of virtual light sources is generated,
- wherein based on the generated plurality of images, the linear feature corresponding to each of the plurality of virtual light sources is detected, and
- wherein as a set inspection speed is faster, less virtual light sources are set.
Dependencies are inferred from the claim text.