KR102020953B1 - Image Reencoding Method based on Decoding Data of Image of Camera and System thereof - Google Patents

Image Reencoding Method based on Decoding Data of Image of Camera and System thereof Download PDF

Info

Publication number
KR102020953B1
KR102020953B1 KR1020170045531A KR20170045531A KR102020953B1 KR 102020953 B1 KR102020953 B1 KR 102020953B1 KR 1020170045531 A KR1020170045531 A KR 1020170045531A KR 20170045531 A KR20170045531 A KR 20170045531A KR 102020953 B1 KR102020953 B1 KR 102020953B1
Authority
KR
South Korea
Prior art keywords
image
encoding
unit
distortion
information
Prior art date
Application number
KR1020170045531A
Other languages
Korean (ko)
Other versions
KR20180113868A (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 KR1020170045531A priority Critical patent/KR102020953B1/en
Publication of KR20180113868A publication Critical patent/KR20180113868A/en
Application granted granted Critical
Publication of KR102020953B1 publication Critical patent/KR102020953B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
    • 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/146Data rate or code amount at the encoder output
    • H04N19/147Data rate or code amount at the encoder output according to rate distortion criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation

Abstract

본 발명 카메라 영상의 복호화 정보 기반 영상 재 부호화 시스템은 카메라에서 전송되는 압축스트림을 입력받아 복원 영상을 출력하여 영상 부호화부로 전송하며 복호화 정보를 출력하여 재 부호화 결정부로 전송하는 영상 복호화부와, 영상 복호화부에서 전송된 복호화 정보를 수신하고 상기 복호화 정보를 참조하여 재 부호화 방법를 결정하고 결정된 재 부호화 방법을 영상 부호화부로 전송하는 재 부호화 결정부와, 영상 복호화부로부터 복원 영상을 수신하고 재 부호화 결정부로부터 전달받은 재 부호화 방법을 참조하여 복원 영상을 재 부호화하는 것으로 율-왜곡 측정부로부터 수신된 대역폭(비트율)과 화질(왜곡) 정보를 참조하여 영상을 재 부호화하고 재 부호화 영상과 압축스트림을 율-왜곡 측정부로 전송하는 영상 부호화부와, 영상 부호화부로터 수신한 재 부호화 영상의 화질과 압축스트림의 대역폭(비트율)을 측정하고 측정된 화질과 대역폭(비트율)을 영상 부호화부로 전송하는 율-왜곡 측정부로 구성된 것을 특징으로 하는 것이다.The video recoding system based on the decoding information of the camera image of the present invention receives a compressed stream transmitted from a camera, outputs a reconstructed image, and transmits the reconstructed image to the image encoding unit. A re-encoding determiner for receiving the decoded information transmitted from the decoder, determining a re-encoding method with reference to the decoded information, and transmitting the determined re-encoding method to the image encoder, and receiving a reconstructed image from the image decoder, Re-encoding the reconstructed image by referring to the received re-encoding method. Re-encoding the image by referring to the bandwidth (bit rate) and image quality (distortion) information received from the distortion measuring unit, and rate the re-encoded image and the compressed stream. An image encoder for transmitting the distortion measurement unit, and an image encoder Rate for transmitting the measured rotor bandwidth (bit rate) of the re-encoded picture quality and compression of the video stream and measures the received quality and the bandwidth (bit rate), image coding portion-to-part wherein the distortion measure.

Description

카메라 영상의 복호화 정보 기반 영상 재 부호화 방법 및 이를 이용한 영상 재부호화 시스템{Image Reencoding Method based on Decoding Data of Image of Camera and System thereof}Image Reencoding Method Based on Decoding Information of Camera Image and Image Recoding System Using the Same [Image Reencoding Method based on Decoding Data of Image of Camera and System]

현재 카메라, 디스플레이장치 및 저장 공간 장치의 발달로 인하여 시중에서 유통되는 영상 콘텐츠의 해상도는 지속적으로 커지고 있는 것이다. 과거에는 약 30만 화소 정도의 SD(720x480)급 해상도의 콘텐츠가 주였으나 현재는 200만 화소가 넘는 FullHD(1920x2160)급 해상도의 콘텐츠와 800만 화소를 넘는 UHD(3840x2160)와 4K(4096x2160)급 해상도의 콘텐츠가 활발히 유통되고 있는 것이다. 또한, 모바일 단말기가 발달함에 따라 언제 어디서든지 고화질 영상을 서비스받고자 하는 수요가 점점 증가하고 있는 현실이다. 따라서 상기와 같은 고화질의 영상을 서비스하면서도 네트워크에 대역폭의 부담을 줄일필요가 있는 것이다.Due to the development of cameras, display devices, and storage devices, the resolution of video contents on the market is continuously increasing. In the past, content of SD (720x480) resolution of about 300,000 pixels was mainly used, but content of FullHD (1920x2160) resolution of more than 2 million pixels and UHD (3840x2160) and 4K (4096x2160) level of over 8 million pixels Resolution content is actively being distributed. In addition, with the development of mobile terminals, the demand for high-definition video services anytime, anywhere is increasing. Therefore, it is necessary to reduce the burden of bandwidth on the network while serving the above high quality video.

본 발명과 관련된 종래의 기술은 대한민국 공개 특허 제10-2016-0051356호(2016. 05. 11. 공개)에 개시되어 있는 것이다. 도 1은 상기 종래의 이미지 재 부호화장치 구성도이다. 상기도 1에서 복호화부(1300)는 엔트로피 복호화부(1310), 역 양자화부(1320) 및 역 변환부(1330)를 포함할 수 있다. 상기 엔트로피 복호화부(1310)는 부호화 이미지 파일(1305)을 파싱하여 복호화 대상인 부호화된 이미지 및 복호화를 위해 필요한 부호화 정보를 획득한다. 엔트로피 복호화부(1310)는 부호화 이미지 파일(1305)의 헤더를 엔트로피 복호화하여 부호화된 이미지를 역양자화하기 위한 제1양자화 행렬을 획득할 수 있다. 또한 엔트로피 복호화부(1310)는 부호화 이미지 파일(1305)의 부호화 이미지를 엔트로피 복호화하여 블록 단위로 생성된 양자화된 변환 계수를 획득할 수 있다. 역 양자화부(1320)는 블록 단위로 생성된 양자화된 변환 계수를 제1양자화 행렬에 포함된 제1양자화 파라미터를 이용하여 역 양자화하여 변환 계수를 복원한다. 역 변환부(1330)는 역 양자화부(1320)에서 복원된 변환 계수를 역 변환하여 복원 이미지(340)를 획득한다. 역변환부(1330)는 역 이산 코사인 변환(Inverse Discrete Cosine Transform)에 의하여 변환 계수를 역변환할 수 있다. 복호화부(1300)에서 획득된 복원 이미지 파일은 재부호화부(1350)에 입력된다. 재부호화부(1350)는 변환부(1360), 양자화부(1370) 및 엔트로피 부호화부(1380)를 포함할 수 있다. 변환부(1360)는 복원 이미지(1340)를 블록 단위로 변환하여 생성된 변환 계수를 출력할 수 있다. 예를 들면, 변환부(1360)는 복원 이미지를 8×8 픽셀 블록 단위로 이산 코사인 변환(Discrete Cosine Transform)하여 변환 계수를 출력할 수 있다. 양자화부(1370)는 변환부(1360)에서 출력된 변환 계수를 제2양자화 행렬을 이용하여 양자화하고 양자화된 변환 계수를 엔트로피 부호화부(1380)로 출력할 수 있다. 엔트로피 부호화부(1380)는 양자화된 변환 계수에 엔트로피 부호화를 수행하여 재부호화 이미지 파일(1395)을 생성할 수 있다. 엔트로피 부호화가 수행되는 경우, 높은 발생 빈도를 갖는 심볼에 적은 수의 비트가 할당되고 낮은 발생 빈도를 갖는 심볼에 많은 수의 비트가 할당될 수 있다. 따라서 이 경우 심볼들을 나타내는 비트열들을 포함하는 비트스트림의 길이는 심볼들에 임의로 비트열을 할당하는 경우보다 짧아질 수 있다. 따라서 엔트로피 부호화를 통해서 영상 부호화의 압축 성능이 높아질 수 있다. 일 실시 예에 따른 엔트로피 부호화부(1380)는 엔트로피 부호화를 위해 VLC(variable Length Coding) 부호화 방법을 사용할 수 있는 것이다. The related art related to the present invention is disclosed in Korean Patent Publication No. 10-2016-0051356 (published on May 11, 2016). 1 is a block diagram of the conventional image re-encoding apparatus. In FIG. 1, the decoder 1300 may include an entropy decoder 1310, an inverse quantizer 1320, and an inverse transformer 1330. The entropy decoder 1310 parses the encoded image file 1305 to obtain an encoded image to be decoded and encoding information necessary for decoding. The entropy decoder 1310 may obtain a first quantization matrix for dequantizing the encoded image by entropy decoding a header of the encoded image file 1305. Also, the entropy decoder 1310 may entropy decode the encoded image of the encoded image file 1305 to obtain a quantized transform coefficient generated in units of blocks. The inverse quantizer 1320 inversely quantizes the quantized transform coefficients generated in units of blocks by using the first quantization parameter included in the first quantization matrix to restore the transform coefficients. The inverse transformer 1330 inversely transforms the transform coefficients reconstructed by the inverse quantizer 1320 to obtain a reconstructed image 340. The inverse transform unit 1330 may inversely transform the transform coefficients by an inverse discrete cosine transform. The reconstructed image file obtained by the decoder 1300 is input to the recoder 1350. The recoding unit 1350 may include a transform unit 1360, a quantization unit 1370, and an entropy encoder 1380. The converter 1360 may output the transform coefficients generated by converting the reconstructed image 1340 in units of blocks. For example, the transform unit 1360 may output a transform coefficient by performing discrete cosine transform on the reconstructed image in units of 8 × 8 pixels. The quantization unit 1370 may quantize the transform coefficients output from the transform unit 1360 using the second quantization matrix and output the quantized transform coefficients to the entropy encoder 1380. The entropy encoder 1380 may generate the recoded image file 1395 by performing entropy encoding on the quantized transform coefficients. When entropy encoding is performed, a small number of bits may be allocated to a symbol having a high frequency of occurrence and a large number of bits may be allocated to a symbol having a low frequency of occurrence. Therefore, in this case, the length of the bitstream including the bit strings representing the symbols may be shorter than in the case of randomly assigning the bit strings to the symbols. Therefore, compression performance of image encoding may be increased through entropy encoding. The entropy encoder 1380 according to an embodiment may use a variable length coding (VLC) encoding method for entropy encoding.

도 2는 종래의 영상 재 부호화 장치의 다른 실시 예이다. 상기도 2에서 종래의 영상 재 부호화 장치는 영상 복호화 장치와 영상 부호화 장치로 구성되고 상기 영상 복호화 장치는 압축스트림을 입력받아서 영상을 복원하는 것으로 압축(이진)스르림으로부터 Syntax를 복호화하는 모듈인 엔트로피 복호화부, 엔트로피 복호화부로부터 복호화된 Syntax 중 유효계수(잔차 신호 중 중요계수)를 역 양자화 역변환하여 잔차 신호를 복원하는 모듈인 역양자화/역변환부, 화소의 공간적 상관 관계를 이용하여 공간적 중복신호를 복원하는 모듈로서 현재 복호화하는 화소의 인접화소값으로부터 현재 화소값을 예측하는 공간예측부, 화소의 시간적 상관관계를 이용하여 시간적 중복신호를 복원하는 모듈로서 현재 복호화하는 프레임과 시간적으로 인접한 프레임으로부터 현재 복호화하는 화소의 값을 예측하는 움직임 보상부 및 복원한 화소의 복호화 정보를 참조하여 화소값을 필터링(변화)하는 모듈로서 이로 인해 화질이 개선되는 영상 필터링부로 구성될 수 있는 것이다. 또한, 상기 영상 부호화 장치는 영상을 입력받아 압축스트림을 출력하는 것으로 화소의 공간적 상관 관계를 이용하여 공간적 중복신호를 제거하는 모듈로서 현재 복호화하는 화소의 인접화소값으로부터 현재 화소값을 예측하는 공간예측부, 화소의 시간적 상관관계를 이용하여 시간적 중복신호를 제거하는 모듈로서 현재 복호화하는 프레임과 시간적으로 인접한 프레임으로부터 현재 복호화하는 화소의 값을 예측하는 움직임 추정부, 공간 예측부 또는 움직임 추정부롤 거쳐 중복 신호가 제거된 잔차신호를 주파수 영역으로 변환후 양자화화여 압축하는 모듈인 변환/양자화부, 변환 양자화부를 거친 유효계수와 공간 예측부, 움직임 추정부에서 결정된 Syntax를 부호화하는 모듈인 엔트로피 부호화부, 부호화 화소의 부호화 정보를 참조하여 화소 값을 필터링(변화)하는 모듈로서 이로 인해 화질이 개선되는 영상필터링부 및 움직임 추정부에서 참조할 시간적 인접 프레임들을 저장하는 참조 영상 버퍼로 구성될 수 있는 것이다. 상기에서 엔트로프 복호화부는 H.264의 경우 CAVLC와 CABAC 등의 엔트로피 복호화 방법이 있는 것이다. 또한, 상기에서 엔트로피 부호화부는 H.264의 경우 CAVLC와 CABAC 등의 부호화방법이 있는 것이다. 또한, 상기와 같이 구성된 종래의 영상 재 부호화 장치는 복호화 출력물인 복원 영상이 부호화 장치의 입력 영상이 되며, 또한 복호화 장치의 출력물인 압축스트림과 부호화 장치의 출력물인 압축스트림은 각기 다른 부호화 방식으로 부호화된 것으로 둘 간의 연관성은 없는 것이다. 2 is another embodiment of a conventional video re-coding apparatus. In FIG. 2, the conventional video recoding apparatus is composed of an image decoding apparatus and an image encoding apparatus, and the image decoding apparatus is a module that decodes a syntax from compression (binary) by recovering an image by receiving a compressed stream. The inverse quantization / inverse transform unit, which is a module for restoring the residual signal by inversely transforming an effective coefficient (an important coefficient of the residual signal) among the syntaxes decoded by the decoder and the entropy decoder, uses a spatial correlation of pixels A module for reconstructing. A spatial predictor for predicting a current pixel value from neighboring pixel values of a currently decoded pixel. A module for reconstructing a temporal overlapping signal using temporal correlation of pixels. Motion compensation to predict the value of the decoded pixel And refer to the decoded information of the restored pixel due to the pixel value which a module for filtering (change) that would be composed of a filtered image that the image quality is improved. In addition, the video encoding apparatus receives an image and outputs a compressed stream. The video encoding apparatus removes a spatial redundancy signal by using a spatial correlation of pixels, and predicts a current pixel value from adjacent pixel values of a pixel to be decoded. A module that removes a temporal redundant signal using a temporal correlation of pixels, and includes a motion estimator, a spatial predictor, or a motion estimator that predicts a value of a pixel to be currently decoded from a frame temporally adjacent to a currently decoded frame. A transform / quantizer which is a module for transforming the residual signal from which the redundant signal is removed into a frequency domain and then quantizes and compresses it, an entropy encoder which is a module that encodes the syntax determined by the effective coefficient and the spatial prediction unit and the motion estimation unit after the transform quantization unit, The pixel value is referred to by referring to encoding information of the encoding pixel. Sintering (change) see a module for Therefore storing the temporally adjacent frames to be referenced by the image filtering unit and the motion estimation quality is improved, which will be of a video buffer. In the case of H.264, the entropy decoding unit has an entropy decoding method such as CAVLC and CABAC. In addition, in the case of H.264, the entropy encoder includes an encoding method such as CAVLC and CABAC. In the conventional video re-encoding apparatus configured as described above, the reconstructed image, which is the decoding output, becomes the input image of the encoding apparatus, and the compressed stream, which is the output of the decoding apparatus, and the compressed stream, which is the output of the encoding apparatus, are encoded by different encoding schemes. There is no connection between the two.

상기와 같이 구성된 종래의 영상 재 부호화 방법은 영상 콘텐츠의 해상도를 크게 하면 영상의 대역폭을 증가시켜 시스템의 전송 대역폭을 증가시키는 문제점이 있는 것이다. 또한, 상기와 같은 종래 재 부호화 방법은 다수의 카메라에서 전송되는 영상을 다수의 사용자에게 언제 어디서나 고화질의 영상 콘텐츠를 제공하기 어려움 문제점이 있는 것이다. 따라서 본 발명의 목적은 다수의 카메라가 접속되는 감시 시스템에서 고화질의 영상 콘텐츠를 다수의 이용자에게 전송하면서도 영상 대역폭을 절감하기 위한 방법을 제공하기 위한 것이다.The conventional video recoding method configured as described above has a problem of increasing the transmission bandwidth of the system by increasing the bandwidth of the image when the resolution of the image content is increased. In addition, the conventional re-encoding method as described above has a problem that it is difficult to provide high-definition image content to a plurality of users anytime, anywhere the image transmitted from a plurality of cameras. Accordingly, an object of the present invention is to provide a method for reducing video bandwidth while transmitting high quality video contents to a plurality of users in a surveillance system to which a plurality of cameras are connected.

상기와 같은 목적을 가진 본 발명 카메라 영상의 복호화 정보 기반 영상 재 부호화 시스템은 카메라에서 전송되는 압축스트림을 입력받아 복원 영상을 출력하여 영상 부호화부로 전송하며 복호화 정보를 출력하여 재 부호화 결정부로 전송하는 영상 복호화부와, 영상 복호화부에서 전송된 복호화 정보를 수신하고 상기 복호화 정보를 참조하여 재 부호화 방법를 결정하고 결정된 재 부호화 방법을 영상 부호화부로 전송하는 재 부호화 결정부와, 영상 복호화부로부터 복원 영상을 수신하고 재 부호화 결정부로부터 전달받은 재 부호화 방법을 참조하여 복원 영상을 재 부호화하는 것으로 율-왜곡 측정부로부터 수신된 대역폭(비트율)과 화질(왜곡) 정보를 참조하여 영상을 재 부호화하고 재 부호화 영상과 압축스트림을 율-왜곡 측정부로 전송하는 영상 부호화부와, 영상 부호화부로터 수신한 재 부호화 영상의 화질과 압축스트림의 대역폭(비트율)을 측정하고 측정된 화질과 대역폭(비트율)을 영상 부호화부로 전송하는 율-왜곡 측정부로 구성된 것을 특징으로 하는 것이다.The video recoding system based on the decoding information of the camera image of the present invention having the above object receives the compressed stream transmitted from the camera, outputs a reconstructed image, and transmits the reconstructed image to the image encoding unit, and outputs the decoding information to the recoding determination unit. A decoding unit, a recoding determination unit receiving the decoding information transmitted from the image decoding unit, determining a recoding method with reference to the decoding information, and transmitting the determined recoding method to the image encoding unit, and receiving a reconstructed image from the image decoding unit. And re-encoding the reconstructed image by referring to the re-encoding method received from the re-encoding determination unit, re-encoding the image by referring to the bandwidth (bit rate) and image quality (distortion) information received from the rate-distortion measurement unit. To transmit the compression and compression stream to the rate-distortion measurement unit. And a rate-distortion measurement unit for measuring the image quality and the bandwidth (bit rate) of the compressed stream received from the image encoder and transmitting the measured image quality and bandwidth (bit rate) to the image encoder. will be.

상기와 같이 구성된 본 발명 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법 및 이를 이용한 영상 재 부호화 시스템은 영상 재 부호화에 소요되는 시간을 줄여주어 고속 실행이 가능하도록 하며, 또한 재 부호화 영상의 목표 대역폭(비트율)에서 최적을 화질을 제공할 수 있는 효과가 있는 것이다. 또한, 본 발명의 다른 효과는 다수의 카메라가 접속되는 감시 시스템에서 네트워크의 대역폭 부담을 줄여서 원활한 영상 서비스 환경을 제공할 수 있는 효과가 있는 것이다.The video recoding method based on the decoding information of the camera image and the video recoding system using the same according to the present invention configured as described above can reduce the time required for video recoding, thereby enabling high speed execution, and also target bandwidth (bit rate) of the recoded video. ) Will provide the best picture quality. In addition, another effect of the present invention is to reduce the bandwidth burden of the network in a surveillance system to which a plurality of cameras are connected to provide a smooth video service environment.

