# US 5,353,357 A · Methods and apparatus for inspecting the appearance of substantially circular objects

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

- Number: US 5,353,357 A
- Document ID: US5353357A
- Status: Granted
- Kind: A
- Application number: 07/985,875
- Filed: 1992-12-04
- Granted: 1994-10-04
- Earliest claimed: 1992-12-04
- Assignees: Philip Morris Incorporated
- Inventors: H. Cary Longest, Jr.; Barry S. Smith
- Web page: https://patentgrep.com/patent/US5353357A

## CPC

- G06T 7/0006: {using a design-rule based approach}
- A24C 5/3412: {by means of light, radiation or electrostatic fields (A24C5/3406 takes precedence)}
- G01N 21/952: Inspecting the exterior surface of cylindrical bodies or wires (G01N21/956 takes precedence)
- G01N 2021/8887: {based on image processing techniques}
- G01N 2201/102: Video camera
- G06T 2207/30108: Industrial image inspection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- A24C: MACHINES FOR MAKING CIGARS OR CIGARETTES
- 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

Substantially circular objects such as the ends of the filters of filter tipped cigarettes are inspected to make sure they have an acceptable appearance. The object surface to be inspected is preferably cantilevered out from the object supporting structure, and any surface of the supporting structure which faces in the same direction as the object surface is preferably made visually contrasting with the object surface. The object surface is preferably illuminated obliquely and at an angle to the axis along which an image of the object is formed. The image is subjected to "blob" analysis to determine whether it has an acceptable appearance. Objects which do not have an acceptable appearance are rejected. A sophisticated user interface provides substantial information to an operator of the system.

## Claims

### Claim 1

Apparatus for determining whether an end surface of a cigarette has an acceptable appearance, said apparatus comprising:
means for forming an image of said end surface against a contrasting background;
means for digitizing said image as a plurality of pixels, each of said pixels having an initial digital value indicative of the brightness of a corresponding portion of said image;
means for processing said pixels so that each pixel having an initial digital value which has a first polarity relative to a predetermined threshold value is assigned a first of two processed digital values, and so that all other pixels are assigned a second of said two processed digital values, said threshold values being selected so that said background and substantially discolored area of said end surface are assigned said first processed digital value and substantially undiscolored areas of said end surface are assigned said second processed digital value;
means for identifying as edge pixels those pixels which are adjacent to transitions between pixels having said first and second processed digital values;
means for associating edge pixels which are adjacent to one another so as to identify a boundary of each blob in said image;
means for identifying each blob as a first type of blob or a second type of blob by determining whether each boundary surrounds pixels having said first processed digital value or said second processed digital value, respectively;
means for calculating a characteristic of any blob of at least one of said blob types; and
means for determining acceptability of said image by comparing said calculated characteristic to a predetermined value.

### Claim 2 (depends on 1)

The apparatus defined in claim 1 wherein said means for determining acceptability includes: means for comparing said calculated characteristic of any blob of said first blob type to a first predetermined value; and means for comparing said calculated characteristic of any blob of said second blob type to a second predetermined value.

### Claim 3 (depends on 2)

The apparatus defined in claim 2 wherein said means for calculating a characteristic includes means for calculating a size of any blob of said second type and said means for determining acceptability further comprises:
means for determining whether the largest of said calculated size of any blobs of said second type approximately equals a predetermined size.

### Claim 4 (depends on 3)

The apparatus defined in claim 3 wherein said means for calculating a characteristic includes means for calculating a size of any blob of said first type.

### Claim 5 (depends on 4)

The apparatus defined in claim 4 further comprising:
means for rejecting said cigarette if said means for determining acceptability determines that said image is an unacceptable image.

### Claim 6 (depends on 1)

The apparatus defined in claim 1 further comprising:
means for supporting said cigarette during operation of said means for forming an image so that said end surface is spaced from said means for supporting.

### Claim 7 (depends on 6)

The apparatus defined in claim 6 wherein said means for supporting comprises a drum on which said cigarette is supported with its longitudinal axis substantially parallel to the longitudinal axis of said drum.

### Claim 8 (depends on 6)

The apparatus defined in claim 6 further comprising:
means for illuminating said end surface so that any light from said means for illuminating which falls on said means for supporting is spaced from said end surface in the image formed by said means for forming an image.

### Claim 9 (depends on 8)

The apparatus defined in claim 8 wherein said means for forming an image forms said image along a first predetermined axis, and wherein said means for illuminating illuminates said end surface along a second predetermined axis which is inclined relative to said first predetermined axis.

### Claim 10 (depends on 9)

The apparatus defined in claim 9 wherein said second predetermined axis is inclined relative to said first predetermined axis by an angle of approximately 45.degree..

### Claim 11 (depends on 9)

The apparatus defined in claim 9 wherein said first predetermined axis is substantially perpendicular to said end surface.

### Claim 12 (depends on 9)

The apparatus defined in claim 9 wherein said second predetermined axis is oblique to said end surface.

### Claim 13 (depends on 8)

The apparatus defined in claim 8 wherein said means for supporting has a surface adjacent to said cigarette which faces in substantially the same direction as said end surface, and wherein said surface of said means for supporting is made so that it visually contrasts with said end surface.

### Claim 14 (depends on 13)

The apparatus defined in claim 13 wherein surfaces of said means for supporting on which light may fall from said means for illuminating are made substantially non-reflective.

