Patent · US10168216B2 · B2 · US
Image inspection device
- (11) Publication number
- US10168216B2
- (21) Application number
- 15/925,802
- (22) Filing date
- 2018-03-20
- (30) Priority date
- 2017-05-09
- (43) Publication date
- 2019-01-01
- (45) Date of grant
- 2019-01-01
- (52) CPC
- G06T Image data processing or generation, in general: 7/0004, 2207/10024, 2207/30164, 7/00
- G01J Measurement of intensity, velocity, spectral content, polarisation, phase or pulse characteristics of infrared, visible or ultraviolet light; colorimetry; radiation pyrometry: 2003/466, 3/462, 3/501, 3/502
- G01N Investigating or analysing materials by determining their chemical or physical properties: 2021/8893, 21/88, 21/8851
- G06K Graphical data reading; presentation of data; record carriers; handling record carriers: 9/00, 9/34, 9/46
- (73) Assignee
- KEYENCE CO LTD
- (54) Title
- Image inspection device
- (57) Abstract
The invention reduces a variation of a result of image inspection by alleviating a burden on the user relating to designation of an extracted color. An image inspection device displays a color image of an inspection target object, receives designation of at least a foreground region, and extracts a foreground color and a background color as color information from the foreground region and a background region, respectively. The image inspection device calculates a distance between a color of each pixel of the color image and the foreground color in a color space, and generates a foreground distance image. Similarly, the image inspection device forms a background distance image. The image inspection device inspects the inspection target object using a foreground-background image created by combining the foreground distance image and the background distance image.
- Full text
- View on Google Patents
Claims (9)
- An image inspection device comprising: an acquisition unit which acquires a color image of an inspection target object, the color image including a plurality of spectral images; a display unit which displays the color image acquired by the acquisition unit; a region designation unit which receives designation of a plurality of foreground regions including a plurality of pixels in the color image displayed on the display unit; an extraction unit which extracts color information including a color distribution in each of the plurality of foreground regions designated by the region designation unit and color information including a color distribution in a background region distinguished from the plurality of foreground regions and registers the extracted color information as foreground colors for the plurality of foreground regions, respectively, and a background color for the background region; a foreground image generation unit which calculates a distance on color space coordinates between a color of each pixel in the plurality of spectral images and each of the plurality of foreground colors, generates a plurality of distance images having the distance as a pixel value, and generates a foreground distance image based on the plurality of generated distance images; a background image generation unit which calculates a distance on the color space coordinates between the color of each of the pixels in the plurality of spectral images and the background color, generates a distance image having the distance as a pixel value, and generates a background distance image based on the plurality of generated distance images; and an inspection unit which inspects the inspection target object using a foreground-background image which is a difference image between the foreground distance image and the background distance image.
- The image inspection device according to claim 1, wherein the foreground image generation unit includes a selection section which compares the plurality of distance images generated for the plurality of foreground colors, and selects a minimum pixel value in each pixel as a pixel value of each coordinates in the foreground distance image.
- The image inspection device according to claim 1, wherein the region designation unit receives designation of the background region in the color image.
- The image inspection device according to claim 1, wherein the region designation unit includes a decision unit which decides, in the color image, a region including a color which is distant from any of the plurality of foreground colors on a color space as the background region.
- The image inspection device according to claim 1, wherein the background image generation unit includes a selection section which compares the plurality of distance images generated for a plurality of the background colors, and selects a minimum pixel value in each pixel as a pixel value of each pixel in the background distance image.
- The image inspection device according to claim 5, wherein the region designation unit is configured to receive designation of a plurality of background regions from which the plurality of background colors are extracted.
- An image inspection device comprising: an acquisition unit which acquires a color image of an inspection target object, the color image including a plurality of spectral images; a display unit which displays the color image acquired by the acquisition unit; a region designation unit which receives designation of a first region including a plurality of pixels in the color image displayed on the display unit; an extraction unit which extracts color information including a color distribution in the first region designated by the region designation unit and color information including a color distribution in a second region distinguished from the first region, and registers the extracted color information as a first registered color which is a registered color for the first region and a second registered color which is a registered color for the second region; an image generation unit which calculates a distance between a color of each pixel in the plurality of spectral images and the first registered color on color space coordinates, generates a plurality of distance images having the distance as a pixel value, and generates a first distance image based on the plurality of generated distance images, and calculates a distance between the color of each of the pixels in the plurality of spectral images and the second registered color on the color space coordinates, generates a distance image having the distance as a pixel value, and generates a second distance image based on the plurality of generated distance images; and an inspection unit which inspects the inspection target object using a combined image of the first distance image and the second distance image.
- The image inspection device according to claim 7, wherein the region designation unit receives designation of a plurality of third regions including a plurality of pixels in the color image displayed on the display unit, the extraction unit extracts color information including a color distribution in the third region designated by the region designation unit and registers the extracted color information as a third registered color which is a registered color for the third region, the image generation unit calculates a distance on the color space coordinates between the color of each of the pixels in the plurality of spectral images and the third registered color, generates a plurality of distance images having the distance as a pixel value, and generates a third distance image based on the plurality of generated distance images, and the inspection unit inspects the inspection target object using a combined image of the first distance image, the second distance image, and the third distance image.
- An image inspection device comprising: an acquisition unit which acquires a color image of an inspection target object, the color image including a plurality of spectral images; a display unit which displays the color image acquired by the acquisition unit; an extraction unit which extracts color information including a color distribution in each of a plurality of foreground regions in the color image and color information including a color distribution in a background region distinguished from the plurality of foreground regions and registers the extracted color information as foreground colors for the plurality of foreground regions, respectively, and a background color for the background region; a foreground image generation unit which calculates a distance on color space coordinates between a color of each pixel in the plurality of spectral images and each of the plurality of foreground colors, generates a plurality of distance images having the distance as a pixel value, and generates a foreground distance image based on the plurality of generated distance images; a background image generation unit which calculates a distance on the color space coordinates between the color of each of the pixels in the plurality of spectral images and the background color, generates a distance image having the distance as a pixel value, and generates a background distance image based on the plurality of generated distance images; and an inspection unit which inspects the inspection target object using a foreground-background image which is a difference image between the foreground distance image and the background distance image.
Citations (2)
- JPH09126890A
- US2014314302A1
Record as JSON
{
"publication_number": "US10168216B2",
"country": "US",
"kind": "B2",
"title": "Image inspection device",
"abstract": "The invention reduces a variation of a result of image inspection by alleviating a burden on the user relating to designation of an extracted color. An image inspection device displays a color image of an inspection target object, receives designation of at least a foreground region, and extracts a foreground color and a background color as color information from the foreground region and a background region, respectively. The image inspection device calculates a distance between a color of each pixel of the color image and the foreground color in a color space, and generates a foreground distance image. Similarly, the image inspection device forms a background distance image. The image inspection device inspects the inspection target object using a foreground-background image created by combining the foreground distance image and the background distance image.",
"claims": [
"1. An image inspection device comprising: an acquisition unit which acquires a color image of an inspection target object, the color image including a plurality of spectral images; a display unit which displays the color image acquired by the acquisition unit; a region designation unit which receives designation of a plurality of foreground regions including a plurality of pixels in the color image displayed on the display unit; an extraction unit which extracts color information including a color distribution in each of the plurality of foreground regions designated by the region designation unit and color information including a color distribution in a background region distinguished from the plurality of foreground regions and registers the extracted color information as foreground colors for the plurality of foreground regions, respectively, and a background color for the background region; a foreground image generation unit which calculates a distance on color space coordinates between a color of each pixel in the plurality of spectral images and each of the plurality of foreground colors, generates a plurality of distance images having the distance as a pixel value, and generates a foreground distance image based on the plurality of generated distance images; a background image generation unit which calculates a distance on the color space coordinates between the color of each of the pixels in the plurality of spectral images and the background color, generates a distance image having the distance as a pixel value, and generates a background distance image based on the plurality of generated distance images; and an inspection unit which inspects the inspection target object using a foreground-background image which is a difference image between the foreground distance image and the background distance image.",
"2. The image inspection device according to claim 1, wherein the foreground image generation unit includes a selection section which compares the plurality of distance images generated for the plurality of foreground colors, and selects a minimum pixel value in each pixel as a pixel value of each coordinates in the foreground distance image.",
"3. The image inspection device according to claim 1, wherein the region designation unit receives designation of the background region in the color image.",
"4. The image inspection device according to claim 1, wherein the region designation unit includes a decision unit which decides, in the color image, a region including a color which is distant from any of the plurality of foreground colors on a color space as the background region.",
"5. The image inspection device according to claim 1, wherein the background image generation unit includes a selection section which compares the plurality of distance images generated for a plurality of the background colors, and selects a minimum pixel value in each pixel as a pixel value of each pixel in the background distance image.",
"6. The image inspection device according to claim 5, wherein the region designation unit is configured to receive designation of a plurality of background regions from which the plurality of background colors are extracted.",
"7. An image inspection device comprising: an acquisition unit which acquires a color image of an inspection target object, the color image including a plurality of spectral images; a display unit which displays the color image acquired by the acquisition unit; a region designation unit which receives designation of a first region including a plurality of pixels in the color image displayed on the display unit; an extraction unit which extracts color information including a color distribution in the first region designated by the region designation unit and color information including a color distribution in a second region distinguished from the first region, and registers the extracted color information as a first registered color which is a registered color for the first region and a second registered color which is a registered color for the second region; an image generation unit which calculates a distance between a color of each pixel in the plurality of spectral images and the first registered color on color space coordinates, generates a plurality of distance images having the distance as a pixel value, and generates a first distance image based on the plurality of generated distance images, and calculates a distance between the color of each of the pixels in the plurality of spectral images and the second registered color on the color space coordinates, generates a distance image having the distance as a pixel value, and generates a second distance image based on the plurality of generated distance images; and an inspection unit which inspects the inspection target object using a combined image of the first distance image and the second distance image.",
"8. The image inspection device according to claim 7, wherein the region designation unit receives designation of a plurality of third regions including a plurality of pixels in the color image displayed on the display unit, the extraction unit extracts color information including a color distribution in the third region designated by the region designation unit and registers the extracted color information as a third registered color which is a registered color for the third region, the image generation unit calculates a distance on the color space coordinates between the color of each of the pixels in the plurality of spectral images and the third registered color, generates a plurality of distance images having the distance as a pixel value, and generates a third distance image based on the plurality of generated distance images, and the inspection unit inspects the inspection target object using a combined image of the first distance image, the second distance image, and the third distance image.",
"9. An image inspection device comprising: an acquisition unit which acquires a color image of an inspection target object, the color image including a plurality of spectral images; a display unit which displays the color image acquired by the acquisition unit; an extraction unit which extracts color information including a color distribution in each of a plurality of foreground regions in the color image and color information including a color distribution in a background region distinguished from the plurality of foreground regions and registers the extracted color information as foreground colors for the plurality of foreground regions, respectively, and a background color for the background region; a foreground image generation unit which calculates a distance on color space coordinates between a color of each pixel in the plurality of spectral images and each of the plurality of foreground colors, generates a plurality of distance images having the distance as a pixel value, and generates a foreground distance image based on the plurality of generated distance images; a background image generation unit which calculates a distance on the color space coordinates between the color of each of the pixels in the plurality of spectral images and the background color, generates a distance image having the distance as a pixel value, and generates a background distance image based on the plurality of generated distance images; and an inspection unit which inspects the inspection target object using a foreground-background image which is a difference image between the foreground distance image and the background distance image."
],
"cpc": [
"G06T 7/0004",
"G01J 2003/466",
"G01J 3/462",
"G01J 3/501",
"G01J 3/502",
"G01N 2021/8893",
"G01N 21/88",
"G01N 21/8851",
"G06K 9/00",
"G06K 9/34",
"G06K 9/46",
"G06T 2207/10024",
"G06T 2207/30164",
"G06T 7/00"
],
"assignees": [
"KEYENCE CO LTD"
],
"filing_date": "2018-03-20",
"publication_date": "2019-01-01",
"grant_date": "2019-01-01",
"priority_date": "2017-05-09",
"application_number": "US-201815925802-A",
"family_id": "64096544",
"citations": [
"JPH09126890A",
"US2014314302A1"
]
}
Record 1,253 of 5,000 in Patents full text (MLC-0201). Request the full dataset.