# US 8,279,347 B2 · System of edge direction detection for comb filter

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

- Number: US 8,279,347 B2
- Document ID: US8279347B2
- Status: Granted
- Kind: B2
- Application number: 12/453,463
- Filed: 2009-05-12
- Published: 2009-12-03
- Granted: 2012-10-02
- Earliest claimed: 2008-06-03
- Assignees: Sunplus Technology Co., Ltd.
- Inventors: Tsung Han Chiang
- Web page: https://patentgrep.com/patent/US8279347B2

## CPC

- H04N 9/78: for separating the brightness signal or the chrominance signal from the colour television signal, e.g. using comb filter
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A system of edge direction detection for comb filter includes a buffer, first and second filters, first and second oblique detectors, and a comparator. The buffer receives and stores a composite signal. The first filter performs filtering operation on the composite signal to produce a first filter signal. The second filter performs filtering operation on the composite signal to produce a second filter signal. The first oblique detector detects an oblique in the first filter signal to produce a first oblique indication signal and a first oblique direction signal and output a first minimum oblique difference. The second oblique detector detects an oblique in the second filter signal to produce a second oblique indication signal and a second oblique direction signal and output a second minimum oblique difference. The comparator compares the first and second oblique indication signals and the first and second oblique direction signals to produce edge information.

## Claims

### Claim 1

A system of edge direction detection for comb filter, comprising:
a buffer, for receiving and storing a composite signal; a first filter, connected to the buffer, for filtering the composite signal to produce a first filter signal; a second filter, connected to the buffer, for filtering the composite signal to produce a second filter signal;
a first oblique detector, connected to the first filter, for detecting an oblique of the first filter signal to produce a first oblique indication signal and a first oblique direction signal and output a first minimum oblique difference;
a second oblique detector, connected to the second filter, for detecting an oblique of the second filter signal to produce a second oblique indication signal and a second oblique direction signal and output a second minimum oblique difference; and
a comparator, connected to the first oblique detector and the second oblique detector, for comparing the first oblique indication signal, the second oblique indication signal, the first oblique direction signal and the second oblique direction signal to thereby produce an edge information;
wherein the first filter signal comprises a luma signal and a chroma signal, and the second filter signal comprises a luma signal.

### Claim 2 (depends on 1)

The system as claimed in claim 1, wherein the buffer is a line buffer or a frame buffer.

### Claim 3 (depends on 2)

The system as claimed in claim 2, wherein the line buffer is a five-line buffer.

### Claim 4 (depends on 1)

The system as claimed in claim 1, wherein the first filter is a bandpass filter.

### Claim 5 (depends on 4)

The system as claimed in claim 4, wherein the bandpass filter has a parameter of [−1, 0, 2, 0, −1]/4 when the composite signal is an NTSC signal.

### Claim 6 (depends on 4)

The system as claimed in claim 4, wherein the bandpass filter has a parameter of [−1, 0, 2, 0, −1]/4 when the composite signal is a PAL signal.

### Claim 7 (depends on 1)

The system as claimed in claim 1, wherein the second filter is a notch filter.

### Claim 8 (depends on 7)

The system as claimed in claim 7, wherein the notch filter has a parameter of [1, 0, 2, 0, 1]/4 when the composite signal is an NTSC signal.

### Claim 9 (depends on 7)

The system as claimed in claim 7, wherein the notch filter has a parameter of [1, 0, 2, 0, 1]/4 when the composite signal is a PAL signal.

### Claim 10 (depends on 1)

The system as claimed in claim 1, wherein the first oblique detector comprises: a first oblique difference, calculator connected to the first filter, for computing oblique differences from the first filter signal; a first minimum selector, connected to the first oblique difference calculator, for selecting a minimum one among the oblique differences as the first minimum oblique difference; and a first threshold comparator, connected to the first minimum selector, for comparing the first minimum oblique difference and a first threshold to produce the first oblique indication signal and the first oblique direction signal and output the first minimum oblique difference.

### Claim 11 (depends on 10)

The system as claimed in claim 10, wherein the first oblique indication signal and the first oblique direction signal are produced when the first minimum oblique difference is smaller than the first threshold.

### Claim 12 (depends on 11)

The system as claimed in claim 11, wherein the second oblique detector comprises: a second oblique difference calculator, connected to the second filter, for computing oblique differences from the second filter signal; a second minimum selector, connected to the second oblique difference calculator, for selecting a minimum one among the oblique differences as the second minimum oblique difference; a gradient calculator, for computing a gradient of the second filter signal; and a second threshold comparator, connected to the second minimum selector and the gradient calculator, for comparing the second minimum oblique difference with a second threshold and the gradient with a predetermined gradient to thereby produce the second oblique indication signal and the second oblique direction signal respectively and output the second minimum oblique difference.

### Claim 13 (depends on 12)

The system as claimed in claim 12, wherein the second oblique indication signal and the second oblique direction signal are produced when the second minimum oblique difference is smaller than the second threshold and the gradient is greater than the predetermined gradient.

### Claim 14 (depends on 13)

The system as claimed in claim 13, wherein the comparator selects the smaller one between the first minimum oblique difference and the second minimum oblique difference, and the corresponding first or second oblique direction signal as the edge information when both the first oblique indication signal and the second oblique indication signal indicate an edge existence.

### Claim 15 (depends on 13)

The system as claimed in claim 13, wherein the comparator selects the first minimum oblique difference and the first oblique direction signal as the edge information when only the first oblique indication signal indicates an edge existence.

### Claim 16 (depends on 13)

The system as claimed in claim 13, wherein the comparator selects the second minimum oblique difference and the second oblique direction signal as the edge information when only the second oblique indication signal indicates an edge existence.

### Claim 17

A system of edge direction detection for comb filter, comprising:
a buffer, for receiving and storing a composite signal;
N filters, respectively connected to the buffer, for filtering the composite signal to produce first to N-th filter signals respectively;
N oblique detectors, respectively connected to the N filters in one to one manner, for detecting obliques in the first to N-th filter signals to produce first to N-th oblique indication signals and first to N-th oblique direction signals and output first to N-th minimum oblique differences; and
a comparator, connected to the N oblique detectors, for comparing the first to N-th oblique indication signals and the first to N-th minimum oblique differences to thereby produce an edge information; wherein N is a positive integer, and the N filters are operated in spectra that are mutually exclusive and cover a spectrum of the composite signal;
wherein the first to N-th filter signals comprises a luma signal and a chroma signal.

### Claim 18 (depends on 17)

The system as claimed in claim 17, further including a K-th oblique detector comprising a K-th oblique difference calculator, connected to the K-th filter for computing oblique differences from the K-th filter signal, wherein K is a positive integer and 1≦K≦N;
a K-th minimum selector, connected to the K-th oblique difference calculator, for selecting a minimum one among the oblique differences as a K-th minimum oblique difference; and a first threshold comparator, connected to the K-th minimum selector, for comparing the K-th minimum oblique difference and a K-th threshold to thereby produce the K-th oblique indication signal and the K-th oblique direction signal and output the K-th minimum oblique difference.