### Claim 15 (depends on 13)

The apparatus defined in claim 13 wherein surfaces of said means for supporting on which light may fall from said means for illuminating are made substantially light-absorbing.

### Claim 16 (depends on 6)

The apparatus defined in claim 6 wherein said means for supporting moves said cigarette relative to said means for forming an image, and wherein said apparatus further comprises:
means for momentarily illuminating said end surface so that said means for forming an image forms a substantially still image of said end surface.

### Claim 17 (depends on 16)

The apparatus defined in claim 16 wherein said means for momentarily illuminating comprises:
means for synchronizing the illumination of said end surface with the motion of said means for supporting so that said end surface is illuminated when said end surface is at a predetermined location in the field of view of said means for forming an image.

### Claim 18 (depends on 1)

The apparatus defined in claim 1 wherein said cigarette is one of a succession of substantially similar objects, wherein said apparatus substantially similarly operates on all of said cigarettes one after another in succession, and wherein said apparatus further comprises:
means for displaying the image of a cigarette which is formed by said means for forming an image; and
means for prolonging the display of the image of a cigarette which has been determined to have an unacceptable appearance by said means for determining whether at least one of said boundaries has a predetermined characteristic so that an operator of the apparatus has additional time to view that image.

### Claim 19

A method for determining whether an end surface of a cigarette has an acceptable appearance, said method comprising the steps of:
forming an image of said end surface against the contrasting background;
digitizing said image as a plurality of pixels, each of said pixels having an initial digital value indicative of the brightness of a corresponding portion of said image;
processing said pixels so that each pixel having an initial digital value which has a first polarity relative to a predetermined threshold value is assigned a first of two processed digital values, and so that all other pixels are assigned a second of said two processed digital values, said threshold values being selected so that said background and substantially discolored areas of said end surface are assigned said first processed digital value and substantially undiscolored areas of said end surface are assigned said second processed digital value;
identifying as edge pixels those pixels which are adjacent to transitions between pixels having said first and second processed digital values;
associating edge pixels which are adjacent to one another so as to identify a boundary of each blob in said image;
identifying each blob as a first type of blob or a second type of blob by determining whether each boundary surrounds pixels having said first processed digital value or said second processed digital value, respectively;
calculating a characteristic of any blob of at least one of said blob types; and
determining acceptability of said image by comparing said calculated characteristic to a predetermined value.

### Claim 20 (depends on 19)

The method defined in claim 19 wherein said acceptability determining step includes: comparing said calculated characteristic of any blob of said first blob type to a first predetermined value; and comparing said calculated characteristic of any blob of said second blob type to a second predetermined value.

### Claim 21 (depends on 20)

The method defined in claim 20 wherein said step of calculating a characteristic includes calculating a size of any blob of said second type and said step of determining acceptability further comprises the step of:
determining whether the largest of said calculated size of any blob of said second type approximately equals a predetermined size.

### Claim 22 (depends on 21)

The method defined in claim 21 wherein said step of calculating a characteristic includes calculating a size of any blob of said first type.

### Claim 23 (depends on 20)

The method defined in claim 20 further comprising the step of:
rejecting said cigarette if said step of determining acceptability determines that said image is an unacceptable image.

### Claim 24 (depends on 20)

The method defined in claim 20 further comprising the step of:
supporting said cigarette with a support structure during said step of forming an image so that said end surface of said cigarette is spaced from said support structure.

### Claim 25 (depends on 24)

The method defined in claim 24 further comprising the step of:
illuminating said end surface from a light source so that any light from said light source which falls on said support structure is spaced from said end surface in the image formed in said step of forming an image.

### Claim 26 (depends on 25)

The method defined in claim 25 wherein said image is formed along a first predetermined axis in said step of forming an image, and wherein in said step of illuminating said end surface said end surface is illuminated along a second predetermined axis which is inclined relative to said first predetermined axis.

### Claim 27 (depends on 26)

The method defined in claim 26 wherein said second predetermined axis is inclined relative to said first predetermined axis by an angle of approximately 45.degree..

### Claim 28 (depends on 26)

The method defined in claim 26 wherein said first predetermined axis is substantially perpendicular to said end surface.

### Claim 29 (depends on 26)

The method defined in claim 26 wherein said second predetermined axis is oblique to said end surface.

### Claim 30 (depends on 24)

The method defined in claim 24 wherein said support structure has a surface adjacent to said cigarette which faces in substantially the same direction as said end surface, and wherein said surface of said support structure is made so that it visually contrasts with said end surface.

### Claim 31 (depends on 24)

The method defined in claim 24 wherein said support structure moves said cigarette relative to said light source, and wherein said method further comprises the step of:
momentarily illuminating said end surface so that a substantially still image of said end surface is formed during said step of forming an image.

### Claim 32 (depends on 31)

The method defined in claim 31 wherein said step of momentarily illuminating comprises the step of:
synchronizing the illumination of said end surface with the motion of said support structure.

### Claim 33 (depends on 20)

The method defined in claim 20 wherein said cigarette if one of a succession of substantially similar objects, wherein said method substantially similarly operates on all of said cigarettes one after another in succession, and wherein said method further comprises the steps of:
displaying the image of a cigarette which is formed in said step of forming an image; and
prolonging the display of the image of a cigarette which has been determined to have an unacceptable appearance in said step of determining acceptability so that an operator of the apparatus has additional time to view that image.
