KR102053242B1 - Machine learning algorithm using compression parameter for image reconstruction and image reconstruction method therewith - Google Patents

Machine learning algorithm using compression parameter for image reconstruction and image reconstruction method therewith Download PDF

Info

Publication number
KR102053242B1
KR102053242B1 KR1020170053284A KR20170053284A KR102053242B1 KR 102053242 B1 KR102053242 B1 KR 102053242B1 KR 1020170053284 A KR1020170053284 A KR 1020170053284A KR 20170053284 A KR20170053284 A KR 20170053284A KR 102053242 B1 KR102053242 B1 KR 102053242B1
Authority
KR
South Korea
Prior art keywords
image
information
machine learning
learning algorithm
reconstructed
Prior art date
Application number
KR1020170053284A
Other languages
Korean (ko)
Other versions
KR20180119753A (en
Inventor
강현인
강지홍
Original Assignee
강현인
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 강현인 filed Critical 강현인
Priority to KR1020170053284A priority Critical patent/KR102053242B1/en
Priority to PCT/KR2018/002470 priority patent/WO2018199459A1/en
Publication of KR20180119753A publication Critical patent/KR20180119753A/en
Application granted granted Critical
Publication of KR102053242B1 publication Critical patent/KR102053242B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/04Inference or reasoning models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N99/00Subject matter not provided for in other groups of this subclass
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention uses compressed information and a degraded image as input data, and is configured to learn and derive an optimal model corresponding to various compressed information by using a machine learning algorithm aiming to restore the original image. It is possible to remarkably improve the image resilience and compression rate by applying the optimal model corresponding to the information, and to construct the loss function which is a function for calculating the difference between the reconstructed image and the original image during learning. The present invention provides a machine learning algorithm capable of precisely restoring an image for a specific region by assigning a weight and an image restoration method using the same.

Description

Machine learning algorithm using compression parameter for image reconstruction using image compression method and image reconstruction method

The present invention relates to a machine learning algorithm for image reconstruction using compression parameters and an image reconstruction method using the same. Specifically, the present invention reconstructs an image by using compression information during image encoding and decoding, and simultaneously machine learning. It is to provide a machine learning algorithm that can improve the image resilience and compression rate by being configured to learn and derive the optimal reconstruction method corresponding to the compressed information through the self and to provide an image reconstruction method using the same.

As the content industry expands and display technology develops, research on image compression technology is being actively conducted.

In particular, as broadcast services with high definition (HD) resolutions have recently been expanded, many users have become accustomed to high resolution and high definition video. Interest is soaring.

Currently, compression standards include JPEG, H.264, MPEG2, and HEVC. In the compression process of the compression standard, the image is divided into blocks of a certain size, and then quantized and predicted by each block. Compress the data through.

However, in the current compression standard, since image prediction and quantization are performed based on divided blocks, the boundary between blocks is degraded during compression.

As a method for solving this problem, loop filters, adaptive deblocking filters, and sample adaptive offset filter technologies have been studied and used. However, such a conventional method simply performs an image filter using only a few parameters determined by various studies and experiments. It is configured to.

In general, an image filter should be applied with optimal parameter values according to various conditions such as compression method, block size and quantity, and set values. However, since the image is reconstructed using only a few fixed parameter values, a reconstructed image The quality of the falling has a structural limit.

In particular, in the case of video compression such as HEVC (High Efficiency Video Coding), since the reconstructed image is encoded as a reference image in an adjacent frame, the compression rate decreases as the image quality of the reconstructed image decreases.

1 is a block diagram illustrating a decoding structure diagram of H. 264.

The H. 264 (100) of FIG. 1 processes data in units of macroblocks having a width of 16 × 16 pixels, and receives a bitstream and decodes the data in an intra mode or an inter mode. The reconstructed image is output.

In the intra mode, the switch is switched to intra, and in the inter mode, the switch is switched to inter.

In addition, the main flow of the decoding process is to first generate a prediction block, and then decode the input bitstream to add a block and a prediction block to generate a reconstructed block.

In addition, generation of the prediction block of the H.264 100 is performed according to the intra mode and the inter mode.

In the intra mode, the H.264 100 generates a prediction block by performing spatial prediction using the neighboring pixel values of the current block in the intra prediction process, and uses the motion vector in the inter mode. A prediction block is generated by searching for an area in the reference picture stored in the reference picture buffer and performing motion compensation.

Also, in the entropy decoding process, an quantized coefficient is output by performing entropy decoding according to a probability distribution of an input bitstream, and inverse quantization process and inverse transformation of the quantized coefficient are reconstructed through a predictive image and an adder. After generating a block, a blocking phenomenon is removed through a deblocking filter and then stored in a reference picture buffer.

However, in the conventional H.264 100, since the deblocking filter applied to remove the blocking artifact performs the image reconstruction using only a small number of preset parameters, various conditions of compression and deteriorated image are performed. It has a structural limitation that does not correspond to its characteristics.

The present invention has been made to solve such a problem, and the problem of the present invention is to use the machine learning algorithm which aims to restore the original image, which is the image before compression is degraded by compression information and deteriorated image as input data. Machine learning algorithm and image restoration method that can significantly improve image reconstruction power by applying the compressed information input to the trained model when reconstructing the image. It is to provide.

In addition, another problem of the present invention is to construct a loss function, which is a function for obtaining a difference value between a reconstructed image and an original image during learning, in units of blocks according to a block size, an inter / intra prediction mode of a block, a quantization parameter, and the like. Another object of the present invention is to provide a machine learning algorithm capable of precisely restoring an image on a specific region by assigning different weights and an image restoring method using the same.

In addition, another object of the present invention is to be applied to the image encoding step in consideration of the characteristic that the image quality of the reconstructed image is improved by the machine learning algorithm, so that the reconstructed image of the improved image quality is used for prediction of the adjacent frame image during image encoding. Therefore, it is to provide a machine learning algorithm that can increase the compression rate and an image restoration method using the same.

According to an aspect of the present invention, there is provided an image restoration method for restoring an image deteriorated by an image compression by an image encoder. The image restoration method uses a predetermined machine learning algorithm. A training step of deriving a set of optimal machine learning parameter values for improving image quality from the compressed information, the degraded image, and the original image; An inference step of restoring image quality by applying a set of parameter values determined in the learning step by using the deteriorated image and the compressed information reconstructed in the process of decoding from the compressed data as input values of the machine learning algorithm; The image encoder may include image segmentation information including block information, which is a unit for encoding an image during image compression, and location information at which blocking artifacts occur, and each block unit in an intra prediction mode. Extracts the compressed information including the intra prediction information determined by the step information, the motion vector information determined in the inter prediction mode, and the quantization parameter information generating the quantization parameter information applied during the quantization, and extracts the compressed information. The algorithm determines a difference value between the deteriorated image and the original image. After the calculation, a loss function is applied to reduce the calculated difference, and the objective function is obtained by assigning different weights according to image segmentation information which is a unit of image coding in the compressed information, and then calculating the difference value. The weight is formed to increase as the size of the divided block decreases,
The objective function is preferably defined by Equation 1 below.

delete

delete

[Equation 1]

Figure 112017040662325-pat00001

L: objective function, w: image width, h: image height, D: degraded image, G: original image, Mi: matrix of image sizes with values of '0' or '1', Wi: weight

In addition, in the present invention, the machine learning algorithm is applied to a video encoder operated by a compression standard of H.262 and HEVC, which is a known deblocking filter, SAO (Sample AdaptiveOffset), and ALF (Adaptive Loop Filter). It is preferable to replace any one so that the reconstructed image is used for prediction of the adjacent frame image.

In the present invention, it is preferable that the machine learning algorithm is applied to an image encoder to be used as post-processing of an image reconstructed in a predetermined manner so that the reconstructed image is used for prediction of an adjacent frame image.

delete

According to the present invention having the above-mentioned problems and solving means, by using the compressed information and deteriorated image as input data, by using a machine learning algorithm aiming to restore the original image, by learning the optimal model corresponding to various compressed information It is configured to derive the image reconstruction power and compression ratio can be significantly improved by applying the optimal model corresponding to the compressed information when the image is reconstructed.

In addition, according to the present invention, in constructing a loss function that is a function for obtaining a difference value between the reconstructed image and the original image during learning, different weights are provided in units of blocks according to the block size, the inter / intra prediction mode of the block, the quantization parameter, and the like. By assigning, it is possible to precisely perform image restoration on a specific area.

In addition, the present invention is configured to be applied to the image encoding step in consideration of the characteristic that the image quality of the reconstructed image is improved by the machine learning algorithm. It can increase.

1 is a block diagram illustrating a decoding structure diagram of H. 264.
2 is a block diagram illustrating a typical video encoding apparatus for explaining the present invention.
3 is a block diagram illustrating a process of extracting compressed information by the subtractor of FIG. 2.
4 is a flowchart showing an image restoration method according to an embodiment of the present invention.
FIG. 5 is an exemplary diagram for describing formatting of block structure information (CU) which is one of image segmentation information of HEVC among the image segmentation information in the learning step of FIG. (B) is an illustration which shows the image which marked the specific value on the boundary surface of the image of (a).
FIG. 6 (a) is an exemplary diagram showing an input image divided into blocks according to CU information, and (b) shows a weight '1' in an area divided into 32 × 32 blocks in the image of (a) by the objective function. (C) is an exemplary diagram showing when the weight '1' is assigned to an area divided into 32 × 32 blocks in the image of (a) by the objective function, (d) ) Is an exemplary diagram showing when a weight '1' is assigned to an area divided into 32 × 32 blocks in the image of (a) by the objective function.
(A) of FIG. 7 is an exemplary diagram showing an original image, (b) is an exemplary diagram showing an image degraded during image compression, and (c) is a deblocking filter of a known HEVC and an image reconstructed by SAO. (D) is an illustration showing an image reconstructed by the present invention.

Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention.