도 1은 종래의 이미지 재 부호화장치 구성도,
도 2는 종래의 다른 실시 예 이미지 재 부호화장치 구성도,
도 3은 본 발명 카메라 영상의 복호화 정보 기반 영상 재 부호화 시스템 구성도,
도 4는 본 발명 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법의 제어 흐름도,
도 5는 본 발명에 적용되는 복원 영상의 저화질 영역의 재 부호화 방법에 대한 제어 흐름도 이다.
1 is a block diagram of a conventional image re-encoding apparatus;
2 is a configuration diagram of another conventional image re-coding apparatus;
3 is a block diagram of a video recoding system based on decoding information of a camera image according to the present invention;
4 is a control flowchart of a decoding information-based image re-coding method of a camera image of the present invention;
5 is a control flowchart of a re-coding method of a low quality area of a reconstructed image applied to the present invention.

상기와 같은 목적을 가진 본 발명 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법 및 이를 이용한 영상 재 부호화 시스템을 도 3 내지 도 5를 기초로 하여 설명하면 다음과 같다.A video recoding method based on the decoding information of the camera image of the present invention having the above object and a video recoding system using the same will be described below with reference to FIGS. 3 to 5.

도 3은 본 발명 카메라 영상의 복호화 정보 기반 영상 재 부호화 시스템 구성도이다. 상기도 3에서 본 발명 카메라 영상의 복호화 정보 기반 영상 재 부호화 시스템은 카메라에서 전송되는 압축스트림을 입력받아 복원 영상을 출력하여 영상 부호화부로 전송하며 복호화 정보를 출력하여 재 부호화 결정부로 전송하는 영상 복호화부(100)와, 영상 복호화부에서 전송된 복호화 정보를 수신하고 상기 복호화 정보를 참조하여 재 부호화 방법를 결정하고 결정된 재 부호화 방법을 영상 부호화부로 전송하는 재 부호화 결정부(200)와, 영상 복호화부로부터 복원 영상을 수신하고 재 부호화 결정부로부터 전달받은 재 부호화 방법을 참조하여 복원 영상을 재 부호화하는 것으로 율-왜곡 측정부로부터 수신된 대역폭(비트율)과 화질(왜곡) 정보를 참조하여 영상을 재 부호화하고 재 부호화 영상과 압축스트림을 율-왜곡 측정부로 전송하는 영상 부호화부(300)와, 영상 부호화부로터 수신한 재 부호화 영상의 화질과 압축스트림의 대역폭(비트율)을 측정하고 측정된 화질과 대역폭(비트율)을 영상 부호화부로 전송하는 율-왜곡 측정부(400)로 구성된 것을 특징으로 하는 것이다. 또한, 상기 영상 복호화부(100)의 입력 정보인 압축스트림은 H.265/HEVC 압축 표준으로 부호화되는 재 부호화 방법을 예을 들어 설명하도록 할 것이다. 아래 표 1은 H.264/AVC 압축 표준과 H.265/HEVC의 부호화 도구를 비교한 것이다. 3 is a block diagram of a decoding information based video re-coding system of a camera image according to the present invention. In FIG. 3, the decoding information-based image recoding system of the present invention includes receiving a compressed stream transmitted from a camera, outputting a reconstructed image, and transmitting the reconstructed image to the image encoding unit, and outputting decoding information to the recoding determination unit. A re-encoding determination unit 200 which receives the decoded information transmitted from the image decoding unit, determines a re-encoding method with reference to the decoded information, and transmits the determined re-encoding method to the image encoding unit, and from the image decoding unit. Re-encoding the reconstructed image by referring to the re-encoding method received from the re-encoding determination unit and re-encoding the image by referring to the bandwidth (bit rate) and image quality (distortion) information received from the rate-distortion measurement unit. And a video code for transmitting the recoded video and the compressed stream to the rate-distortion measurement unit. The rate-distortion measurement unit 400 measures the image quality of the re-encoded image received from the image encoder and the bandwidth (bit rate) of the compressed stream, and transmits the measured image quality and bandwidth (bit rate) to the image encoder. It is characterized by consisting of. In addition, the compressed stream which is the input information of the image decoder 100 will be described by using an example of a re-encoding method encoded by the H.265 / HEVC compression standard. Table 1 below compares the H.264 / AVC compression standard and H.265 / HEVC coding tools.

