# US 2016/0364849 A1 · Defect detection method for display panel based on histogram of oriented gradient

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

- Number: US 2016/0364849 A1
- Document ID: US20160364849A1
- Status: Published application
- Kind: A1
- Application number: 14/417,094
- Filed: 2014-11-18
- Published: 2016-12-15
- Earliest claimed: 2014-11-03
- Assignees: Shenzhen China Star Optoelectronics Technology Co., Ltd.
- Applicants: Shenzhen China Star Optoelectronics Technology Co., Ltd.
- Inventors: Xiaole Liu; Jingbo Li
- Web page: https://patentgrep.com/patent/US20160364849A1

## CPC

- G06V 10/462: {Salient features, e.g. scale invariant feature transforms [SIFT]}
- G06T 7/0004: {Industrial image inspection}
- G06T 7/001: {using an image reference approach}
- G06T 2207/20081: Training; Learning
- G06T 2207/30121: CRT, LCD or plasma display
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

In order to detect defects in display panels by an automatic way accurately and quickly, the present invention proposes a method combining image feature extraction and classifier model. It calculates the histograms of oriented gradient (HOG) of images of the display panel collected by an industrial camera of a detection apparatus as feature vectors. Then use them as input samples to train the classifier model to recognize the defects of the display panel.

## Claims

### Claim 1

A defect detection method for a display panel based on histogram of oriented gradient, said method comprising:
capturing an image of a substrate of the display panel by an industrial camera;
performing detection on a region of interest (ROI) on the image, where the ROI of the image is taken as a to-be-detected image;
extracting a feature descriptor from a histogram of oriented gradient of the to-be-detected image;
inputting the feature descriptor into a trained classifier model for proceeding with recognition and classification; and
outputting a detection result on a basis of a determination made by the trained classifier model.

### Claim 2 (depends on 1)

The method according to claim 1, before the step of performing detection on the ROI on the image, said method further comprising:
performing image preprocessing on the image of the substrate of the display panel captured by the industrial camera.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the image preprocessing comprises noise reduction.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
collecting positive image samples with defects and negative image samples without defects;
performing feature extraction on histograms of oriented gradient of the positive image samples and the negative image samples; and
training a classifier with inputted features of the histograms of oriented gradient of the positive image samples and the negative image samples to obtain the trained classifier model.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the classifier comprises an extreme learning machine (ELM) classifier.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the step of extracting the feature descriptor from the histogram of oriented gradient of the to-be-detected image comprises:
computing gradient for each pixel of the to-be-detected image;
establishing the histogram of oriented gradient of the to-be-detected image in unit of a cell, where a cell is consisted of a plurality of pixels;
normalizing the histogram of oriented gradient in unit of a block, where a block is consisted of a plurality of cells; and
collecting all of the blocks of the to-be-detected image as the feature descriptor of the histogram of oriented gradient of the to-be-detected image.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the step of computing gradient for each pixel of the to-be-detected image performs the gradient computation by adopting a [−1, 0, 1] differential model with symmetry of first derivatives.

### Claim 8 (depends on 6)

The method according to claim 6, wherein in the step of establishing the histogram of oriented gradient of the to-be-detected image in unit of a cell, 9 intervals of gradient directions are adopted to classify gradient directions of the pixels.

### Claim 9 (depends on 6)

The method according to claim 6, wherein a normalization approach adopted in the step of normalizing the histogram of oriented gradient in unit of a block is L2-norm, which is represented by:
v→v/√{square root over (∥v∥22+ε2)},
where v is a vector of a non-normalized descriptor, ∥V∥k is its k-norm (k=1, 2), and ε is a sufficiently small constant which makes the denominator of the above equation not become a zero.

### Claim 10