2 is a block diagram illustrating a typical video encoding apparatus for explaining the present invention.

The image encoding apparatus 200 needs to be decoded and stored in order to be used as a reference image by performing inter prediction encoding, that is, inter-frame prediction encoding.

Accordingly, the quantized coefficients are inversely quantized by the inverse quantizer 260 and inversely transformed by the inverse transformer 270. The inverse quantized and inverse transformed coefficients are added to the prediction block through the adder 275, and a reconstruction block is generated.

The reconstruction block passes through the filter unit 280, and the filter unit 280 applies at least one or more of a deblocking filter, a sample adaptive offset (SAO), and an adaptive loop filter (ALF) to the reconstruction block or the reconstruction picture. Can be.

 The filter unit 280 may be called an adaptive in-loop filter. The deblocking filter may remove block distortion or blocking artifacts generated at the boundary between blocks.

In addition, the subtractor 225, the transformer 235, and the quantizer 245 compress an image by detecting a difference value due to a difference between an input block and a generated prediction block, and then quantizing and storing the detected difference value. . In this case, compressed information (information on a difference value and a difference value) is stored in a stream in which the compressed image is stored.

3 is a block diagram illustrating a process of extracting compressed information by the subtractor of FIG. 2.

The subtractor 225 extracts the compressed information through the compressed information extraction step (S220).

