# US 2008/0291439 A1 · Apparatus and methods for container inspection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0291439 A1
- Document ID: US20080291439A1
- Status: Published application
- Kind: A1
- Application number: 11/753,031
- Filed: 2007-05-24
- Published: 2008-11-27
- Earliest claimed: 2007-05-24
- Assignees: Applied Vision Company, LLC
- Inventors: Richard A. SONES; Carl E. SEBENY; Brian M. BAIRD; Michael A. KRESS; Michael L. KRESS
- Web page: https://patentgrep.com/patent/US20080291439A1

## CPC

- G01N 21/909: {in opaque containers or opaque container parts, e.g. cans, tins, caps, labels}
- G01N 21/8851: {Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges (G01N21/8806 and G01N21/93 - G01N21/95692 take precedence; optical measurement of dimensions G01B11/00; optical scanning G02B26/10; image transformation G06T3/00; computerised image enhancement G06T5/00; image processing per se for flaw detection G06T7/0002)}
- G01N: INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES (measuring or testing apparatus or processes other than immunoassay, involving enzymes or microorganisms C12M, C12Q)

## Abstract

Apparatus, systems, and methods to recognize features on bottom surfaces of metal containers on a metal container production line, detect defects in the metal containers, and correlate the defects to specific production equipment of the metal container production line, based in part on the recognized features. The system includes imaging apparatus, programmable processing devices, and controllers. The methods include imaging techniques and estimation techniques.

## Claims

### Claim 1

An apparatus for imaging at least one color attribute of each of a plurality of metal containers, one at a time, as each said container passes by said apparatus on a metal container production line, said apparatus comprising:
a color camera having an optical aperture;
a lens having a central optical axis and a capture angle and being operationally attached to said color camera to provide light to said optical aperture of said color camera; and
a binary source of illumination arranged substantially circumferentially around said central optical axis of said lens and capable of providing simultaneous illumination of substantially white light and ultraviolet light.

### Claim 2 (depends on 1)

The apparatus of claim 1 wherein said binary source of illumination comprises an array of substantially white light-emitting diodes (LEDs) and ultraviolet LEDs arranged in a plane around said central optical axis of said lens.

### Claim 3 (depends on 2)

The apparatus of claim 2 wherein said array of substantially white LEDs are arranged in three concentric rings around said central optical axis.

### Claim 4 (depends on 3)

The apparatus of claim 3 wherein said ultraviolet LEDs are arranged substantially in a concentric ring around said substantially white LEDs.

### Claim 5 (depends on 2)

The apparatus of claim 2 further comprising a circuit board onto which said array of LEDs is mounted.

### Claim 6 (depends on 4)

The apparatus of claim 4 further comprising a substantially tubular separator positioned concentrically between said substantially white LEDs and said ultraviolet LEDs.

### Claim 7 (depends on 6)

The apparatus of claim 6 wherein an inner surface of said separator faces said substantially white LEDS and is substantially white, and wherein an outer surface of said separator faces said ultraviolet LEDs and is substantially silver.

### Claim 8 (depends on 1)

The apparatus of claim 1 wherein said capture angle of said lens is at least 60 degrees.

### Claim 9 (depends on 1)

The apparatus of claim 1 further comprising a controller operationally interfacing to said color camera and/or said binary source of illumination such that said controller is adapted to electronically trigger said color camera and/or said binary source of illumination to capture images.

### Claim 10 (depends on 1)

The apparatus of claim 1 further comprising a mounting structure allowing mounting of said color camera, said lens, and said binary source of illumination onto an out-feeder star wheel of said metal container production line such that said apparatus is capable of imaging a bottom surface of each of said plurality of metal containers, one at a time, as each said container passes above said apparatus on said out-feeder star wheel.

### Claim 11 (depends on 1)

The apparatus of claim 1 further comprising a diffuser window located adjacent said lens and said source of illumination and adapted to substantially diffuse said white light from said binary source of illumination.

### Claim 12 (depends on 11)

The apparatus of claim 11 further comprising a substantially transparent window adjacent said diffuser window and adapted to protect said diffuser window, said lens, and said binary source of illumination.

### Claim 13 (depends on 9)

The apparatus of claim 9 wherein said controller is synchronized to a rotation of an out-feeder star wheel of said metal container production line such that said color camera and/or said binary source of illumination is electronically triggered by said controller when a pocket of said out-feeder star wheel adapted to hold one of said plurality of metal containers is substantially aligned with said central optical axis of said lens.

