# US 2013/0259133 A1 · Method and apparatus for encoding/decoding image in spatial domain for noise component

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

- Number: US 2013/0259133 A1
- Document ID: US20130259133A1
- Status: Published application
- Kind: A1
- Application number: 13/910,367
- Filed: 2013-06-05
- Published: 2013-10-03
- Earliest claimed: 2010-12-06
- Assignees: SK Telecom Co., Ltd.
- Applicants: SK Telecom Co., Ltd.
- Inventors: Jinhan Song; Jeongyeon Lim; Kibaek Kim; Jechang Jeong
- Web page: https://patentgrep.com/patent/US20130259133A1

## CPC

- H04N 19/593: involving spatial prediction techniques
- H04N 19/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N 19/129: Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/61: in combination with predictive coding
- H04N 19/85: using pre-processing or post-processing specially adapted for video compression
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method and apparatus for encoding and decoding an image in a spatial domain for noise components are provided. The method and apparatus generate a prediction block by predicting a current block, generate a residual block by subtracting the prediction block from the current block, decide whether the number of noise components of the residual block is in a predetermined range, determine a coding domain, when a determined coding domain is a frequency domain, transform quantize the residual block, when the determined coding domain is a spatial domain, quantize the residual block and encode information on the determined coding domain and a generated quantized block, or quantize the noise components and encode and decode information on quantized noise components, and a number and locations of the noise components.

## Claims

### Claim 1

A video encoding apparatus, comprising:
a predictor configured to generate a prediction block by predicting a current block;
a subtractor configured to generate a residual block by subtracting the prediction block from the current block;
a noise detector configured to decide if a number of noise components of the residual block is in a preset range, and determine a coding domain;
a transformer configured to transform the residual block if the determined coding domain is a frequency domain;
a first quantizer configured to quantize the transformed residual block to generate a first quantized block;
a second quantizer configured to quantize the residual block to generate a second quantized block if the determined coding domain is a spatial domain; and
an encoder configured to encode information of the determined coding domain and the first or the second quantized block generated by the first quantizer or the second quantizer, respectively.

### Claim 2 (depends on 1)

The video encoding apparatus of claim 1, wherein the second quantizer is configured to generate the second quantized block through padding remaining components of the residual block except the noise components with a padding value and through quantizing the residual block.

### Claim 3 (depends on 2)

The video encoding apparatus of claim 2, further comprising
a padding value generator configured to generate information of the padding value and transmit the generated information to the second quantizer,
wherein the encoder is configured to encode the information of the padding value in any one of units of image sequence, picture, slice, block and sub-block.

### Claim 4 (depends on 1)

The video encoding apparatus of claim 1, wherein before scanning coefficients of the second quantized block generated by the second quantizer, the encoder is configured to calculate encoding costs respectively of a plurality of scan methods, select a scan method providing a predetermined cost performance, and encode information of the selected scan method.

### Claim 5 (depends on 4)

The video encoding apparatus of claim 4, wherein the selected scan method has a plurality of candidate start locations of scanning to choose from with respect to the second quantized block generated by the second quantizer.

### Claim 6

A video decoding apparatus, comprising:
a decoder configured to reconstruct coding domain information and a quantized block from a bitstream;
a first dequantizer configured to dequantize the quantized block, if the coding domain information represents a frequency domain coding, so as to reconstruct a transformed residual block;
an inverse transformer configured to inversely transform the transformed residual block into a residual block;
a second dequantizer configured to dequantize the quantized block including noise components, if the coding domain information represents a spatial domain coding, so as to reconstruct the residual block;
a predictor configured to predict a current block so as to generate a prediction block; and
an adder configured to add the prediction block to the reconstructed residual block so as to reconstruct the current block.

### Claim 7 (depends on 6)

The video decoding apparatus of claim 6, wherein the second dequantizer is configured to reconstruct the quantized block through padding remaining components of the residual block except the noise components with a padding value.

### Claim 8 (depends on 6)

The video decoding apparatus of claim 6, wherein if the coding domain information represents the spatial domain coding, the decoder is configured to decode information of a scan method from the bitstream and inversely scan a quantized coefficient string included in the bitstream in accordance with the decoded scan method so as to reconstruct the quantized block in the spatial domain.

### Claim 9 (depends on 6)

The video decoding apparatus of claim 6, wherein the decoder is further configured to decode information of quantized noise components and the number and locations of the noise components if the coding domain information represents a spatial domain coding; and
a second dequantizer is further configured to reconstruct the residual block from the information of the quantized noise components and the number and locations of the noise components.

### Claim 10 (depends on 9)

The video decoding apparatus of claim 9, wherein the noise components have a corresponding residual signal, the absolute value of which is equal to or greater than a threshold value.

### Claim 11

A video encoding method performed by a video encoding apparatus, the method comprising:
predicting a current block to generate a prediction block;
subtracting the prediction block from the current block to generate a residual block;
deciding if a number of noise components of the residual block is in a preset range, and determining a coding domain;
transforming the residual block if the determined coding domain is the frequency domain;
firstly quantizing the transformed residual block to generate a first quantized block;
secondly quantizing the residual block to generate a second quantized block if the determined coding domain is the spatial domain; and
encoding information of the determined coding domain and the first or second quantized block generated by the firstly quantizing or the secondly quantizing, respectively.

### Claim 12 (depends on 11)

The video encoding method of claim 11, wherein the secondly quantizing comprises
generating the second quantized block through padding remaining components of the residual block except the noise components with a padding value and through quantizing the residual block.

### Claim 13 (depends on 11)

The video encoding method of claim 11, further comprising
generating information of the padding value before proceeding to the secondly quantizing,
wherein the encoding comprises encoding the information of the padding value in any one of units of image sequence, picture, slice, block and sub-block.

### Claim 14 (depends on 11)

The video encoding method of claim 11, wherein before scanning coefficients of the second quantized block generated by the secondly quantizing, the encoding comprises
calculating encoding costs respectively of a plurality of scan methods,
selecting a scan method providing a predetermined cost performance, and
encoding information of the selected scan method.

### Claim 15 (depends on 14)

The video encoding method of claim 14, wherein the selected scan method has a plurality of candidate start locations of scanning to choose from with respect to the second quantized block generated by the secondly quantizing.

### Claim 16

A video decoding method performed by a video decoding apparatus, the method comprising:
decoding coding domain information and a quantized block from a bitstream;
firstly dequantizing the quantized block if the decoded coding domain information represents a frequency domain coding so as to reconstruct a transformed residual block;
inversely transforming the transformed residual block into a residual block;
secondly dequantizing the quantized block including noise components by the number in a preset range if the coding domain information represents a spatial domain coding to reconstruct the residual block;
predicting a current block to generate a prediction block; and
adding the prediction block to the reconstructed residual block so as to reconstruct the current block.

### Claim 17 (depends on 16)

The video decoding method of claim 16, wherein the reconstructing comprises
reconstructing the quantized block through padding remaining components of the residual block except the noise components with a padding value.

### Claim 18 (depends on 16)

The video decoding method of claim 16, wherein if the coding domain information represents the spatial domain coding, the reconstructing comprises
decoding information of a scan method from the bitstream, and
inversely scanning a quantized coefficient string included in the bitstream in accordance with the decoded scan method so as to reconstruct the quantized block in the spatial domain.

### Claim 19 (depends on 16)

The video decoding method of claim 16, wherein the decoding comprises
decoding information of quantized noise components and the number and locations of the noise components if the coding domain information represents a spatial domain coding; and
the secondly dequantizing comprises reconstructing the residual block from the information of the quantized noise components and the number and locations of the noise components.