As shown in FIG. 3, the compressed information extracting step S220 includes an image segmentation information extracting step 2210, an intra prediction information extracting step S2220, an inter prediction information extracting step S2230, and a quantization parameter information extracting step ( S2230) at least one or more.

The image segmentation information extraction step S2210 extracts the image segmentation information that is the structure information of the block which is the unit for encoding the image during the image compression by the compression step S210. In this case, the image segmentation information includes a coding unit (CU), a prediction unit (PU), and a transform unit (TU) information.

In this case, since the known image encoder 200 encodes an image in units of blocks during image compression, a blocking artifact occurs on the boundary of the block during the compression process. Accordingly, in the present invention, the image segmentation information, which is the structure information of the block, is extracted in consideration of the characteristics indicating the position of the boundary surfaces of the blocks. The image segmentation information may be utilized when the image is restored by the restoration method S1.

The intra prediction information extraction step (S2220) is a step of extracting the intra prediction information determined in each image segmentation information unit in the intra prediction mode in the compression step S210.

The inter prediction information extraction step S2230 is a step of extracting motion vector information determined in an inter prediction mode in the compression step S220.

The quantization parameter information extraction step S2230 is a step of extracting quantization parameter information applied when quantization is performed in the compression step S220.

In this case, the quantization parameter is important information for determining how much the original image is to be compressed. In general, when the quantization parameter value is large, the compression ratio increases, but the compressed image quality decreases. In other words, there is a close relationship between the quantization parameter and the degree of degradation of the compressed image.