A defect detection method for a display panel based on histogram of oriented gradient, said method comprising:
collecting positive image samples and negative image samples;
performing feature extraction on histograms of oriented gradient of the positive image samples and the negative image samples;
training a classifier with inputted features of the histograms of oriented gradient of the positive image samples and the negative image samples to obtain a trained classifier model;
thoroughly scanning an image captured by a detection apparatus by adopting a detection window with a predetermined size;
extracting a feature descriptor from a histogram of oriented gradient of an image defined in the detection window, and performing the same operation for all the images defined with the detection window;
inputting each of the feature descriptors of the images defined with the detection window into the trained classifier model for proceeding with recognition and classification; and
outputting a defect detection result for each image defined in the detection window on a basis of a determination made by the trained classifier model.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the classifier comprises an extreme learning machine (ELM) classifier.

### Claim 12 (depends on 10)

The method according to claim 10, wherein the step of extracting the feature descriptor from the histogram of oriented gradient of the image defined in the detection window comprises:
computing gradient for each pixel of the image defined in the detection window;
establishing the histogram of oriented gradient of the image defined in the detection window in unit of a cell, where a cell is consisted of a plurality of pixels;
normalizing the histogram of oriented gradient in unit of a block, where a block is consisted of a plurality of cells; and
collecting all of the blocks of the image defined in the detection window as the feature descriptor of the histogram of oriented gradient of the image defined in the detection window.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the step of computing gradient for each pixel of the image defined in the detection window performs the gradient computation by adopting a [−1, 0, 1] differential model with symmetry of first derivatives.

### Claim 14 (depends on 12)

The method according to claim 12, wherein in the step of establishing the histogram of oriented gradient of the image defined in the detection window in unit of a cell, 9 intervals of gradient directions are adopted to classify gradient directions of the pixels.

### Claim 15 (depends on 12)

The method according to claim 12, wherein a normalization approach adopted in the step of normalizing the histogram of oriented gradient in unit of a block is L2-norm, which is represented by:
v→v/√{square root over (∥v∥22+ε2)},
where v is a vector of a non-normalized descriptor, ∥V∥k is its k-norm (k=1, 2), and ε is a sufficiently small constant which makes the denominator of the above equation not become a zero.

### Claim 16

A defect detection method for a display panel based on histogram of oriented gradient, said method comprising:
thoroughly scanning an image captured by a detection apparatus by adopting a detection window with a predetermined size;
extracting a feature descriptor from a histogram of oriented gradient of an image defined in the detection window, and performing the same operation for all the images defined with the detection window;
inputting each of the feature descriptors of the images defined with the detection window into a trained classifier model for proceeding with recognition and classification; and
outputting a defect detection result for each image defined in the detection window on a basis of a determination made by the trained classifier model.

### Claim 17 (depends on 16)

The method according to claim 16, wherein the step of extracting the feature descriptor from the histogram of oriented gradient of the image defined in the detection window comprises:
computing gradient for each pixel of the image defined in the detection window;
establishing the histogram of oriented gradient of the image defined in the detection window in unit of a cell, where a cell is consisted of a plurality of pixels;
normalizing the histogram of oriented gradient in unit of a block, where a block is consisted of a plurality of cells; and
collecting all of the blocks of the image defined in the detection window as the feature descriptor of the histogram of oriented gradient of the image defined in the detection window.

### Claim 18 (depends on 17)

The method according to claim 17, wherein the step of computing gradient for each pixel of the image defined in the detection window performs the gradient computation by adopting a [−1, 0, 1] differential model with symmetry of first derivatives.

### Claim 19 (depends on 17)

The method according to claim 17, wherein in the step of establishing the histogram of oriented gradient of the image defined in the detection window in unit of a cell, 9 intervals of gradient directions are adopted to classify gradient directions of the pixels.

### Claim 20 (depends on 17)

The method according to claim 17, wherein a normalization approach adopted in the step of normalizing the histogram of oriented gradient in unit of a block is L2-norm, which is represented by:
v→v/√{square root over (∥v∥22+ε2)},
where v is a vector of a non-normalized descriptor, ∥V∥k is its k-norm (k=1, 2), and ε is a sufficiently small constant which makes the denominator of the above equation not become a zero.
