# US 2023/0410278 A1 · Techniques for binarizing images to determine jetting quality in additive manufacturing

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

- Number: US 2023/0410278 A1
- Document ID: US20230410278A1
- Status: Published application
- Kind: A1
- Application number: 17/840,920
- Filed: 2022-06-15
- Published: 2023-12-21
- Earliest claimed: 2022-06-15
- Assignees: Xerox Corporation; Palo Alto Research Center Incorporated
- Applicants: Xerox Corporation; Palo Alto Research Center Incorporated
- Inventors: Christoforos Somarakis; Robert R. Price; Svyatoslav Korneev; Matt Patterson; Adrian Lew; Brendan Mcnamara; Eli Wilson
- Web page: https://patentgrep.com/patent/US20230410278A1

## CPC

- G06T 7/0004: {Industrial image inspection}
- B22F 10/22: Direct deposition of molten metal
- B22F 10/85: for controlling or regulating additive manufacturing processes
- B22F 12/57: Metering means
- B22F 12/90: Means for process control, e.g. cameras or sensors
- B29C 64/112: using individual droplets, e.g. from jetting heads
- B29C 64/209: Heads; Nozzles
- B29C 64/386: Data acquisition or data processing for additive manufacturing
- B29C 64/393: for controlling or regulating additive manufacturing processes
- B33Y 10/00: Processes of additive manufacturing
- B33Y 50/00: Data acquisition or data processing for additive manufacturing
- B33Y 50/02: for controlling or regulating additive manufacturing processes
- G06T 7/136: involving thresholding
- G06T 7/194: involving foreground-background segmentation
- B22F 12/53: Nozzles
- G06T 2207/30144: Printing quality
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- B22F: WORKING METALLIC POWDER; MANUFACTURE OF ARTICLES FROM METALLIC POWDER; MAKING METALLIC POWDER (making alloys by powder metallurgy C22C); APPARATUS OR DEVICES SPECIALLY ADAPTED FOR METALLIC POWDER
- B29C: SHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING (making preforms B29B11/00; making laminated products by combining previously unconnected layers which become one product whose layers will remain together B32B37/00 - B32B41/00)
- B33Y: ADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING

## Abstract

Image processing techniques for determining print quality for a 3D printer are disclosed. An example method includes obtaining an image of material jetted from a nozzle of the 3D printer. The method also includes binarizing the image to distinguish background features from foreground features contained in the image. The method also includes determining, by a processing device, a jetting quality based on the binarized image.

## Claims

### Claim 1

A method, comprising:
obtaining an image of material jetted from a nozzle of a 3D printer;
binarizing the image to distinguish background features from foreground features contained in the image; and
determining, by a processing device, a jetting quality based on the binarized image.

### Claim 2 (depends on 1)

The method of claim 1, wherein binarizing the image comprises:
computing, by a processing device, a gradient that describes a change in a number of background or foreground pixels in the image as a function of an intensity threshold value;
determining a final intensity threshold value based on the gradient; and
binarizing the image using the final intensity threshold value.

### Claim 3 (depends on 2)

The method of claim 2, wherein computing the gradient comprises iteratively incrementing a value of the intensity threshold value, and at each increment:
binarizing the image using the intensity threshold value; and
computing a number of foreground pixels in the binarized image, wherein the gradient describes a change in the number of foreground pixels as a function of change in the intensity threshold value.

### Claim 4 (depends on 2)

The method of claim 2, wherein determining the final intensity threshold value comprises identifying a minimum of the gradient, and identifying a start of a plateau in the gradient after the minimum.

### Claim 5 (depends on 1)

The method of claim 1, wherein binarizing the image comprises:
dividing the image into a jetting-free domain that is expected to not include foreground objects and a jetting path domain that is expected to include foreground objects;
computing statistical data for the jetting-free domain comprising a mean pixel-level intensity and a standard deviation pixel-level intensity; and
binarizing the jetting path domain using the statistical data in the jetting-free domain.

### Claim 6 (depends on 5)

The method of claim 5, wherein binarizing the jetting path domain comprises comparing each pixel intensity against the statistical data obtained from the jetting-free domain, wherein a particular pixel is determined to be part of a background object if the pixel intensity of the particular pixel falls within a prescribed confidence interval of intensity values defined from the statistical data of the jetting-free domain.

### Claim 7 (depends on 5)

The method of claim 5, wherein the jetting-free domain comprises a left domain to a left of the jetting path domain and a right domain to a right of the jetting path domain.

### Claim 8 (depends on 5)

The method of claim 5, wherein binarizing the jetting path domain comprises generating a z-score for a pixel using the statistical data and comparing the z-score to a threshold to determine whether the pixel is a foreground pixel or a background pixel.

### Claim 9 (depends on 5)

The method of claim 5, wherein computing the statistical data for the image and binarizing the image using the statistical data is performed individually for each row of pixels in the image.

### Claim 10 (depends on 1)

The method of claim 1, wherein binarizing the image comprises:
generating a matrix of pixel intensities for the image; and
fitting, by a processing device, a polynomial function to the matrix of pixel intensities and subtracting the polynomial function from the image to generate a flattened image.

### Claim 11

A non-transitory computer-readable storage medium having instructions stored thereon that, when executed by a processing device, cause the processing device to:
obtain an image of material jetted from a nozzle of a 3D printer;
binarize the image to distinguish background features from foreground features contained in the image; and
determine a jetting quality based on the binarized image.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein the instructions that cause the processing device to binarize the image cause the processing device to:
compute a gradient that describes a change in a number of background or foreground pixels in the image as a function of an intensity threshold value;
determine a final intensity threshold value based on the gradient; and
binarize the image using the final intensity threshold value.

### Claim 13 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein to compute the gradient comprises to iteratively increment a value of the intensity threshold, and at each increment:
binarize the image using the intensity threshold value; and
computing a number of foreground pixels in the binarized image, wherein the gradient describes a change in the number of foreground pixels as a function of change in the intensity threshold value.

### Claim 14 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein to determine the final intensity threshold value comprises to identify a minimum of the gradient, and identify a start of a plateau in the gradient after the minimum.

### Claim 15 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein the instructions that cause the processing device to binarize the image cause the processing device to:
divide the image into a jetting-free domain that is expected to not include foreground objects and a jetting path domain that is expected to include foreground objects;
compute statistical data for the jetting-free domain comprising a mean pixel-level intensity and a standard deviation pixel-level intensity; and
binarize the jetting path domain using the statistical data in the jetting-free domain.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein to binarize the jetting path domain comprises to compare each pixel intensity against the statistical data obtained from the jetting-free domain, wherein a particular pixel is determined to be part of a background object if the pixel intensity of the particular pixel falls within a prescribed confidence interval of intensity values defined from the statistical data of the jetting-free domain.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the jetting-free domain comprises a left domain to a left of the jetting path domain and a right domain to a right of the jetting path domain.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein to binarize the jetting path domain comprises to generate a z-score for a pixel using the statistical data and compare the z-score to a threshold to determine whether the pixel is a foreground pixel or a background pixel.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein to compute the statistical data for the image and binarize the image using the statistical data is performed individually for each row of pixels in the image.

### Claim 20 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein the instructions that cause the processing device to binarize the image cause the processing device to:
generate a matrix of pixel intensities for the image; and
fit a polynomial function to the matrix of pixel intensities and subtracting the polynomial function from the image to generate a flattened image.