That is, the information including at least one or more of the image segmentation information, the intra prediction information, the inter prediction information, and the quantization parameter information extracted by the compressed information extraction step S220 is called compressed information.

4 is a flowchart showing an image restoration method according to an embodiment of the present invention.

According to an embodiment of the present invention, an image reconstruction method (S1) uses compressed information, a decoded image (input image, a degraded image), or a reconstructed image as input data, and machine learning using the original image as output data. It is to improve the image resilience and compression rate by filtering the image based on the optimal filter value by improving the filtering technique of the in-loop filter used in the image reconstruction using the machine algorithm. .

In this case, various algorithms such as a linear regression artificial neural network and a support vector machine can be applied to the machine learning algorithm.

In addition, the machine learning algorithm may be used to detect the degraded region in the image or to restore the image from the compressed information input together with the degraded image.

In this case, the information output to the machine learning algorithm may be an image of which image quality is restored, or a feature vector for restoring image quality, or a residual image added to a deteriorated image.

In addition, as shown in FIG. 4, the image restoration method S1 includes a learning step S10, an image decoding limit S20, an input step S30, and an inference step S40.

In the learning step S10, the compressed information, the degraded image, and the original projection are extracted in advance from a large amount of image data and used as input data. In this case, the learning step S10 is a separate process not included in the image encoding and decoding process.

In addition, in the learning step S10, the compressed information and the deteriorated image are input data, and a model, which is a mapping relation between the compressed information and a given image, is given using a predetermined machine learning algorithm aimed at restoring the original image. Learn from a large number of data. In this case, the machine learning algorithm trains the model so that the input image is output as close as possible to the target image.

At this time, a variety of methods and techniques may be applied as a formatting method for using the compressed information as input data in the machine learning model in the learning step (S10). Let's explain.

FIG. 5 is an exemplary diagram for describing formatting of block structure information (CU) which is one of image segmentation information of HEVC among the image segmentation information in the learning step of FIG. 4, and (a) divides an input image into the size of a CU block. (B) is an illustration which shows the image which marked the specific value on the boundary surface of the image of (a).

In general, since image compression is performed by dividing an image into block units and then compressing them into divided block units, different blocking parameters are used for each block, and thus blocking artifacts occur in which unnatural tomographic planes occur at the boundary of blocks. Will appear.

In the present invention, in consideration of the characteristic that the block structure information (CU), which is one of the image segmentation information included in the compressed information, may indicate location information at which a blocking artifact occurs, as shown in FIG. After generating a matrix having the same size as the input image, as shown in (b) it is used as the input value of the model by marking the boundary of the block detected through the block structure information as a specific value.

The machine learning algorithm defines the loss function in the direction of reducing the difference after obtaining the difference between the image reconstructed by the model and the original image.

The loss function applied to the machine learning algorithm of the present invention is a modification of the Mean Squared Error function, which is a loss function that is typically used for image reconstruction. In one embodiment, a coding unit is used. It can be configured to give a greater weight to the area determined by the small block in.