### Claim 14 (depends on 1)

The apparatus of claim 1 further comprising an image processing device adapted to process images acquired by said color camera.

### Claim 15

A method of recognizing at least one color attribute on a bottom surface of a metal container traveling on a metal container production line, said method comprising:
acquiring a color image of a bottom surface of a metal container, having at least one color attribute, as said metal container passes by a color imaging apparatus on a metal container production line;
color balancing a pre-defined region-of-interest (ROI) of said color image to eliminate any unwanted color hue from said ROI and to provide a uniform brightness from metal container to metal container;
generating a distance value for each of a first set of pixels within said ROI to determine how different from each other are at least two color components of each of said first set of pixels;
associating pixels within said ROI, having a distance value greater than a pre-defined distance threshold value, with said color attribute;
generating an average color value of said associated pixels using corresponding color pixels in said color image; and
estimating a color of said color attribute in response to said average color value using a color discrimination tool.

### Claim 16 (depends on 15)

The method of claim 15 further comprising associating said metal container with a particular spray gun in response to said estimated color.

### Claim 17 (depends on 15)

The method of claim 15 further comprising correlating said estimated color of said color attribute to a pocket of an out-feeder star wheel of said metal container production line adapted to hold said metal container.

### Claim 18 (depends on 15)

The method of claim 15 further comprising:
determining at least two spatial parameters of said imaged bottom surface in response to said acquired color image; and
scaling said acquired color image in response to said determined at least two spatial parameters.

### Claim 19 (depends on 15)

The method of claim 15 further comprising:
determining a number NB of a second set of pixels within said color image that are outside of said pre-defined ROI and having a blue color component value that is greater than a pre-defined blue threshold value; and
comparing said number NB to a pre-defined rim coat test threshold value RCT.

### Claim 20 (depends on 19)

The method of claim 19 further comprising generating a “fail” condition if said number NB is less than said rim coat test threshold value RCT.

### Claim 21 (depends on 15)

The method of claim 15 further comprising simultaneously illuminating a first portion of said bottom surface of said metal container with substantially white light and a second portion of said bottom surface with ultraviolet light as part of said acquiring.

### Claim 22 (depends on 18)

The method of claim 18 wherein said at least two spatial parameters include a center location and a radius of said imaged bottom surface.

### Claim 23 (depends on 18)

The method of claim 18 wherein said step of determining said at least two spatial parameters of said imaged bottom surface from said acquired color image includes converting said acquired color image to a monochrome image.

### Claim 24 (depends on 15)

The method of claim 15 wherein said step of color balancing comprises measuring average values of red, green, and blue color components of pixels within said ROI and scaling said red, green, and blue color components of each pixel within said ROI in response to said measured average values of red, green and blue color components of said ROI such that an average of each of said red, green, and blue color components of pixels within said ROI become equal to each other.

### Claim 25 (depends on 15)

The method of claim 15 wherein said distance value for any pixel having said at least two color components comprising red R, green G, and blue B color components is a function of a quantity defined as [(R−G)2+(R−B)2+(G−B)2].

### Claim 26 (depends on 15)

The method of claim 15 further comprising comparing a number N of said associated pixels with a threshold value V such that said associated pixels are not considered to correspond to said color attribute if said number N of said associated pixels is less than said threshold value V.

### Claim 27 (depends on 15)

The method of claim 15 further comprising flagging as being black any pixel having each of a red color component R, a green color component G, and a blue color component B being less than a threshold value BL.

### Claim 28 (depends on 15)

The method of claim 15 wherein said color discrimination tool is trained from a plurality of estimated color attributes derived from a corresponding plurality of acquired color images that have been processed through at least said color balancing step, said first generating step, said associating step, and said second generating step.

### Claim 29 (depends on 16)

The method of claim 16 wherein said step of associating said metal container with a particular spray gun in response to said estimated color includes determining which cluster in a color space, of a plurality of clusters in said color space corresponding to a plurality of spray guns, is closest, in said color space, to said estimated color.

### Claim 30 (depends on 29)

The method of claim 29 wherein said color space comprises a domain of color hue and color saturation.

### Claim 31 (depends on 29)

The method of claim 29 wherein each cluster of said plurality of clusters includes a pre-defined centroid in said color space derived from estimated colors corresponding to said spray guns.

### Claim 32 (depends on 15)

The method of claim 15 wherein said at least one color attribute comprises a color dot painted on said bottom surface.
