# US 2021/0174482 A1 · Visualization of inspection results

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

- Number: US 2021/0174482 A1
- Document ID: US20210174482A1
- Status: Published application
- Kind: A1
- Application number: 16/707,097
- Filed: 2019-12-09
- Published: 2021-06-10
- Earliest claimed: 2019-12-09
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: PENG JI; GUO QIANG HU; JINGCHANG HUANG; FAN LI
- Web page: https://patentgrep.com/patent/US20210174482A1

## CPC

- G06T 7/0004: {Industrial image inspection}
- G06T 7/001: {using an image reference approach}
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 5/046: Forward inferencing; Production systems
- G06N 20/00: Machine learning
- G06T 7/11: Region-based segmentation
- G06T 9/00: Image coding (bandwidth or redundancy reduction for static pictures H04N1/41; coding or decoding of static colour picture signals H04N1/64; methods or arrangements for coding, decoding, compressing or decompressing digital video signals H04N19/00)
- G06T 2207/20021: Dividing image into blocks, subimages or windows
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Methods, systems and computer program products for providing improved visualization of inspection results are provided. Aspects include receiving an image from a connected camera by a computing device and processing the image by a graphics processing unit to divide the image into a plurality of image blocks. Responsive to inputting the processed image into a trained model, a plurality of image areas within the processed image is identified. Each image area is associated with an importance level and includes a unique set of image blocks. A sequence of image blocks is determined based on an importance level associated with each of the plurality of image blocks, wherein the sequence includes a list of image blocks in descending order by the importance level of each image block. The image blocks are stored in order of the sequence of image blocks by the server.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, by a processor system, an image;
processing, by the processor system, the image to divide the image into a plurality of image blocks;
responsive to inputting the processed image into a model that has been trained to detect possible defects represented in an image, identifying, by the processor system, a plurality of image areas within the processed image, wherein each image area is associated with an importance level and each image area comprises a unique set of image blocks of the plurality of image blocks;
determining, by the processor system, a sequence of image blocks based on an importance level associated with each of the plurality of image blocks, wherein the sequence comprises a list of image blocks in descending order by the importance level of each image block; and
storing, by the processor system, the image blocks in order of the sequence of image blocks.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein identifying a plurality of image areas within the processed image comprises determining zero or more first image areas having a first level of importance, zero or more second image areas having a second level of importance and one or more third image areas having a third level of importance.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the first level of importance corresponds to a first level of confidence of an existence of a defect in the zero of more first image areas and the second level of importance corresponds to a second level of confidence of an existence of a defect in the zero of more second image areas, wherein the first level of confidence is greater than the second level of confidence.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein each of the plurality of image areas within the processed image is identified based on boundaries and a heat map output by the model in response to inputting the processed image into the model.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, wherein determining a sequence of image blocks based on an importance level associated with each of the plurality of image blocks comprises:
placing each image block of the zero or more first image areas at a beginning of the sequence;
placing each image block of the zero or more second image areas at a middle of the sequence; and
placing each image block of the one or more third image areas at an end of the sequence.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5 further comprising:
outputting, by the model for each image block of the zero or more second image areas, a distance to results value; and
ordering, each image block of the zero or more second image areas within the middle of the sequence based on the distance to results value of each image block of the zero or more second image areas.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein storing the image blocks in order of the sequence of image blocks comprises storing the image blocks in order starting with the beginning of the sequence followed by the middle of the sequence and finishing with the end of the sequence.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7 further comprising applying a compression algorithm to the plurality of image blocks prior to storing the image blocks, wherein the stored image blocks comprise compressed image blocks.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8 further comprising transmitting the compressed image blocks to a remote device for rendering of the image based on the compressed image blocks, wherein the compressed image blocks are transmitted in order of the sequence.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein transmitting the compressed image blocks to the remote device for rendering of the image comprises:
transmitting a reference image to the remote device, wherein the reference image comprises a set of image blocks wherein none of the set of image blocks represents a visual defect; and
transmitting each image block of the zero or more first image areas and each image block of the zero or more second image areas in sequence;
wherein the user device renders the image by replacing one or more image blocks of the reference image with each image block of the zero or more first image areas and each image block of the zero or more second image areas.

### Claim 11

A system comprising:
a camera;
a processor system;
a memory having computer readable instructions; and
the processor system configured to execute the computer readable instructions to cause the processor system to perform operations comprising:
processing an image to generate a processed image divided into a plurality of image blocks;
responsive to inputting the processed image into a model that has been trained to detect possible defects represented in an input image, identifying a plurality of image areas within the processed image, wherein each image area is associated with an importance level and each image area comprises a unique set of image blocks of the plurality of image blocks;
determining a sequence of image blocks based on an importance level associated with each of the plurality of image blocks, wherein the sequence comprises a list of image blocks in descending order by the importance level of each image block; and
storing the image blocks in order of the sequence of image blocks.

### Claim 12 (depends on 11)

The system of claim 11, wherein identifying a plurality of image areas within the processed image comprises determining zero or more first image areas having a first level of importance, zero or more second image areas having a second level of importance and one or more third image areas having a third level of importance.

### Claim 13 (depends on 12)

The system of claim 12, wherein the first level of importance corresponds to a first level of confidence of an existence of a defect in the zero of more first image areas and the second level of importance corresponds to a second level of confidence of an existence of a defect in the zero of more second image areas, wherein the first level of confidence is greater than the second level of confidence.

### Claim 14 (depends on 11)

The system of claim 11, wherein each of the plurality of image areas within the processed image is identified based on boundaries and a heat map output by the model in response to inputting the processed image into the model.

### Claim 15 (depends on 13)

The system of claim 13, wherein determining a sequence of image blocks based on an importance level associated with each of the plurality of image blocks comprises:
placing each image block of the zero or more first image areas at a beginning of the sequence;
placing each image block of the zero or more second image areas at a middle of the sequence; and
placing each image block of the one or more third image areas at an end of the sequence.

### Claim 16 (depends on 15)

The system of claim 15, wherein the operations further comprise:
outputting, by the model for each image block of the zero or more second image areas, a distance to results value; and
ordering, each image block of the zero or more second image areas within the middle of the sequence based on the distance to results value of each image block of the zero or more second image areas.

### Claim 17

A computer program product for providing improved visualization of inspection results, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by processor system to cause the processor system to perform a method comprising:
receiving an image from a camera connected to the computing device;
processing the image to divide the image into a plurality of image blocks;
responsive to inputting the processed image into a model that has been trained to detect possible defects represented in an image, identifying a plurality of image areas within the processed image, wherein each image area is associated with an importance level and each image area comprises a unique set of image blocks of the plurality of image blocks;
determining a sequence of image blocks based on an importance level associated with each of the plurality of image blocks, wherein the sequence comprises a list of image blocks in descending order by the importance level of each image block;
storing the image blocks in order of the sequence of image blocks.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein identifying a plurality of image areas within the processed image comprises determining zero or more first image areas having a first level of importance, zero or more second image areas having a second level of importance and one or more third image areas having a third level of importance.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the first level of importance corresponds to a first level of confidence of an existence of a defect in the zero of more first image areas and the second level of importance corresponds to a second level of confidence of an existence of a defect in the zero of more second image areas, wherein the first level of confidence is greater than the second level of confidence.

### Claim 20 (depends on 17)

The computer program product of claim 17, wherein each of the plurality of image areas within the processed image is identified based on boundaries and a heat map output by the model in response to inputting the processed image into the model.