The reason for this is that a region having a small size of the block structure information (CU), which is image segmentation information, has many characteristics in the image encoding process, so that when a difference value is calculated, a larger weight is given to a region having many high frequency components. It is possible to calculate a precise difference value for the component, and accordingly, the machine learning algorithm can improve the image quality of the reconstructed image by learning in a direction in which the reconstruction of the small area of the block structure information CU is better. .

The objective function applied to the learning step S10 of the present invention will be described in detail with reference to the following equations.

The objective function of the present invention is defined by the following equation.

Figure 112017040662325-pat00002

Where L is the objective function, w is the image width, h is the image height, D is the degraded image, G is the original image, Mi is a matrix of image sizes with values of '0' or '1', Wi is a weight.

That is, the loss function applied to the learning step (S10) of the present invention assigns different weight (Wi) values only to a specific area so as to give different weights according to the size of the block. By assigning '0', the difference value can be calculated with different weights when calculating the difference value of each block area.

FIG. 6 (a) is an exemplary diagram illustrating an input image divided into blocks according to a CU, and (b) is a weight '1' in an area divided into 32 × 32 blocks in the image of (a) by an objective function. (C) is an exemplary diagram showing when the weight '1' is assigned to a region divided into 32x32 blocks in the image of (a) by the objective function, (d) Is an exemplary diagram showing when a weight '1' is assigned to a region divided into 32x32 blocks in the image of (a) by the objective function.

The objective function applied to the learning step (S10) of the present invention assumes that the CU is partitioned as shown in (a) of FIG. 6, the region M_0 divided into 32 × 32 blocks as shown in (b). A weight of 1 'may be given, and a weight of' 0 'may be given to the remaining area.

In addition, as shown in (c), the objective function may assign a weight of '2' to the region M_1 divided into 16 × 16 blocks, and give a weight of '0' to the remaining regions.

In addition, as shown in (d), the objective function may assign a weight of '3' to the region M_2 divided into 8 × 8 blocks, and may assign a weight of '0' to the remaining regions.

By assigning a weight '3' to the area M_2 having the smallest block size (area with many high frequency components), a precise difference value can be calculated for the high frequency component, thereby significantly improving the quality of the reconstructed image.

As described above, the learning step (S10) of the present invention uses the compressed information and the deteriorated image as input data, and learns the mapping relationship between the input image and the target image by using a machine learning algorithm aiming to restore the original image. At the same time, it is configured to calculate the difference value by assigning different weights according to the block size, thereby effectively removing the blocking artifact during image reconstruction, thereby maximizing image resilience.

4 again referring to the image decoding step S20, the image decoding step S20 is a step of reconstructing the image by releasing the compressed data that has already been compressed.

At this time, the image decoding step S20 inputs the reconstructed image (degraded image) and the compressed information included in the compressed data into the input step S30.

The input step S30 is a step of receiving the deteriorated image and the compressed information restored from the image decoding step S20.

The inference step S40 is a step of reconstructing the image by performing image filtering by applying the input data input from the input step S30 to the model learned by the learning step S10.

(A) of FIG. 7 is an exemplary diagram showing an original image, (b) is an exemplary diagram showing an image degraded during image compression, and (c) is a deblocking filter of a known HEVC and an image reconstructed by SAO. (D) is an illustration showing an image reconstructed by the present invention.

Looking at the present invention with reference to Figure 7, the deteriorated image of (b) compared to the original image of (a) not only the image quality is deteriorated, but also a blocking phenomenon remains, it can be seen that the wave-shaped artifacts are formed. .

In addition, as shown in (c), the deblocking filter of the known HEVC and the image reconstructed by SAO show that the blocking phenomenon is partially removed compared to the deteriorated image of (b), but compared with the original image of (a). It can be seen that not only the image quality deteriorates but also a lot of blocking and wave-like artifacts are formed.

In addition, as in (d), the reconstructed image to which the image reconstruction method (S1) of the present invention is applied not only has improved image quality when compared with (b) and (c), but also significantly reduces blocking and wave-like artifacts. It can be seen that.

