# US 2021/0174477 A1 · Domain specific image quality assessment

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

- Number: US 2021/0174477 A1
- Document ID: US20210174477A1
- Status: Published application
- Kind: A1
- Application number: 17/111,264
- Filed: 2020-12-03
- Published: 2021-06-10
- Earliest claimed: 2019-12-04
- Assignees: Align Technology, Inc.
- Applicants: Align Technology, Inc.
- Inventors: Chao Shi; Yingjie Li; Chad Clayton Brown; Christopher E. Cramer
- Web page: https://patentgrep.com/patent/US20210174477A1

## CPC

- G06T 5/73: Deblurring; Sharpening
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0475: Generative networks
- G06N 3/09: Supervised learning
- G06N 3/094: Adversarial learning
- G06N 20/00: Machine learning
- G06T 5/40: using histogram techniques
- G06T 5/60: using machine learning, e.g. neural networks
- G06T 7/0002: {Inspection of images, e.g. flaw detection}
- G06T 11/20: Drawing from basic elements
- G06V 10/993: {Evaluation of the quality of the acquired pattern}
- G06V 40/165: {using facial parts and geometric relationships}
- G06V 40/166: {using acquisition arrangements}
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06T 2207/10024: Color image
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30168: Image quality inspection
- G06T 2207/30201: Face
- G06T 2210/12: Bounding box
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

In a technique to assess the blurriness of an image, an image of a face is received, the image including a depiction of lips. A processing device determines a region of interest in the image, wherein the region of interest comprises an area inside of the lips. The processing device applies a focus operator to the pixels within the region of interest, and calculates a sharpness metric for the region of interest using an output of the focus operator. The processing device determines whether the sharpness metric satisfies a sharpness criterion, and one or more additional operations are performed responsive to determining that the sharpness metric satisfies the sharpness criterion.

## Claims

### Claim 1

A method comprising:
receiving an image of a face of a patient, the image including a depiction of lips of the patient;
determining a region of interest in the image, wherein the region of interest comprises an area inside of the lips;
applying a focus operator to the pixels within the region of interest;
calculating a sharpness metric for the region of interest using an output of the focus operator, wherein data for pixels inside of the region of interest is used to calculate the sharpness metric, and wherein data for pixels of a second region that is outside of the region of interest is not used to calculate the sharpness metric;
determining whether the sharpness metric satisfies a sharpness criterion; and
performing one or more additional operations responsive to determining that the sharpness metric satisfies the sharpness criterion.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the region of interest comprises:
processing the image using a trained machine learning model that has been trained to identify areas inside of lips in images of faces, wherein an output of the trained machine learning model is a probability map that identifies, for each pixel in the image, a probability that the pixel is within the region of interest; and
generating a mask for the image of the patient, wherein each entry in the mask is associated with a specific pixel in the image and indicates for the specific pixel whether the specific pixel is inside of the region of interest or is outside of the region of interest.

### Claim 3 (depends on 1)

The method of claim 1, wherein the trained machine learning model is an artificial neural network.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining the region of interest comprises:
associating a bounding shape with the lips depicted in the image using a trained machine learning model, wherein the bounding shape comprises an object bounding the lips of the patient;
determining, for each pixel in the image, whether the pixel is inside of the bounding shape or outside of the bounding shape, wherein pixels inside of the bounding shape are associated with the region of interest, and wherein pixels outside of the bounding shape are associated with the second region; and
generating a mask for the image of the patient, wherein each entry in the mask is associated with a specific pixel in the image and indicates for the specific pixel whether the specific pixel is associated with the region of interest inside of the bounding shape or the second region outside of the bounding shape.

### Claim 5 (depends on 4)

The method of claim 4, wherein the image is a two-dimensional image and the bounding shape is a rectangular bounding box or an oval bounding shape.

### Claim 6 (depends on 4)

The method of claim 4, wherein performing the one or more additional operations comprises:
determining a post-treatment dentition of the patient;
determining a depiction of a new smile of the patient, wherein the post-treatment dentition is reflected in the new smile; and
generating a modified version of the image, wherein the region of interest is replaced with the depiction of the new smile of the patient in the modified version of the image.

### Claim 7 (depends on 1)

The method of claim 1, wherein applying the focus operator comprises:
applying a Gaussian filter to the to the pixels within the region of interest; and
applying a Laplacian filter to an output of the Gaussian filter.

### Claim 8 (depends on 7)

The method of claim 7, wherein calculating the sharpness metric comprises:
calculating a variance based on an output of the Laplacian filter.

### Claim 9 (depends on 7)

The method of claim 7, wherein a sigma of the Gaussian filter is fixed, the method further comprising:
performing at least one of cropping the image or resizing the image to cause a size of the region of interest to be within a predetermined size range prior to applying the focus operator.

### Claim 10 (depends on 1)