[표 1]TABLE 1

Figure 112017034461718-pat00001
Figure 112017034461718-pat00001

참고로 상기 H.264/AVC 압축 표준과 H.265/HEVC 압축 표준은 공히 ISO MPEG와 ITU-T VCEG 두 기관의 협업으로 만들어진 압축 표준으로 영상 기반 제품 및 서비스 시장에서 널리 사용되고 있는 표준이다. 상기 표 1을 참조하면 H.264/AVC 압축 표준에 비해 H.265/HEVC 압축 표준이 더욱 다양한 부호화 도구를 제공하고 있음을 확인할 수 있으며 이러한 다양한 도구들에 의하여 H.265/HEVC 압축 표준은 H.264/AVC 압축 표준에 비하여 약 30% ~ 50% 정도의 좋은 압축율을 제공할 수 있는 것이다.For reference, the H.264 / AVC compression standard and the H.265 / HEVC compression standard are compression standards created by the collaboration of both ISO MPEG and ITU-T VCEG, which are widely used in the image-based product and service market. Referring to Table 1, it can be seen that the H.265 / HEVC compression standard provides a wider variety of encoding tools than the H.264 / AVC compression standard. Compared to the .264 / AVC compression standard, it can provide a good compression ratio of about 30% to 50%.

도 4는 본 발명 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법의 제어 흐름도이다. 상기도 4에서 본 발명 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법은 영상 복호화부가 입력된 압축스트림에 대하여 전제 프레임을 복호화하는 단계(S11)와, 영상 복호화부가 출력한 복호화 정보를 재 부호화 결정부로 전송하여 재 부호화 방법을 결정하도록 하는 단계(S12)와, 재부호화 결정부가 결정된 재 부호화 방법을 영상 부호화부로 전송하는 단계(S13)와, 영상 부호화부가 영상 복호화부로부터 복원 영상을 전달받고 수신한 재 부호화 방법과 율-왜곡 측정부로부터 수신한 재 부호화와 영상의 화질과 압축스트림의 대역폭(비트율)을 기초로 율-왜곡 최적화 기술에 기반하여 전체 프레임의 64x64 부호화 단위의 예측단위와 변환 단위 부호화 방법을 결정하여 부호화하여 출력하는 단계(S14)와, 영상 재 부호화 후 해당 프레임 부호화에 소요되는 실제 비트율과 목표 비트율일 비교하여 실제 비트율이 목표 비트율보다 작은 경우에 해당하는 프레임의 64x64 블록별 화질을 측정한 후 저화질영역의 영상 재 부호화를 반복적으로 실시하는 단계(S15)와, 해당 프레임의 실제 비트율이 목표 비트율에 도달한 경우 영상 재 부호화를 종료하는 단계(S16)를 포함하여 이루어지는 것을 특징으로 하는 것이다. 상기에서 S11 단계에서 입력된 압축스트림은 H.264/AVC 압축 표준으로 부호화되고, S14 단계에서 영상 부호화부의 출력은 H.265/HEVC 압축 표준으로 부호화된 것을 특징으로 하는 것이다. 또한, 상기 S12 단계에서 H.264/AVC 압축 표준은 부호화 단위가 16x16으로 고정된 반면에 H.265/HEVC 압축 표준은 최대 64x64 크기의 부호화 단위를 가질 수 있는 것이고, 부호화 단위가 클수록 부호화 단위 정보표시에 소요되는 비트량이 적으므로 64x64 크기의 부호화 단위를 초기 부호화 정보로 결정하도록 할 수 있는 것이다. 따라서 재 부호화 결정부는 영상 복호화부(100)로부터 전달받은 복호화 정보가 16x16 크기인데 반해 초기 부호화 정보가 64x64 크기로 결정되므로 부호화 정보를 통합 결정해 주어야 하는 것이다. 또한, 상기와 같은 통합 결정은 움직임 추정을 위한 움직임벡터와 잔차 신호(residual signal)를 양자화하기 위한 양자화 계수 정보를 통합 결정할 수 있는 것이다. 상기와 같은 움직임 벡터와 양자와 계수의 통합 결정방법은4 is a control flowchart of a decoding information based image recoding method of a camera image of the present invention. In FIG. 4, in the decoding information-based image re-coding method of the camera image of the present invention, a step of decoding an entire frame with respect to the compressed stream inputted by the image decoder (S11), and the decoding information output by the image decoder is transmitted to the re-coding determination unit. (S12) to determine the re-encoding method, and transmitting the re-encoding method determined by the re-encoding determination unit to the image encoder (S13), and the re-encoding that the image encoder receives and receives the reconstructed image from the image decoder. Based on the re-coding received from the rate-distortion measurement unit and the image quality of the image and the bandwidth (bit rate) of the compressed stream, the prediction unit and the conversion unit encoding method of the 64x64 coding unit of the entire frame are based on the rate-distortion optimization technique. Determining, encoding, and outputting the image (S14), and after re-encoding the image, Comparing the first bit rate with the target bit rate, measuring the image quality of each 64x64 block of the frame corresponding to the case where the actual bit rate is smaller than the target bit rate, and repeatedly performing image re-encoding of the low quality region (S15); And if the bit rate reaches the target bit rate, terminating the video re-encoding (S16). The compressed stream input in step S11 is encoded by the H.264 / AVC compression standard, and the output of the image encoder is encoded by the H.265 / HEVC compression standard in step S14. In addition, in step S12, the H.264 / AVC compression standard has a fixed coding unit of 16x16, whereas the H.265 / HEVC compression standard can have a coding unit having a maximum size of 64x64. Since the amount of bits required for display is small, the 64x64 coding unit can be determined as the initial coding information. Therefore, the re-encoding determiner determines that the encoded information received from the image decoder 100 is 16x16 size, whereas the initial encoded information is determined to be 64x64 size. In addition, the integrated determination may be integrated determination of quantization coefficient information for quantizing the motion vector for the motion estimation and the residual signal. The integrated determination method of the motion vector and the quantum and the coefficient as described above