Table 1 below is an experimental value to indicate the case of using the CU information as in the present invention, and the case of not using.

Figure 112017040662325-pat00003

In Table 1, the residual block is a value proportional to the number of layers of the neural network in the neural network algorithm.

In addition, the average PSNR of the input image (deteriorated image) used in the experiment is 30.247 (db), and the PSNR of the image reconstructed by the in-loop filter (deblocking filter and SAI) of HEVC is 30.517 (db).

As shown in Table 1, when image restoration is performed without utilizing CU information, which is one of the image segmentation information, the signal-to-noise ratio (PSNR) is '31 .151 (db) 'when the number of residual blocks is five. When the gain is measured as' 0.905 (db) 'and the CU information is used under the same conditions, the signal-to-noise ratio (PSNR) is '31 .233 (db)' and the gain is' 0.986 '. (db) 'can be seen.

That is, the signal-to-noise ratio (PSNR) and the gain (gain) improved by '0.081 (db)' when using the CU information.

In addition, when image restoration is performed without using CU information, the signal-to-noise ratio (PSNR) is '31 .222 (db) 'for 15 residual blocks, and the PSNR gain (0.9) (0.9) compared to the input image is 0.97 (db). In the case of using CU information under the same conditions, it can be seen that the signal-to-noise ratio (PSNR) is measured as '31 .303 (db) 'and the gain is measured as' 1.056 (db)'.

That is, when the CU information is used, the signal-to-noise ratio (PSNR) and the PSNR gain compared to the input image are improved by '0.081 (db)'.

In addition, the machine learning algorithm of the present invention is applied to the image encoding step, and in detail, to the filter unit 260 of the image encoder 100 of FIG. 2, and thus, a conventional deblocking filter and a sample adaptive offset. ) Can be configured to replace

If the machine learning algorithm of the present invention is applied to the filter unit 260 of the image encoder, as described above with reference to FIGS. 4 to 6, the image quality of the reconstructed image is improved. Due to the excellent image quality, the compression rate can be significantly increased.

In addition, the machine learning algorithm may be configured to be applied to post-processing of the reconstructed image according to a conventionally known method and to utilize the reconstructed image for prediction of adjacent frame images.

In other words, the machine learning algorithm of the present invention may be configured to be applied only to an image decoder or 2) to both an image decoder and an image encoder. Objectives and effects can be expected, and if applied to the composition 2) can not only improve the image resilience but also can be expected to achieve the purpose and effect of increasing the compression ratio.

As described above, the image restoration method S1 according to an embodiment of the present invention uses compressed information and a degraded image as input data, and an optimal model corresponding to various compressed information using a machine learning algorithm aiming to restore the original image. It is configured to learn and derive by itself, so that the image resilience and compression rate can be remarkably improved by applying an optimal model corresponding to the compressed information during image reconstruction.

In addition, the image restoration method (S1) of the present invention in the configuration of a loss function that is a function for obtaining a difference value between the restored image and the original image during learning, restoring the image for a specific region by assigning different weights according to the size of the block Can be performed precisely.

S1: Image Restoration Method S10: Learning Steps
S20: Image decoding step S30: Input step
S40: Inference step S2210: Image segmentation information extraction step
S2220: extracting intra prediction information S2230: extracting inter prediction information S2240: generating quantization parameter

Claims (6)

In an image restoration method for restoring an image degraded by image compression by an image encoder:
The image restoration method
A training step of deriving a set of optimal machine learning parameter values for improving image quality from compressed information, a degraded image, and an original image by using a preset machine learning algorithm;
An inference step of restoring image quality by applying a set of parameter values determined in the learning step by using the deteriorated image and the compressed information reconstructed in the process of decoding from the compressed data as input values of the machine learning algorithm; ,
The video encoder
Image segmentation information including block information, which is a unit for encoding an image during image compression, and location information in which blocking artifacts occur, and intra prediction information determined in units of blocks in an intra prediction mode. And compressed information including motion vector information determined in an inter prediction mode and quantization parameter information for generating quantization parameter information applied during quantization,
The machine learning algorithm
After calculating a difference value between the deteriorated image and the original image, a loss function is applied to reduce the calculated difference value.
The objective function is formed to increase as the size of the block in which the weight is divided decreases by assigning different weights according to image segmentation information which is a unit of image coding in the compressed information, and calculating a difference value.
The objective function is defined by Equation 1 below.
[Equation 1]
Figure 112019076373202-pat00004