The method of claim 1, wherein applying the focus operator to the pixels within the region of interest comprises applying the focus operator only to the pixels within the region of interest.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
converting pixels within the region of interest to grayscale prior to applying the focus operator to the pixels within the region of interest.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
identifying pixels comprising specular highlights in the image; and
updating at least one of the image or a mask that identifies pixels in the region of interest to remove the specular highlights.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
determining an image class for the image of the face; and
determining the sharpness criterion based at least in part on the image class.

### Claim 14 (depends on 1)

The method of claim 1, further comprising:
performing pixel intensity normalization on the image of the face prior to applying the focus operator to the pixels within the region of interest.

### Claim 15

A non-transitory computer readable medium comprising instructions that, when executed by a processing device, cause the processing device to:
receive an image of a face of a patient, the image including a depiction of lips of the patient;
determine a region of interest in the image, wherein the region of interest comprises an area inside of the lips;
apply a focus operator to the pixels within the region of interest;
calculate a sharpness metric for the region of interest using an output of the focus operator, wherein data for pixels inside of the region of interest is used to calculate the sharpness metric, and wherein data for pixels of a second region that is outside of the region of interest is not used to calculate the sharpness metric;
determine whether the sharpness metric satisfies a sharpness criterion; and
perform one or more additional operations responsive to determining that the sharpness metric satisfies the sharpness criterion.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein determining the region of interest comprises:
processing the image using a trained machine learning model that has been trained to identify areas inside of lips in images of faces, wherein an output of the trained machine learning model is a probability map that identifies, for each pixel in the image, a probability that the pixel is within the region of interest; and
generating a mask for the image of the patient, wherein each entry in the mask is associated with a specific pixel in the image and indicates for the specific pixel whether the specific pixel is inside of the region of interest or is outside of the region of interest.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the trained machine learning model is an artificial neural network.

### Claim 18 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein determining the region of interest comprises:
associating a bounding shape with the lips depicted in the image using a trained machine learning model, wherein the bounding shape comprises an object bounding the lips of the patient;
determining, for each pixel in the image, whether the pixel is inside of the bounding shape or outside of the bounding shape, wherein pixels inside of the bounding shape are associated with the region of interest, and wherein pixels outside of the bounding shape are associated with the second region; and
generating a mask for the image of the patient, wherein each entry in the mask is associated with a specific pixel in the image and indicates for the specific pixel whether the specific pixel is associated with the region of interest inside of the bounding shape or the second region outside of the bounding shape.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the image is a two-dimensional image and the bounding shape is a rectangular bounding box or an oval bounding shape.

### Claim 20 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein performing the one or more additional operations comprises:
determining a post-treatment dentition of the patient;
determining a depiction of a new smile of the patient, wherein the post-treatment dentition is reflected in the new smile; and
generating a modified version of the image, wherein the region of interest is replaced with the depiction of the new smile of the patient in the modified version of the image.

### Claim 21 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein applying the focus operator comprises:
applying a Gaussian filter to the to the pixels within the region of interest; and
applying a Laplacian filter to an output of the Gaussian filter.

### Claim 22 (depends on 21)

The non-transitory computer readable medium of claim 21, wherein calculating the sharpness metric comprises:
calculating a variance based on an output of the Laplacian filter.

### Claim 23 (depends on 21)

The non-transitory computer readable medium of claim 21, wherein a sigma size of the Gaussian filter is fixed, and wherein the instructions further cause the processing device to:
perform at least one of cropping the image or resizing the image to cause a size of the region of interest to be within a predetermined size range prior to applying the focus operator.

### Claim 25 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the instructions further cause the processing device to:
convert pixels within the region of interest to grayscale prior to applying the focus operator to the pixels within the region of interest.

### Claim 26 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the instructions further cause the processing device to:
identify pixels comprising specular highlights in the image; and
update at least one of the image or a mask that identifies pixels in the region of interest to remove the specular highlights.

### Claim 27 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the instructions further cause the processing device to:
determine an image class for the image of the face; and
determine the sharpness criterion based at least in part on the image class.

### Claim 28 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the instructions further cause the processing device to:
perform pixel intensity normalization on the image of the face prior to applying the focus operator to the pixels within the region of interest.

### Claim 29

A computing device comprising:
a memory to store instructions; and
a processor operatively coupled to the memory, wherein execution of the instructions causes the processor to:
receive an image of a face of a patient, the image including a depiction of lips of the patient;
determine a region of interest in the image, wherein the region of interest comprises an area inside of the lips;
convert pixels within the region of interest to grayscale;
apply a focus operator to the pixels within the region of interest; and
calculate a sharpness metric for the region of interest using an output of the focus operator, wherein data for pixels inside of the region of interest is used to calculate the sharpness metric, and wherein data for pixels of a second region that is outside of the region of interest is not used to calculate the sharpness metric;
determine whether the sharpness metric satisfies a sharpness criterion; and
return an error responsive to a determination that the sharpness metric fails to satisfy the sharpness criterion.

### Claim 224 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein applying the focus operator to the pixels within the region of interest comprises applying the focus operator only to the pixels within the region of interest.