(1). 64x64 부호화 단위의 초기 움직임 벡터를 아래 식(1)과 같이 계산하는 것이다.(One). An initial motion vector of a 64x64 coding unit is calculated as in Equation (1) below.

Figure 112017034461718-pat00002
……(식 1)
Figure 112017034461718-pat00002
… … (Equation 1)

상기 식(1)에서 MVCTU는 64x64 블록의 초기 움직임 벡터를 의미하고, MVPixe(y,x)는 64x64 블록 내부의 수직으로 y 번째, 수평으로 x 번째 위치에 해당하는 화소의 움직임 벡터를 의미하는 것이다. 초기 움직임 벡터 MVCTU의 수직 요소, 수평 요소는 각기 독립적으로 MVPixe(y,x)의 수직 요소, 수평 요소의 평균값에 의해 결정되는 것이고, MVPixe(y,x)는 해당 화소를 포함하는 블록의 움직임 벡터를 의미하는 것이다.In Equation (1), MVCTU denotes an initial motion vector of a 64x64 block, and MVPixe (y, x) denotes a motion vector of a pixel corresponding to the vertically y th and horizontal x th positions inside the 64 x 64 block. . Initial motion vector The vertical and horizontal elements of the MVCTU are independently determined by the average value of the vertical and horizontal elements of MVPixe (y, x), and MVPixe (y, x) is the motion vector of the block that contains the pixel. It means.

(2). 양자화 계수 값이 클수록 잔차 신호(residual signal) 부호화 시 소요되는 비트량이 적어지므로 초기 양자화 계수 정보는 64x64 블록에 포함되는 16개의 16x16 블록의 양자화 값 중 최대값으로 양자화 계수 값을 결정하는 것이다.(2). Since the larger the quantization coefficient value, the smaller the bit amount is required to encode the residual signal, the initial quantization coefficient information determines the quantization coefficient value as the maximum value among the quantization values of 16 16x16 blocks included in the 64x64 block.

(2). 초기 부호화 단위를 64x64로 하고, 초기 움직임 벡터를 MVCTU로 하며, 결정된 초기 양자화 계수 값에 의한 재 부호화 방법을 영상 부호화부로 전달하는 것이다.(2). The initial coding unit is 64x64, the initial motion vector is MVCTU, and the recoding method based on the determined initial quantization coefficient value is transmitted to the image encoder.

또한, 상기 S14 단계에서 율-왜곡 최적화 기술은 사용하는 비트량 대비 최적의 화질로 부호화하는 방법을 찾기 위한 탐색 과정으로 아래 식(2)에 의해 계산되는 율-왜곡 비용이 최소가 되는 방법을 부호화 방법으로 결정하는 것이다. Further, in the step S14, the rate-distortion optimization technique is a search process for finding a method of encoding with an optimal image quality based on the amount of bits used, and encodes a method of minimizing the rate-distortion cost calculated by Equation (2) below. How to decide.

Figure 112017034461718-pat00003
……(식 2)
Figure 112017034461718-pat00003
… … (Equation 2)

상기 식(2)에서 Distortion은 부호화부에 입력되는 원 영상의 화소 값과(본 발명에서는 영상 복호화부의 출력인 복원 영상) 부호화 방법으로 압축되는 화소 값 사이의 왜곡 값을 의미하고 식(3)과 같이 계산되는 것이다.Distortion in Equation (2) means a distortion value between the pixel value of the original image input to the encoder (in the present invention, a reconstructed image output from the image decoder) and the pixel value compressed by the encoding method. It is calculated together.

Figure 112017034461718-pat00004
……(식 3)
Figure 112017034461718-pat00004
… … (Equation 3)

상기 식(3)에서 orgImg(y,x)와 recImg(y,x)는 각각 원영상과 부호화 방법으로 압축되는 영상의 화소 값을 의미하는 것이다. 또한, Rates는 해당 방법으로 부호화할 때 필요한 비트량을 의미하며, λ는 Lagrangian 파라미터이다. 영상부호화 시 영상 신호의 시간적 중복 성분을 제거하기 위한 움직임 추정 과정은 매우 많은 영상 연산량을 요구하며 부호화기의 복잡도를 심화시키게 되는 것이다. 본 발명에서는 초기 움직임 벡터를 기존 복호화 정보를 사용하여 선택하는 방법으로 별도의 움직임 추정 과정을 거치지 않이하므로 영상 재 부호화에 소요되는 시간을 줄여 고속으로 부호화를 수행할 수 있는 것이다.In Equation (3), orgImg (y, x) and recImg (y, x) mean pixel values of the original image and the image compressed by the encoding method, respectively. In addition, the rate refers to the amount of bits required for encoding by the method, and λ is a Lagrangian parameter. The motion estimation process for removing temporal overlapping components of an image signal during image encoding requires a large amount of image computation and increases the complexity of the encoder. In the present invention, since the initial motion vector is selected by using the existing decoding information, since a separate motion estimation process is not performed, encoding can be performed at high speed by reducing the time required for image recoding.

또한, 상기 S15 단계에서 저화질 영역을 결정하기 위한 화질 측정은 상기 식(3)에 의해 계산되는 64x64블록의 Distortion 값을 참조하는 것이다. 즉 Distortion 값이 클수록 저화질임을 의미하고 반대로 Distortion 값이 작을수록 고화질임을 의미하는 것이다.In addition, the image quality measurement for determining the low quality region in step S15 refers to the distortion value of the 64x64 block calculated by Equation (3). In other words, the larger the distortion value, the lower the quality. On the contrary, the smaller the distortion value, the higher the quality.

도 5는 본 발명에 적용되는 저화질 영역의 재 부호화 방법에 대한 제어 흐름도 이다. 상기도 5에서 저화질 영역의 재 부호화 방법은 상기 S15 단계에서 저화질 영역 결정 후 해당 영역의 화질을 높이기 위한 것으로 움직임 벡터의 개선을 수행하여 재 부호화하는 단계(S31)와, 해당 영역이 저화질 영역인지 여부를 판단하는 단계(S32)와, 해당 영역이 저화질 영역인 경우 다음으로 양자화 계수 값을 개선하여 재부호화 하는 단계(S33)와, 해당 영역이 저화질 영역인지 여부를 판단하는 단계(S34)와, 해당 영역이 저화질 영역인 경우, 다음으로 해당 영역의 부호화 단위를 작게하여 재부호화 하는 단계(S35)를 포함하여 이루어지는 것이다. 또한, 상기 S31 단계에서 움직임 벡터의 개선은 초기 움직임 벡터 MVCTU를 중심으로 주변 ±4 화소 범위를 검색 영역으로 설정하여 움직임 영역을 다시 수행하는 것으로 이를 통해 초기 움직임 벡터 MVCTU에 비해 보다 정확한 움직임 벡터를 찾음으로써 화질을 개선하는 것이다. 또한, 상기 S33 단계에서 양자화 계수 값을 개선하는 것은 초기 양자화 계수 값에서 -1 씩 3회 감소시키면서 율-왜곡 최적화를 수행하여 최적 양자화 계수 값을 결정하는 것이다. 또한, 상기 S35 단계에서 해당 영역의 부호화 단위를 작게하는 것은 초기 부호화 시 64x64 부호화 단위가 수행되었으므로 재 부호화 시 부호화 단위는 32x32, 16x16 순서로 수행되는 것으로 부호화 단위를 작게 하면서 64x64 불록 내 각 부호화 단위 영역을 각각 해당 영역에 제일 적합한 부호화 방법으로 재 부호화 함으로써 화질을 개선할 수 있는 것이다. 또한. 상기 S31 또는 S33에서 해당 영역이 저화질 영역이 아닌 것으로 판단되면 재 부호화를 종료하는 것이다.5 is a control flowchart of a re-coding method of a low quality region applied to the present invention. In FIG. 5, the re-encoding method of the low quality area is to increase the quality of the corresponding area after determining the low quality area in step S15. The method includes re-encoding the motion vector by improving the motion vector (S31), and whether the corresponding area is the low quality area. Determining (S32), and if the corresponding area is a low quality area, then re-encoding by improving the quantization coefficient value (S33), determining whether the area is a low quality area (S34), and In the case where the region is a low quality region, a next step of reducing the coding unit of the region and recoding the region is performed. In addition, in the step S31, the improvement of the motion vector is performed by resetting the motion region by setting the peripheral ± 4 pixel range as the search region around the initial motion vector MVCTU, thereby finding a more accurate motion vector than the initial motion vector MVCTU. This is to improve the picture quality. In addition, to improve the quantization coefficient value in the step S33 is to determine the optimal quantization coefficient value by performing rate-distortion optimization while reducing the initial quantization coefficient value by -1 three times. In addition, in step S35, since the coding unit of the corresponding region is reduced by 64x64 coding units during initial encoding, the coding units are performed in the order of 32x32 and 16x16 during recoding. The quality of the image can be improved by re-coding each of them using an encoding method most suitable for the corresponding region. Also. If it is determined in S31 or S33 that the corresponding region is not a low quality region, the recoding is terminated.

100 : 영상 복호화부, 200 : 재 부호화 결정부,
300 : 영상 부호화부, 400 : 율-왜곡 측정부
100: video decoding unit, 200: re-encoding determination unit,
300: image encoder, 400: rate-distortion measurement unit

Claims (14)

삭제delete 삭제delete 삭제delete 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법에 있어서,
상기 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법은,
영상 복호화부가 입력된 압축스트림에 대하여 전제 프레임을 복호화하는 단계(S11)와;
영상 복호화부가 출력한 복호화 정보를 재 부호화 결정부로 전송하여 재 부호화 방법을 결정하도록 하는 단계(S12)와;
재부호화 결정부가 영상 복호화부가 전송한 복호화 정보가 16x16 크기인데 반해 초기 부호화 정보가 64x64 크기로 결정되므로 움직임 추정을 위한 움직임 벡터와 잔차 신호를 양자화하기 위한 양자화 계수 정보를 통합 결정하고 결정된 재 부호화 방법을 영상 부호화부로 전송하는 단계(S13)와;
영상 부호화부가 영상 복호화부로부터 복원 영상을 전달받고 수신한 재 부호화 방법과 율-왜곡 측정부로부터 수신한 재 부호화 영상의 화질과 압축스트림의 대역폭을 기초로 율-왜곡 최적화 기술에 기반하여 전체 프레임의 64x64 부호화 단위의 예측단위와 변환 단위 부호화 방법을 결정하여 부호화하여 출력하는 단계(S14)와;
영상 재 부호화 후 해당 프레임 부호화에 소요되는 실제 비트율과 목표 비트율일 비교하여 실제 비트율이 목표 비트율보다 작은 경우에 해당하는 프레임의 64x64 블록별 화질을 측정한 후 저화질영역의 영상 재 부호화를 반복적으로 실시하는 단계(S15);
및 해당 프레임의 실제 비트율이 목표 비트율에 도달한 경우 영상 재 부호화를 종료하는 단계(S16)를 포함하여 이루어지는 것으로 상기 64x64 부호화 단위의 초기 움직임 벡터는,
Figure 112019048774251-pat00013
에 의하여 계산되는 것을 특징으로 하는 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법.
MVCTU는 64x64 블록의 초기 움직임 벡터, MVPixe(y,x)는 64x64 블록 내부의 수직으로 y 번째, 수평으로 x 번째 위치에 해당하는 화소의 움직임 벡터임.
In the video re-encoding method based on the decoding information of the camera image,
Decoding information-based image re-coding method of the camera image,
Decoding an entire frame with respect to the compressed stream inputted by the image decoder (S11);
Transmitting decoded information output from the image decoder to the re-encoding determination unit to determine a re-encoding method (S12);
Since the encoding information transmitted by the image decoding unit is 16x16 in size, the initial encoding information is determined as 64x64 in size, and thus the recoding determination unit combines and determines the motion vector for motion estimation and the quantization coefficient information for quantizing the residual signal. Transmitting to the image encoder (S13);
Based on the rate-distortion optimization technique based on the quality of the re-encoded image received from the image decoder and the rate-distortion measurement unit and the bandwidth of the compressed stream, the image encoder receives the reconstructed image from the image decoder. Determining, encoding, and outputting a prediction unit and a transformation unit encoding method of a 64x64 coding unit (S14);
After re-encoding the image, comparing the actual bit rate required for the corresponding frame encoding with the target bit rate, after measuring the image quality of each 64x64 block of the frame corresponding to the case where the actual bit rate is smaller than the target bit rate, the image re-encoding of the low quality region is repeatedly performed. Step S15;
And terminating image re-encoding when the actual bit rate of the frame reaches the target bit rate (S16). The initial motion vector of the 64x64 coding unit includes:
Figure 112019048774251-pat00013
The video re-encoding method based on the decoding information of the camera image, characterized in that calculated by.
MVCTU is the initial motion vector of the 64x64 block, and MVPixe (y, x) is the motion vector of the pixel corresponding to the y-th vertically and x-th horizontally within the 64x64 block.
제4항에 있어서,
상기 영상 복호화부의 입력 압축스트림은,
H.264/AVC 압축 표준으로 부호화되고,
상기 영상 부호화부의 출력은,
H.265/HEVC 압축 표준으로 부호화된 것으로 H.264/AVC 압축 표준은 부호화 단위가 16x16으로 고정되고, H.265/HEVC 압축 표준은 최대 64x64 크기의 부호화 단위를 가질 수 있는 것을 특징으로 하는 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법.
The method of claim 4, wherein
The input compressed stream of the image decoder is
Encoded in the H.264 / AVC compression standard,
The output of the video encoder,
Coded with the H.265 / HEVC compression standard, the H.264 / AVC compression standard is fixed to 16x16 coding unit, the H.265 / HEVC compression standard can have a coding unit of up to 64x64 size An image re-encoding method based on decoding information of an image.
삭제delete 제4항 또는 제5항에 있어서,
상기 S14 단계의 최적화 기술은,
Figure 112019048774251-pat00014
에 의해 계산되는 율-왜곡 비용이 최소가 되는 것을 부호화 방법으로 결정하는 것을 특징으로 하는 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법.
여기서 Distortion은 부호화부에 입력되는 원 영상의 화소 값과(본 발명에서는 영상 복호화부의 출력인 복원 영상) 부호화 방법으로 압축되는 화소 값 사이의 왜곡 값이고, Rates는 해당 방법으로 부호화할 때 필요한 비트량을 의미하며, λ는 Lagrangian 파라미터임.
The method according to claim 4 or 5,
The optimization technique of the step S14,
Figure 112019048774251-pat00014
And a coding method for determining that the rate-distortion cost calculated by the minimum value is minimized.
Here, Distortion is a distortion value between the pixel value of the original image input to the encoding unit (in the present invention, the reconstructed image output from the image decoding unit) and the pixel value compressed by the encoding method, and Rates is the amount of bits required when encoding by the corresponding method Λ is Lagrangian parameter.
제4항 또는 제5항에 있어서,
상기 S15 단계에서 저화질 영역을 결정하기 위한 화질 측정은,
Figure 112019048774251-pat00015
에 의해 계산되는 64x64 블록의 Distortion값을 참조하는 것을 특징으로 하는 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법.
여기서 orgImg(y,x)와 recImg(y,x)는 각각 원영상과 부호화 방법으로 압축되는 영상의 화소 값임.
The method according to claim 4 or 5,
In the step S15, the image quality measurement for determining the low quality region,
Figure 112019048774251-pat00015
Decoding information-based image re-encoding method for a camera image, characterized in that referring to the distortion value of the 64x64 block calculated by.
Where orgImg (y, x) and recImg (y, x) are the pixel values of the original image and the image compressed by the encoding method, respectively.
제4항 또는 제5항에 있어서,
상기 저화질 영역의 영상 재 부호화 방법은,
움직임 벡터의 개선을 수행하여 재 부호화하는 단계(S31)와;
해당 영역이 저화질 영역인지 여부를 판단하는 단계(S32)와;
해당 영역이 저화질 영역인 경우 다음으로 양자화 계수 값을 개선하여 재 부호화하는 단계(S33)와;
해당 영역이 저화질 영역인지 여부를 판단하는 단계(S34);
및 해당 영역이 저화질 영역인 경우, 다음으로 해당 영역의 부호화 단위를 작게하여 재부호화 하는 단계(S35)를 포함하여 이루어지는 것을 특징으로 하는 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법.
The method according to claim 4 or 5,
The video re-coding method of the low quality region,
Re-encoding by performing motion vector improvement;
Determining whether the corresponding area is a low quality area (S32);
If the corresponding area is a low quality area, re-encoding the quantization coefficient value next (S33);
Determining whether the corresponding area is a low quality area (S34);
And re-encoding by reducing the coding unit of the corresponding area when the corresponding area is a low quality area (S35).
삭제delete 제4항 또는 제5항에 있어서,
초기 양자화 계수 정보는,
64x64 블록에 포함되는 16개의 16x16블록의 양자화 값 중 최대값으로 양자화 계수 값을 결정하는 것을 특징으로 하는 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법.
The method according to claim 4 or 5,
The initial quantization coefficient information is
A decoding information-based image re-encoding method of a camera image, characterized by determining a quantization coefficient value as a maximum value among quantization values of 16 16x16 blocks included in a 64x64 block.
제9항에 있어서,
상기 S31 단계에서 움직임 벡터의 개선은,
초기 움직임 벡터 MVCTU를 중심으로 주변 ±4 화소 범위를 검색 영역으로 설정하여 움직임 영역을 다시 수행하는 것을 특징으로 하는 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법.
The method of claim 9,
The improvement of the motion vector in step S31,
A decoding information-based image re-encoding method of a camera image, comprising: performing a motion region again by setting a peripheral ± 4 pixel range as a search region around the initial motion vector MVCTU.
제9항에 있어서,
상기 S33 단계에서 양자화 계수 값을 개선하는 것은,
초기 양자화 계수 값에서 -1씩 3회 감소시키면서 율-왜곡 최적화를 수행하여 최적 양자화 계수 값을 결정하는 것을 특징으로 하는 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법.
The method of claim 9,
Improving the quantization coefficient value in the step S33,
Decoding information-based image re-encoding method for a camera image, characterized in that the optimal quantization coefficient value is determined by performing rate-distortion optimization while reducing the initial quantization coefficient value by -1 three times.
제9항에 있어서,
상기 S35 단계에서 해당 영역의 부호화 단위를 작게 하는 것은,
초기 부호화 시 64x64 부호화 단위가 수행되었으므로 재 부호화 시 부호화 단위는 32x32, 16x16 순서로 수행되는 것으로 부호화 단위를 작게 하면서 64x64 불록 내 각 부호화 단위 영역을 각각 해당 영역에 제일 적합한 부호화 방법으로 재 부호화 하는 것을 특징으로 하는 카메라 영상의 복호화 정보 기반 영상 재 부호화 방법.










The method of claim 9,
In operation S35, reducing the coding unit of the corresponding region may be small.
Since the 64x64 coding units are performed during the initial encoding, the coding units are performed in the order of 32x32 and 16x16 during recoding. An image re-encoding method based on decoding information of a camera image.










KR1020170045531A 2017-04-07 2017-04-07 Image Reencoding Method based on Decoding Data of Image of Camera and System thereof KR102020953B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170045531A KR102020953B1 (en) 2017-04-07 2017-04-07 Image Reencoding Method based on Decoding Data of Image of Camera and System thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170045531A KR102020953B1 (en) 2017-04-07 2017-04-07 Image Reencoding Method based on Decoding Data of Image of Camera and System thereof

Publications (2)

Publication Number Publication Date
KR20180113868A KR20180113868A (en) 2018-10-17
KR102020953B1 true KR102020953B1 (en) 2019-09-11

Family

ID=64099254

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170045531A KR102020953B1 (en) 2017-04-07 2017-04-07 Image Reencoding Method based on Decoding Data of Image of Camera and System thereof

Country Status (1)

Country Link
KR (1) KR102020953B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116761023A (en) * 2023-07-04 2023-09-15 唯科终端技术(东莞)有限公司 Video transmission method between different devices

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100259561B1 (en) * 1994-10-31 2000-06-15 다니구찌 이찌로오, 기타오카 다카시 Image coded data re-encoding apparatus
JP2013507083A (en) * 2009-10-05 2013-02-28 アイ.シー.ヴイ.ティー リミテッド Apparatus and method for recompressing digital images

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100713012B1 (en) * 2004-10-18 2007-05-02 한국정보통신대학교 산학협력단 A method for transcoding video data according to a control of multi-dimensional bit rate, and an apparatus therefor
KR100752840B1 (en) * 2005-04-18 2007-08-29 엘지전자 주식회사 Q/D model design method for quanitzation parameter control of transcoder and encoding device of multimedia contents

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100259561B1 (en) * 1994-10-31 2000-06-15 다니구찌 이찌로오, 기타오카 다카시 Image coded data re-encoding apparatus
JP2013507083A (en) * 2009-10-05 2013-02-28 アイ.シー.ヴイ.ティー リミテッド Apparatus and method for recompressing digital images

Also Published As

Publication number Publication date
KR20180113868A (en) 2018-10-17

Similar Documents

Publication Publication Date Title
US8897360B2 (en) Method and apparatus for encoding and decoding images by adaptively using an interpolation filter
EP2681914B1 (en) Quantized pulse code modulation in video coding
CN106170092B (en) Fast coding method for lossless coding
KR101431545B1 (en) Method and apparatus for Video encoding and decoding
US8165411B2 (en) Method of and apparatus for encoding/decoding data
JP2014517662A (en) Quantization in video coding
KR20110071231A (en) Encoding method, decoding method and apparatus thereof
CN113785573A (en) Encoder, decoder and corresponding methods using an adaptive loop filter
KR102110228B1 (en) Method And Apparatus For Video Encoding And Decoding
KR101596085B1 (en) Apparatus and method for video coding/decoding using adaptive intra prediction
KR101911587B1 (en) Apparatus and method for video coding/decoding using adaptive intra prediction
US8582639B2 (en) Methods and devices for data compression using adaptive reconstruction levels
WO2013106482A1 (en) Quantization matrix (qm) coding based on weighted prediction
KR102020953B1 (en) Image Reencoding Method based on Decoding Data of Image of Camera and System thereof
CA2803202C (en) Methods and devices for data compression using adaptive reconstruction levels
WO2012173449A2 (en) Video encoding and decoding method and apparatus using 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