L: objective function, w: image width, h: image height, D: degraded image, G: original image, Mi: matrix of image sizes with values of '0' or '1', Wi: weight
delete delete The method according to claim 1, wherein the machine learning algorithm is applied to a video encoder that is operated as a compression standard of known H.262, HEVC, and the like. And a reconstructed image is used for prediction of an adjacent frame image by replacing one of the filters. The image reconstruction of claim 4, wherein the machine learning algorithm is applied to the image encoder to post-process an image reconstructed in a predetermined manner so that the reconstructed image is used for prediction of an adjacent frame image. Way. delete
KR1020170053284A 2017-04-26 2017-04-26 Machine learning algorithm using compression parameter for image reconstruction and image reconstruction method therewith KR102053242B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020170053284A KR102053242B1 (en) 2017-04-26 2017-04-26 Machine learning algorithm using compression parameter for image reconstruction and image reconstruction method therewith
PCT/KR2018/002470 WO2018199459A1 (en) 2017-04-26 2018-02-28 Image restoration machine learning algorithm using compression parameter, and image restoration method using same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170053284A KR102053242B1 (en) 2017-04-26 2017-04-26 Machine learning algorithm using compression parameter for image reconstruction and image reconstruction method therewith

Publications (2)

Publication Number Publication Date
KR20180119753A KR20180119753A (en) 2018-11-05
KR102053242B1 true KR102053242B1 (en) 2019-12-06

Family

ID=63920310

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170053284A KR102053242B1 (en) 2017-04-26 2017-04-26 Machine learning algorithm using compression parameter for image reconstruction and image reconstruction method therewith

Country Status (2)

Country Link
KR (1) KR102053242B1 (en)
WO (1) WO2018199459A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102322125B1 (en) * 2020-05-19 2021-11-04 국방과학연구소 Parameter estimation method for decompression of compressed data
KR20220148470A (en) 2021-04-29 2022-11-07 주식회사 딥브레인에이아이 Method for generating data of using machine learning and computing device for executing the method

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110139109B (en) * 2018-02-08 2023-01-10 北京三星通信技术研究有限公司 Image coding method and corresponding terminal
KR102192980B1 (en) 2018-12-13 2020-12-18 주식회사 픽스트리 Image processing device of learning parameter based on machine Learning and method of the same
KR102212442B1 (en) * 2018-12-13 2021-02-04 주식회사 픽스트리 Image processing device of learning parameter based on machine Learning and method of the same
KR20200084516A (en) 2019-01-03 2020-07-13 삼성전자주식회사 Display apparatus, apparatus for providing image and method of controlling the same
KR102154424B1 (en) 2019-01-18 2020-09-10 한국항공대학교산학협력단 Advanced system and method for video compression
KR102675806B1 (en) * 2019-05-03 2024-06-18 삼성전자주식회사 Image processing apparatus and image processing method thereof
KR102652117B1 (en) 2019-07-10 2024-03-27 삼성전자주식회사 Image processing method and image processing system
KR102245682B1 (en) 2019-11-11 2021-04-27 연세대학교 산학협력단 Apparatus for compressing image, learning apparatus and method thereof
CN117197615A (en) * 2019-12-09 2023-12-08 杭州海康威视数字技术股份有限公司 Model training method, feature extraction method and device
CN112004088B (en) * 2020-08-06 2024-04-16 杭州当虹科技股份有限公司 CU-level QP allocation algorithm suitable for AVS2 encoder
CN116194957A (en) * 2020-09-28 2023-05-30 现代自动车株式会社 Inter-frame prediction method based on variable coefficient deep learning
CN114827630B (en) * 2022-03-11 2023-06-06 华南理工大学 CU depth division method, system, device and medium based on frequency domain distribution learning
KR102604657B1 (en) 2022-03-30 2023-11-20 연세대학교 산학협력단 Method and Apparatus for Improving Video Compression Performance for Video Codecs
CN118135352A (en) * 2024-01-30 2024-06-04 国网冀北电力有限公司信息通信分公司 Training method of image restoration model, image restoration method and related equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010514246A (en) * 2006-12-18 2010-04-30 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Image compression and decompression

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5597968B2 (en) * 2009-07-01 2014-10-01 ソニー株式会社 Image processing apparatus and method, program, and recording medium
JP6029984B2 (en) * 2010-03-09 2016-11-24 トムソン ライセンシングThomson Licensing Method and apparatus for classification-based loop filter
US20130182768A1 (en) * 2010-09-30 2013-07-18 Korea Advanced Institute Of Science And Technology Method and apparatus for encoding / decoding video using error compensation
KR101418096B1 (en) * 2012-01-20 2014-07-16 에스케이 텔레콤주식회사 Video Coding Method and Apparatus Using Weighted Prediction

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010514246A (en) * 2006-12-18 2010-04-30 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Image compression and decompression

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102322125B1 (en) * 2020-05-19 2021-11-04 국방과학연구소 Parameter estimation method for decompression of compressed data
KR20220148470A (en) 2021-04-29 2022-11-07 주식회사 딥브레인에이아이 Method for generating data of using machine learning and computing device for executing the method

Also Published As

Publication number Publication date
KR20180119753A (en) 2018-11-05
WO2018199459A1 (en) 2018-11-01

Similar Documents

Publication Publication Date Title
KR102053242B1 (en) Machine learning algorithm using compression parameter for image reconstruction and image reconstruction method therewith
JP5396478B2 (en) Video coding method using adaptive loop filter
KR102024516B1 (en) Image encoding device, image decoding device, image encoding method, image decoding method and recording medium
EP2755388B1 (en) Method, device, and program for encoding and decoding image
KR102244315B1 (en) Method and Apparatus for image encoding
TWI555342B (en) Method of removing deblocking artifacts
JP5194119B2 (en) Image processing method and corresponding electronic device
TWI521947B (en) Image processing apparatus, method and program, image coding apparatus, method and program, image decoding apparatus, method and program, and encoding and decoding system and method
US20110069752A1 (en) Moving image encoding/decoding method and apparatus with filtering function considering edges
JP2003244702A (en) Filtering method and apparatus for removing blocking artifact
KR20190073553A (en) Low complexity mixed domain cooperative in-loop filter for lossy video coding
JP2006229411A (en) Image decoder and image decoding method
US20130022099A1 (en) Adaptive filtering based on pattern information
KR20130108948A (en) Image encoding method using adaptive preprocessing
KR20130053645A (en) Method and apparatus for video encoding/decoding using adaptive loop filter
KR20170114598A (en) Video coding and decoding methods using adaptive cross component prediction and apparatus
KR102253173B1 (en) Apparatus and method for encoding and decoding to image of ultra high definition resoutltion
KR101223780B1 (en) Compressed image noise removal device and reproduction device
CN115567710A (en) Data encoding method and apparatus, and method and apparatus for decoding data stream
JP6174966B2 (en) Image coding apparatus, image coding method, and program
JP5885886B2 (en) Image analysis apparatus and image analysis method
Yang et al. A novel SAO-based filtering technique for reduction in temporal flickering artifacts in H. 265/HEVC
KR20140043015A (en) Method and apparatus for image encoding
CN112352435B (en) In-loop deblocking filter apparatus and method for video coding and decoding
KR20110069482A (en) Method for a motion estimation based on a variable size block matching and video encoding apparatus using the same

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant