[go: up one dir, main page]

KR101866101B1 - Method and Apparatus for Sensor-Triggered Weighted Prediction for High Efficiency Video Coding - Google Patents

Method and Apparatus for Sensor-Triggered Weighted Prediction for High Efficiency Video Coding Download PDF

Info

Publication number
KR101866101B1
KR101866101B1 KR1020160179888A KR20160179888A KR101866101B1 KR 101866101 B1 KR101866101 B1 KR 101866101B1 KR 1020160179888 A KR1020160179888 A KR 1020160179888A KR 20160179888 A KR20160179888 A KR 20160179888A KR 101866101 B1 KR101866101 B1 KR 101866101B1
Authority
KR
South Korea
Prior art keywords
weight
sensor
change
sensor data
rate
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
KR1020160179888A
Other languages
Korean (ko)
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 KR1020160179888A priority Critical patent/KR101866101B1/en
Application granted granted Critical
Publication of KR101866101B1 publication Critical patent/KR101866101B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • 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/172Methods 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 picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Studio Devices (AREA)

Abstract

HEVC 인코딩에서 조도 센서 기반의 가중치 예측 방법 및 장치가 제시된다. 본 발명에서 제안하는 HEVC 인코딩에서 조도 센서 기반의 가중치 예측 방법은 센서로부터 수신한 센서 데이터의 변화 레이트를 임계값과 비교하는 단계, 센서 데이터의 변화 레이트가 임계값 보다 높은 경우, 가중치 및 오프셋 값을 계산하는 단계, 가중치 및 오프셋 값을 계산한 후, AE 플래그를 1로 설정하고, 계산된 가중치 및 오프셋 값을 사용하여 현재 프레임이 WP 구성으로 인코딩되는 단계, 센서 데이터의 변화 레이트가 임계값 보다 낮은 경우, AE를 판단하여 판단된 AE에 따라 가중치를 추정하고, 추정된 가중치와 기본값을 비교하여 AE 플래그를 설정하는 단계를 포함한다.A method and apparatus for predicting weights based on an illuminance sensor in HEVC encoding are presented. In the HEVC encoding proposed in the present invention, the weightedness predicting method based on the illuminance sensor includes a step of comparing a rate of change of sensor data received from a sensor with a threshold value, a step of calculating a weight and an offset value when the rate of change of the sensor data is higher than a threshold value Calculating a weighting and an offset value, then setting the AE flag to 1, encoding the current frame into a WP configuration using the calculated weight and offset values, determining whether the rate of change of the sensor data is less than a threshold value A step of estimating a weight according to the determined AE, and a step of comparing an estimated weight with a default value to set an AE flag.

Description

HEVC 인코딩에서 조도 센서 기반의 가중치 예측 방법 및 장치{Method and Apparatus for Sensor-Triggered Weighted Prediction for High Efficiency Video Coding}[0001] The present invention relates to a method and apparatus for predicting a weight based on an illuminance sensor in HEVC encoding,

본 발명은 고효율 비디오 코딩을 위한 센서-트리거 가중치 예측 방법 및 장치에 관한 것이다.The present invention relates to a sensor-trigger weight prediction method and apparatus for high-efficiency video coding.

최근, 착용 가능 장치들이 중요한 어플리케이션으로 부상하고 있다. 카메라가 장착된 착용 가능 장치는 사람의 일상 생활을 기록하거나 장면과 장소를 생생하게 방송할 수 있다. 착용 가능성으로 인해, 이러한 장치들은 내부뿐만 아니라 외부에서도 사용될 수 있다. 특히 외부에는 다양한 광원들이 존재한다. 빛의 강도 변화는 때때로 예측할 수 없고 갑작스럽다. 카메라는 뷰 뿐만 아니라 이러한 조명 변화를 포착한다. 자동-노출(Auto Exposure; AE) 기법은 조명 변화에 대처하는 도구 중 하나이다. 카메라가 8 비트 심도의 픽셀 정보를 얻으면, 색상 강도는 0에서 255까지 이다. 입력 이미지가 너무 어둡거나 너무 밝으면 포화 효과(saturation effect)로 인해 세부 사항을 표현할 수 없게 된다. 제한된 다이나믹 범위를 극복하기 위해, AE 방식은 노출 정도를 제어하고 주어진 조명 하에서 입력 이미지가 목표 밝기에 도달하게 한다. Recently, wearable devices are emerging as important applications. A wearable device equipped with a camera can record the daily life of a person or vividly broadcast scenes and places. Due to wearability, these devices can be used both internally and externally. In particular, there are various light sources outside. Light intensity changes are sometimes unpredictable and sudden. The camera captures these lighting changes as well as the view. The Auto Exposure (AE) technique is one of the tools to cope with lighting changes. When the camera obtains pixel information at 8-bit depth, the color intensity is from 0 to 255. If the input image is too dark or too bright, the saturation effect will render the details inaudible. To overcome the limited dynamic range, the AE method controls the degree of exposure and allows the input image to reach the target brightness under a given illumination.

도 1은 종래기술에 따른 급격한 조명 변화 후의 노출 조정을 나타내는 도면이다.1 is a view showing exposure adjustment after a sudden illumination change according to the prior art.

도 1을 참조하면, 실내의 조명이 꺼지면, 포착된 이미지도 매우 어두워진다. 그 후에, 포착된 이미지는 점차 밝아지기 시작한다.Referring to FIG. 1, when the indoor lighting is turned off, the captured image becomes very dark. After that, the captured image gradually begins to brighten.

높은 압축 비율을 추구하는 대부분의 비디오 인코더는 압축 비율이 현재 및 기준 프레임의 차이에 완전히 의존하는 비디오의 시간 중복성을 활용하기 위해 내부(inter)-예측 방식을 사용한다. 착용 가능 장치의 비디오가 인코딩 되면, 조명 변화가 압축 효율에 큰 영향을 준다. 장면이 정적이라 할지라도, 연속적인 프레임 간의 차이는 도 1과 같이 조명의 변화로 인해 매우 크게 된다. 조명 변화로 인한 압축 비효율을 처리하기 위해, H.264 및 고효율 비디오 코딩(High Efficiency Video Coding; HEVC)과 같은 일부 비디오 코딩 표준은 가중치 예측(Weighted Prediction; WP) 도구를 채택하는데, 여기서 조명은 기준 프레임의 예측된 블록에 가중치를 추가하여 보상된다.Most video encoders seeking high compression ratios use an inter-prediction scheme to exploit the temporal redundancy of video where the compression ratio is entirely dependent on the difference between the current and reference frames. Once the video of the wearable device is encoded, a change in illumination has a significant impact on compression efficiency. Even if the scene is static, the difference between consecutive frames becomes very large due to the change of illumination as shown in Fig. To address compression inefficiencies due to illumination changes, some video coding standards such as H.264 and High Efficiency Video Coding (HEVC) employ Weighted Prediction (WP) Is compensated by adding a weight to the predicted block of the frame.

본 발명이 이루고자 하는 기술적 과제는 계산 복잡도와 메모리 접근 오버 헤드를 줄이기 위해 WP의 이점을 이용하는 고효율 비디오 코딩을 위한 센서-트리거 가중치 예측 방법 및 장치를 제공하는데 있다.SUMMARY OF THE INVENTION The present invention provides a method and apparatus for predicting sensor-trigger weights for high-efficiency video coding that utilizes the advantages of WP to reduce computational complexity and memory access overhead.

일 측면에 있어서, 본 발명에서 제안하는 HEVC 인코딩에서 조도 센서 기반의 가중치 예측 방법은 센서로부터 수신한 센서 데이터의 변화 레이트를 임계값과 비교하는 단계, 센서 데이터의 변화 레이트가 임계값 보다 높은 경우, 가중치 및 오프셋 값을 계산하는 단계, 가중치 및 오프셋 값을 계산한 후, AE 플래그를 1로 설정하고, 계산된 가중치 및 오프셋 값을 사용하여 현재 프레임이 WP 구성으로 인코딩되는 단계, 센서 데이터의 변화 레이트가 임계값 보다 낮은 경우, AE를 판단하여 판단된 AE에 따라 가중치를 추정하고, 추정된 가중치와 기본값을 비교하여 AE 플래그를 설정하는 단계를 포함한다. According to an aspect of the present invention, in an HEVC encoding method of the present invention, an illuminance sensor-based weight prediction method includes comparing a rate of change of sensor data received from a sensor with a threshold value, Calculating a weight and an offset value, calculating a weight and an offset value, then setting the AE flag to 1, encoding the current frame in a WP configuration using the calculated weight and offset values, Determining the AE, estimating the weight according to the determined AE, and comparing the estimated weight with the default value to set the AE flag.

센서 데이터의 변화 레이트가 임계값 보다 낮은 경우, AE를 판단하여 판단된 AE에 따라 가중치를 추정하고, 추정된 가중치와 기본값을 비교하여 AE 플래그를 설정하는 단계는 센서 데이터의 변화 레이트가 임계값 보다 낮은 경우, AE를 판단하는 단계, 판단된 AE가 1인 경우, 가중치를 추정하는 단계, 추정된 가중치와 기본값을 비교하는 단계, 추정된 가중치와 기본값이 같을 경우, AE 플래그를 0으로 설정하고, 센서로부터 수신한 센서 데이터에 기반하여 WP의 적용여부를 결정하는 단계, 추정된 가중치와 기본값이 같지 않을 경우, 센서로부터 수신한 센서 데이터에 기반하여 WP의 적용여부를 결정하는 단계를 포함한다. The step of estimating the weight according to the determined AE when the rate of change of the sensor data is lower than the threshold value and the step of comparing the estimated weight with the default value to set the AE flag may be such that the rate of change of the sensor data is larger than the threshold Estimating a weight when the determined AE is 1; comparing an estimated weight with a default value; setting an AE flag to 0 if the estimated weight is equal to a default value; Determining whether the WP is applied based on the sensor data received from the sensor, and determining whether to apply the WP based on the sensor data received from the sensor if the estimated weight is not the same as the default weight.

상기 판단된 AE가 1인 경우, 가중치를 추정하는 단계는 초기 3개의 프레임에서의 가중치는 픽셀 강도로부터 계산되고, 초기 3개의 프레임에 대해 계산된 초기 계산 값에 의한 AE 효과에 따라 픽셀 강도가 선형적으로 변경됨으로써 나머지 프레임에서의 가중치가 추정된다. Wherein if the determined AE is equal to 1, weighting in the first three frames is calculated from the pixel intensity, and if the pixel intensity is linear according to the AE effect by the initial calculated value for the first three frames, The weights in the remaining frames are estimated.

제안하는 방법은 판단된 AE가 0인 경우, 가중치 및 오프셋 값을 기본값으로 설정하고, WP를 비활성하는 단계를 더 포함한다. The proposed method further includes a step of setting a weight and an offset value as default values and deactivating WP when the determined AE is 0.

또 다른 일 측면에 있어서, 본 발명에서 제안하는 HEVC 인코딩에서 조도 센서 기반의 가중치 예측 장치는 센서로부터 수신한 센서 데이터의 변화 레이트를 임계값과 비교하고, 센서 데이터의 변화 레이트가 임계값 보다 낮은 경우, AE를 판단하고, AE를 판단결과에 따라 추정된 가중치와 기본값을 비교하는 비교부, 상기 센서 데이터의 변화 레이트가 임계값 보다 높은 경우, 가중치 및 오프셋 값을 계산하는 계산부, 상기 계산부에서 계산된 가중치 및 오프셋 값을 사용하여 현재 프레임이 WP 구성으로 인코딩되는 인코딩부, 상기 비교부에서 판단된 AE가 1인 경우, 가중치를 추정하는 가중치 추정부, 상기 가중치 추정부로부터 추정된 가중치와 기본값을 상기 비교부를 통해 비교하여, 비교 결과에 따라 AE 플래그를 설정하고, 센서로부터 수신한 센서 데이터에 기반하여 WP의 적용여부를 결정하는 제어부를 포함한다. In another aspect, in the HEVC encoding proposed in the present invention, the lightness sensor-based weight prediction apparatus compares the rate of change of the sensor data received from the sensor with a threshold value, and when the rate of change of the sensor data is lower than the threshold value A calculating unit for calculating a weight and an offset value when the rate of change of the sensor data is higher than a threshold value; A weight estimation unit for estimating a weight when the AE determined by the comparison unit is 1, a weight estimation unit for estimating a weight based on the weight estimated from the weight estimation unit, The AE flag is set according to the comparison result, and the sensor data received from the sensor And determines whether or not the WP is applied.

상기 가중치 추정부는 초기 3개의 프레임에서의 가중치는 픽셀 강도로부터 계산하고, 초기 3개의 프레임에 대해 계산된 초기 계산 값에 의한 AE 효과에 따라 픽셀 강도가 선형적으로 변경됨으로써 나머지 프레임에서의 가중치를 추정한다. The weight estimator may calculate the weights in the first three frames from the pixel intensities and linearly change the pixel intensities according to the AE effect based on the initial calculated values for the first three frames, do.

상기 제어부는 센서 데이터의 변화 레이트가 임계값 보다 높은 경우, 계산부를 통해 가중치 및 오프셋 값을 계산한 후, AE 플래그를 1로 설정한다. If the rate of change of the sensor data is higher than the threshold value, the control unit calculates the weight and the offset value through the calculation unit, and then sets the AE flag to 1.

상기 제어부는 센서 데이터의 변화 레이트가 임계값 보다 낮고, AE가 1이고, 추정된 가중치와 기본값이 같을 경우, AE 플래그를 0으로 설정하고, 센서로부터 수신한 센서 데이터에 기반하여 WP의 적용여부를 결정하고, 센서 데이터의 변화 레이트가 임계값 보다 낮고, AE가 1이고, 추정된 가중치와 기본값이 같지 않을 경우, 센서로부터 수신한 센서 데이터에 기반하여 WP의 적용여부를 결정하고, 센서 데이터의 변화 레이트가 임계값 보다 낮고, AE가 0인 경우, 가중치 및 오프셋 값을 기본값으로 설정하고, WP를 비활성한다.If the rate of change of the sensor data is lower than the threshold value, the AE is 1, the AE flag is set to 0 when the estimated weight is equal to the default value, and whether or not the WP is applied based on the sensor data received from the sensor Determines whether or not WP is applied based on the sensor data received from the sensor when the rate of change of the sensor data is lower than the threshold value and the AE is 1 and the default weight is not the same as the estimated weight, If the rate is lower than the threshold and AE is 0, the weight and offset values are set to default values and WP is disabled.

본 발명의 실시예들에 따르면 계산 복잡도와 메모리 접근 오버 헤드를 줄이기 위해 WP의 이점을 이용하는 고효율 비디오 코딩을 위한 센서-트리거 가중치 예측 방법 및 장치를 이용함으로써 WP에 대한 추가적인 오버 헤드가 센서 정보에 기반하여 적시에 발생할 수 있다.According to embodiments of the present invention, an additional overhead for WP is achieved by using a sensor-trigger weighting prediction method and apparatus for high-efficiency video coding that utilizes the advantages of WP to reduce computational complexity and memory access overhead Can occur in a timely manner.

도 1은 종래기술에 따른 급격한 조명 변화 후의 노출 조정을 나타내는 도면이다.
도 2는 본 발명의 일 실시예에 따른 센서 기반 가중치 예측 방법을 설명하기 위한 흐름도이다.
도 3은 본 발명의 일 실시예에 따른 센서 기반 가중치 예측 장치의 구성을 나타내는 도면이다.
1 is a view showing exposure adjustment after a sudden illumination change according to the prior art.
2 is a flowchart illustrating a sensor-based weight prediction method according to an embodiment of the present invention.
3 is a block diagram of a sensor-based weight prediction apparatus according to an embodiment of the present invention.

착용 가능(wearable) 장치의 카메라는 뷰 뿐만 아니라 조명의 변화를 포착한다. 장면이 정적이라 할지라도 조명 변화로 인해 연속하는 입력 프레임 간의 차이가 매우 클 수 있다. HEVC 표준은 조명 보상을 위해 가중 예측(WP)을 채택한다. 그러나, 종래의 WP는 높은 계산 복잡성 및 메모리 액세스 오버 헤드를 필요로 한다. 본 발명에서는, 적시에 WP를 활성화하기 위해 센서-트리거 WP를 제안한다. 이하, 본 발명의 실시 예를 첨부된 도면을 참조하여 상세하게 설명한다.
The camera of the wearable device captures not only the view but also the change in illumination. Even if the scene is static, the difference between successive input frames due to lighting changes can be very large. The HEVC standard adopts weighted prediction (WP) for illumination compensation. However, conventional WPs require high computational complexity and memory access overhead. In the present invention, a sensor-triggered WP is proposed to activate the WP in a timely manner. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 일 실시예에 따른 센서 기반 가중치 예측 방법을 설명하기 위한 흐름도이다. 2 is a flowchart illustrating a sensor-based weight prediction method according to an embodiment of the present invention.

WP가 HEVC 인코더에서 온(on) 상태일 때, 강도 보상이 적용되는지 여부를 결정하기 위해 전-처리(pre-processing)가 수행된다. 먼저, 가중치 및 오프셋 값은 현재 및 기준 프레임의 픽셀 강도에 기초하여 계산된다. 가중치는 현재 프레임과 기준 프레임의 두 픽셀 편차의 비율이다. 픽셀 편차는 각 픽셀 강도와 평균 픽셀 강도 간 차이의 합이다. 오프셋은 기준 프레임의 평균 픽셀 강도에 가중치를 곱한 다음, 이 값을 현재 프레임의 평균 픽셀 강도에서 빼는 방식으로 계산된다. 다음으로, SADi 와 SADi,wp가 얻어지고 비교된다. SADi는 픽셀 단위로 현재 및 i 번째(ith) 기준 프레임 간의 절대 차의 합을 나타내지만, SADi,w는 i 번째 기준 프레임의 픽셀에 대해 가중치가 곱해지고 오프셋이 추가되는 것과 유사한 방식으로 얻어진다. SADi,wp가 SADi,보다 작은 경우, 가중되고 예측된 기준 프레임이 inter-예측에 사용된다. 이 가중 예측을 수행하려면, 가중치 및 오프셋 값을 모든 기준 프레임에 대해 계산해야 한다. 또한, SAD 계산 및 비교가 필요하다. 계산 복잡도는 기준 프레임 수와 비디오 해상도에 비례하여 증가한다. 대부분의 기준 프레임이 외부 메모리에 저장되므로 필요한 메모리 대역폭도 커지게 된다. 1920x1080 크기의 비디오의 경우, 하나의 기준 프레임에 2MB의 메모리 읽기가 필요하다. 4개의 기준 프레임이 인코딩에 사용될 때, 필요한 메모리 대역폭은 WP에 대해서만 8MB가 된다. 이러한 중요한 계산 및 메모리 액세스 오버 헤드에도 불구하고, 조명이 변경되지 않으면 WP의 이점은 미미해 질 것이다.When the WP is in an on state in the HEVC encoder, pre-processing is performed to determine whether the intensity compensation is applied. First, the weights and offset values are calculated based on the pixel intensities of the current and reference frames. The weight is the ratio of the two pixel deviations of the current frame and the reference frame. The pixel deviation is the sum of the differences between each pixel intensity and the average pixel intensity. The offset is calculated by multiplying the average pixel intensity of the reference frame by a weight and then subtracting this value from the average pixel intensity of the current frame. Next, SAD i and SAD i, wp are obtained and compared. SAD i represents the sum of the absolute differences between the current and ith (i th ) reference frames in pixel units, but SAD i, w is calculated in a manner similar to multiplying weights and adding offsets to the pixels of the ith reference frame . If SAD i, wp is less than SAD i , the weighted and predicted reference frame is used for inter-prediction. To perform this weighted prediction, weights and offset values must be calculated for all reference frames. In addition, SAD calculation and comparison are required. The computational complexity increases in proportion to the number of reference frames and the video resolution. Since most of the reference frames are stored in external memory, the required memory bandwidth also increases. For 1920x1080 sized video, 2MB of memory reads are required in one frame of reference. When four reference frames are used for encoding, the required memory bandwidth is only 8 MB for WP. Despite this significant computation and memory access overhead, the benefits of WP will be negligible if the illumination does not change.

제안하는 HEVC 인코딩에서 조도 센서 기반의 가중치 예측 방법은 센서로부터 수신한 센서 데이터의 변화 레이트를 임계값과 비교하는 단계, 센서 데이터의 변화 레이트가 임계값 보다 높은 경우, 가중치 및 오프셋 값을 계산하는 단계, 가중치 및 오프셋 값을 계산한 후, AE 플래그를 1로 설정하고, 계산된 가중치 및 오프셋 값을 사용하여 현재 프레임이 WP 구성으로 인코딩되는 단계, 센서 데이터의 변화 레이트가 임계값 보다 낮은 경우, AE를 판단하여 판단된 AE에 따라 가중치를 추정하고, 추정된 가중치와 기본값(default)을 비교하여 AE 플래그를 설정하는 단계를 포함한다. In the proposed HEVC encoding, weighting based prediction method based on an illuminance sensor compares the rate of change of sensor data received from a sensor with a threshold value, calculating weight and offset values when the rate of change of sensor data is higher than a threshold value , Calculating a weight and an offset value, then setting the AE flag to 1, encoding the current frame in the WP configuration using the calculated weight and offset values, and if the rate of change of the sensor data is lower than the threshold value, Estimating a weight according to the determined AE, and comparing the estimated weight with a default value to set an AE flag.

먼저, 센서로부터 수신한 센서 데이터의 변화 레이트를 임계값과 비교한다(210). 본 발명에서는, WP의 이점을 이용하여 계산 복잡도와 메모리 접근 오버 헤드를 줄이기 위해 센서-트리거 WP를 제안하였다. 특히, 급격한 조명 변화 후의 AE에 집중한다. 도 2에서, 인코더는 카메라로부터의 프레임뿐만 아니라 센서로부터의 조명 정보를 수용한다. 현재 프레임을 인코딩하기 전에, 조명 변화가 검사된다. 주어진 임계 값보다 큰 변화율은 갑작스러운 조명 변화를 나타낸다. 결과적으로, 이것은 AE로 연결된다. First, the rate of change of the sensor data received from the sensor is compared with a threshold value (210). In the present invention, a sensor-triggered WP is proposed to reduce computational complexity and memory access overhead using the advantages of WP. Especially, it focuses on AE after sudden illumination change. In Fig. 2, the encoder receives illumination information from the sensor as well as frames from the camera. Before encoding the current frame, the illumination change is checked. A rate of change greater than a given threshold represents a sudden change in illumination. As a result, this leads to AE.

센서 데이터의 변화 레이트가 임계값 보다 높은 경우, 가중치 및 오프셋 값을 계산한다(221). 가중치 및 오프셋 값은 위에서 설명된 것과 같은 방법으로 계산된다.  If the rate of change of the sensor data is higher than the threshold value, a weight value and an offset value are calculated (221). The weights and offset values are calculated in the same manner as described above.

이후, AE 플래그는 1로 설정된다(222). 그리고, 계산된 가중치 및 오프셋 값을 사용하여 현재 프레임이 WP 구성으로 인코딩된다(240).Thereafter, the AE flag is set to 1 (222). Then, the current frame is encoded into the WP configuration using the calculated weight and offset values (240).

반면에, 단계(210)에서 센서로부터 수신한 센서 데이터의 변화 레이트를 임계값과 비교하여 센서 데이터의 변화 레이트가 임계값 보다 낮은 경우에 대하여 아래에서 설명한다. On the other hand, a case in which the rate of change of the sensor data received from the sensor in step 210 is compared with the threshold value and the rate of change of the sensor data is lower than the threshold value will be described below.

센서 데이터의 변화 레이트가 임계값 보다 낮은 경우, AE를 판단하여 판단된 AE에 따라 가중치를 추정하고, 추정된 가중치와 기본값을 비교하여 AE 플래그를 설정하는 단계는, 센서 데이터의 변화 레이트가 임계값 보다 낮은 경우, AE를 판단하는 단계(231), 판단된 AE가 1인 경우, 가중치를 추정하는 단계(232), 추정된 가중치와 기본값을 비교하는 단계(233), 추정된 가중치와 기본값이 같을 경우, AE 플래그를 0으로 설정하고, 센서로부터 수신한 센서 데이터에 기반하여 WP의 적용여부를 결정하는 단계(234), 추정된 가중치와 기본값이 같지 않을 경우, 센서로부터 수신한 센서 데이터에 기반하여 WP의 적용여부를 결정하는 단계(240)를 포함한다. The step of estimating a weight based on the determined AE when the rate of change of the sensor data is lower than the threshold value and the step of comparing the estimated weight with the default value to set the AE flag may include: A step 231 of determining AE, a step 232 of estimating a weight when the determined AE is 1, a step 233 of comparing an estimated weight with a default value 233, A step 234 of setting the AE flag to 0 and determining whether WP is applied based on the sensor data received from the sensor, and if the estimated weight is not the same as the default value, based on the sensor data received from the sensor And determining whether to apply the WP (step 240).

다시 말해, 조명 변화율이 주어진 임계 값보다 작은 경우, AE 플래그가 검사된다(231). 제로인 AE 플래그는 이전에 갑작스런 조명 변경이 없었으므로 현재 AE 효과는 없다는 것을 의미한다. 이 경우, WP는 필요하지 않다. 따라서 가중치 및 오프셋 값은 기본값(default), 0으로 설정된다(235). 이러한 기본값 설정은 실제로 WP를 비활성화한다(240). In other words, if the rate of change of illumination is less than a given threshold, the AE flag is checked (231). The zero AE flag means there is no current AE effect since there was no sudden light change in the past. In this case, WP is not required. Thus, the weight and offset values are set to default (0) (235). This default setting actually disables WP (240).

단계(231)에서의 AE 판단결과가 AE=1일 경우, 다음 입력 프레임이 점차 어두워지거나 밝아진다. 여기에서 가중치가 추정된다(232).If the AE determination result in step 231 is AE = 1, the next input frame gradually becomes darker or brighter. Here, a weight is estimated (232).

예를 들어, 처음 3개의 프레임에서, 가중치는 위에서 설명된 것과 같은 방식으로 픽셀 강도로부터 계산된다. 초기 계산 값으로부터, AE 효과로 인해 픽셀 강도가 선형적으로 변경되기 때문에 나머지 가중치가 추정된다. For example, in the first three frames, the weights are calculated from the pixel intensities in the same manner as described above. From the initial calculation, the remaining weights are estimated since the pixel intensity changes linearly due to the AE effect.

추정된 가중치와 기본값을 비교(233)하여 추정된 가중치가 기본값에 도달한 경우, AE 효과는 종료되고 AE 플래그는 0으로 설정된다(234). 이후, 제안된 방식은 센서로부터의 정보에 기초하여 WP가 적용되는지 여부를 결정한다(240).
If the estimated weight is compared with the default weight (233) and the estimated weight reaches the default value, the AE effect is terminated and the AE flag is set to 0 (234). Thereafter, the proposed method determines whether WP is applied (240) based on the information from the sensor.

도 3은 본 발명의 일 실시예에 따른 센서 기반 가중치 예측 장치의 구성을 나타내는 도면이다.3 is a block diagram of a sensor-based weight prediction apparatus according to an embodiment of the present invention.

제안하는 HEVC 인코딩에서 조도 센서 기반의 가중치 예측 장치는 센서(310), 비교부(320), 계산부(330), 인코딩부(350), 가중치 추정부(360), 제어부(340)를 포함한다. In the proposed HEVC encoding, an illuminance sensor-based weight prediction apparatus includes a sensor 310, a comparison unit 320, a calculation unit 330, an encoding unit 350, a weight estimation unit 360, and a control unit 340 .

비교부(320)는 센서(310)로부터 수신한 센서 데이터의 변화 레이트를 임계값과 비교하고, 센서 데이터의 변화 레이트가 임계값 보다 낮은 경우, AE를 판단하고, AE를 판단결과에 따라 추정된 가중치와 기본값을 비교한다. The comparator 320 compares the rate of change of the sensor data received from the sensor 310 with a threshold value. When the rate of change of the sensor data is lower than the threshold, the comparator 320 determines the AE. Compare the weights with the default values.

계산부(330)는 센서 데이터의 변화 레이트가 임계값 보다 높은 경우, 가중치 및 오프셋 값을 계산한다. The calculation unit 330 calculates a weight value and an offset value when the rate of change of the sensor data is higher than the threshold value.

인코딩부(350)는 계산부에서 계산된 가중치 및 오프셋 값을 사용하여 현재 프레임이 WP 구성으로 인코딩된다. The encoding unit 350 encodes the current frame in the WP configuration using the weight and offset values calculated in the calculation unit.

상기 비교부에서 판단된 AE가 1인 경우, 가중치 추정부(360)는 가중치를 추정한다. If the AE determined by the comparison unit is 1, the weight estimation unit 360 estimates a weight.

제어부(340)는 상기 가중치 추정부로부터 추정된 가중치와 기본값을 상기 비교부를 통해 비교하여, 비교 결과에 따라 AE 플래그를 설정하고, 센서로부터 수신한 센서 데이터에 기반하여 WP의 적용여부를 결정한다. 아래에서 제안하는 HEVC 인코딩에서 조도 센서 기반의 가중치 예측 장치의 동작에 대하여 더욱 상세히 설명한다. The control unit 340 compares the weights and default values estimated from the weight estimation unit through the comparison unit, sets the AE flag according to the comparison result, and determines whether to apply the WP based on the sensor data received from the sensor. The operation of the weight prediction device based on the illuminance sensor in the HEVC encoding proposed below will be described in more detail.

먼저, 센서(310)로부터 수신한 센서 데이터의 변화 레이트를 비교부(320)를 통해 임계값과 비교한다. 본 발명에서는, WP의 이점을 이용하여 계산 복잡도와 메모리 접근 오버 헤드를 줄이기 위해 센서-트리거 WP를 제안하였다. 특히, 급격한 조명 변화 후의 AE에 집중한다. 도 2에서, 인코더는 카메라로부터의 프레임뿐만 아니라 센서(310)로부터의 조명 정보를 수용한다. 현재 프레임을 인코딩하기 전에, 조명 변화가 검사된다. 주어진 임계 값보다 큰 변화율은 갑작스러운 비교부(320)를 통해 조명 변화를 나타낸다. 결과적으로, 이것은 AE로 연결된다. First, the rate of change of the sensor data received from the sensor 310 is compared with a threshold value through the comparing unit 320. In the present invention, a sensor-triggered WP is proposed to reduce computational complexity and memory access overhead using the advantages of WP. Especially, it focuses on AE after sudden illumination change. In Fig. 2, the encoder accepts illumination information from the sensor 310 as well as frames from the camera. Before encoding the current frame, the illumination change is checked. A rate of change greater than a given threshold represents a change in illumination through the abrupt comparator 320. As a result, this leads to AE.

센서 데이터의 변화 레이트가 임계값 보다 높은 경우, 계산부(330)를 통해 가중치 및 오프셋 값을 계산한다. 가중치 및 오프셋 값은 위에서 설명된 것과 같은 방법으로 계산된다.  When the rate of change of the sensor data is higher than the threshold value, the weight and offset values are calculated through the calculation unit 330. The weights and offset values are calculated in the same manner as described above.

이후, 제어부(340)를 통해 AE 플래그는 1로 설정된다. 그리고, 인코딩부(350)에서 계산된 가중치 및 오프셋 값을 사용하여 현재 프레임이 WP 구성으로 인코딩된다.Thereafter, the AE flag is set to 1 through the control unit 340. Then, the current frame is encoded into the WP configuration using the weight value and the offset value calculated in the encoding unit 350.

반면에, 센서(310)로부터 수신한 센서 데이터의 변화 레이트를 비교부(320)를 통해 임계값과 비교하여 센서 데이터의 변화 레이트가 임계값 보다 낮은 경우에 대하여 아래에서 설명한다. On the other hand, a case where the rate of change of the sensor data received from the sensor 310 is compared with the threshold value through the comparing unit 320 and the rate of change of the sensor data is lower than the threshold value will be described below.

센서 데이터의 변화 레이트가 임계값 보다 낮은 경우, 비교부(320)를 통해 AE를 판단한다. 판단된 AE가 1인 경우, 가중치 추정부(360)를 통해 가중치를 추정한다. 그리고, 추정된 가중치와 기본값을 비교부(320)를 통해 비교 한다. If the rate of change of the sensor data is lower than the threshold value, the comparator 320 determines the AE. If the determined AE is 1, the weight estimation unit 360 estimates a weight. The comparison unit 320 compares the estimated weight and the default value.

추정된 가중치와 기본값이 같을 경우, 제어부(340)를 통해 AE 플래그를 0으로 설정한다. 그리고, 센서(310)로부터 수신한 센서 데이터에 기반하여 WP의 적용여부를 결정한다. If the estimated weight is the same as the default value, the AE flag is set to 0 through the control unit 340. Based on the sensor data received from the sensor 310, it is determined whether or not the WP is applied.

반면에, 추정된 가중치와 기본값이 같지 않을 경우, 제어부(340)를 통해 센서(310)로부터 수신한 센서 데이터에 기반하여 WP의 적용여부를 결정한다. On the other hand, if the estimated weight is not the same as the default value, the control unit 340 determines whether to apply the WP based on the sensor data received from the sensor 310.

다시 말해, 조명 변화율이 주어진 임계 값보다 작은 경우, AE 플래그가 비교부(320)를 통해 검사된다. 제로인 AE 플래그는 이전에 갑작스런 조명 변경이 없었으므로 현재 AE 효과는 없다는 것을 의미한다. 이 경우, WP는 필요하지 않다. 따라서 가중치 및 오프셋 값은 제어부(340)를 통해 기본값(default), 0으로 설정된다. 이러한 기본값 설정은 실제로 인코딩부(350)에서 WP를 비활성화한다. In other words, when the illumination change rate is smaller than a given threshold value, the AE flag is checked through the comparison unit 320. [ The zero AE flag means there is no current AE effect since there was no sudden light change in the past. In this case, WP is not required. Therefore, the weight value and the offset value are set to default (default) 0 through the control unit 340. This default setting actually disables WP in the encoding unit 350. [

비교부(320)를 통한 AE 판단결과가 AE=1일 경우, 다음 입력 프레임이 점차 어두워지거나 밝아진다. 여기에서 가중치 추정부(360)를 통해 가중치가 추정된다.When the AE determination result through the comparison unit 320 is AE = 1, the next input frame gradually becomes darker or brighter. Here, the weight value is estimated through the weight value estimator 360.

예를 들어, 처음 3개의 프레임에서, 가중치는 위에서 설명된 것과 같은 방식으로 픽셀 강도로부터 계산된다. 초기 계산 값으로부터, AE 효과로 인해 픽셀 강도가 선형적으로 변경되기 때문에 나머지 가중치가 추정된다. For example, in the first three frames, the weights are calculated from the pixel intensities in the same manner as described above. From the initial calculation, the remaining weights are estimated since the pixel intensity changes linearly due to the AE effect.

추정된 가중치와 기본값을 비교부(320)를 통해 비교하고, 추정된 가중치가 기본값에 도달한 경우, 제어부(340)를 통해 AE 효과는 종료되고 AE 플래그는 0으로 설정된다. 이후, 센서(310)로부터의 정보에 기초하여 WP가 적용되는지 여부를 결정한다.When the estimated weight reaches the default value, the AE effect is terminated and the AE flag is set to 0 through the control unit 340. The AE flag is set to " 0 " Then, based on the information from the sensor 310, it is determined whether WP is applied.

제안된 HEVC 인코딩에서 조도 센서 기반의 가중치 예측 방법 및 장치의 성능 테스트에서, 예를 들어 광을 켜고 끄는 조작에 의해 AE 효과가 생성되었다. In the performance test of the method and apparatus for predicting weights based on the illuminance sensor in the proposed HEVC encoding, for example, the AE effect was generated by turning on and off the light.

<표 1><Table 1>

Figure 112016127889073-pat00001
Figure 112016127889073-pat00001

<표 2><Table 2>

Figure 112016127889073-pat00002
Figure 112016127889073-pat00002

<표 3><Table 3>

Figure 112016127889073-pat00003
Figure 112016127889073-pat00003

표 1를 참조하면, 테스트 1에서는 300 프레임 동안 5회의 갑작스런 조명 변화가 발생하지만, 테스트 2에서는 900 프레임 동안 두 번의 갑작스러운 조명 변화가 발생한다. 테스트 비디오는 낮은 지연 P 구성의 HEVC 기준 소프트웨어 HM13.0을 사용하여 인코딩 되었다. 기준 프레임의 수는 1이고 양자화 파라미터는 32로 설정된다. 표 1, 표 2 및 표 3에서, HM13.0의 가중 예측 옵션을 나타내는 WP Off 및 WP On은 각각 오프 및 온이다. 표 1은 WP Off와 WP On에 비해 제안된 알고리즘의 압축 효율을 보여준다. 제안된 알고리즘의 비트율은 WP On과 Off 사이에 있다. 추정 오류와 오직 AE에 대한 WP 활성화는 WP On에 비해 비트율 증가를 야기시킨다. 표 2와 표 3은 WP 오버 헤드를 보여준다. WP가 항상 On이면, 필요한 계산 및 읽기 대역폭 오버 헤드가 중요하다. 그러나, 제안된 기법에서, WP에 대한 추가적인 오버 헤드는 센서 정보에 기반하여 적시에 발생한다.Referring to Table 1, in test 1, five sudden light changes occur during 300 frames, while in test two, two sudden light changes occur during 900 frames. The test video was encoded using the HEVC reference software HM13.0 with low delay P configuration. The number of reference frames is set to 1 and the quantization parameter is set to 32. [ In Tables 1, 2 and 3, WP Off and WP On, which represent the weighted prediction options of HM13.0, are off and on, respectively. Table 1 shows the compression efficiency of the proposed algorithm compared to WP Off and WP On. The bit rate of the proposed algorithm is between WP On and Off. Estimation error and WP activation only for AE cause bit rate increase compared to WP On. Table 2 and Table 3 show WP overhead. If WP is always On, the necessary computation and read bandwidth overhead is important. However, in the proposed technique, the additional overhead for WP occurs in a timely manner based on the sensor information.

이와 같이, 본 발명의 실시예들에 따르면 계산 복잡도와 메모리 접근 오버 헤드를 줄이기 위해 WP의 이점을 이용하는 고효율 비디오 코딩을 위한 센서-트리거 가중치 예측 방법 및 장치를 이용함으로써 WP에 대한 추가적인 오버 헤드가 센서 정보에 기반하여 적시에 발생할 수 있다.
Thus, in accordance with embodiments of the present invention, the additional overhead for the WP is reduced by using a sensor-trigger weight prediction method and apparatus for high-efficiency video coding that utilizes the advantages of WP to reduce computational complexity and memory access overhead, It can happen on a timely basis based on information.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPA(field programmable array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다.  또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다.  이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다.  예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다.  또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The apparatus described above may be implemented as a hardware component, a software component, and / or a combination of hardware components and software components. For example, the apparatus and components described in the embodiments may be implemented within a computer system, such as, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable array (FPA) A programmable logic unit (PLU), a microprocessor, or any other device capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to execution of the software. For ease of understanding, the processing apparatus may be described as being used singly, but those skilled in the art will recognize that the processing apparatus may have a plurality of processing elements and / As shown in FIG. For example, the processing unit may comprise a plurality of processors or one processor and one controller. Other processing configurations are also possible, such as a parallel processor.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다.  소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치에 구체화(embody)될 수 있다.  소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of the foregoing, and may be configured to configure the processing device to operate as desired or to process it collectively or collectively Device can be commanded. The software and / or data may be in the form of any type of machine, component, physical device, virtual equipment, computer storage media, or device As shown in FIG. The software may be distributed over a networked computer system and stored or executed in a distributed manner. The software and data may be stored on one or more computer readable recording media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다.  상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다.  상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다.  컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다.  프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.  The method according to an embodiment may be implemented in the form of a program command that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions to be recorded on the medium may be those specially designed and configured for the embodiments or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다.  예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. For example, it is to be understood that the techniques described may be performed in a different order than the described methods, and / or that components of the described systems, structures, devices, circuits, Lt; / RTI &gt; or equivalents, even if it is replaced or replaced.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.
Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.

Claims (8)

센서 기반의 가중치 예측 방법에 있어서,
센서로부터 수신한 센서 데이터의 시간당 밝기의 변화의 정도를 나타내는 변화 레이트를 임계값과 비교하는 단계;
센서 데이터의 상기 변화 레이트가 임계값 보다 높은 경우, 가중치 및 오프셋 값을 계산하는 단계;
가중치 및 오프셋 값을 계산한 후, 자동 노출 플래그를 1로 설정하고, 계산된 가중치 및 오프셋 값을 사용하여 현재 프레임이 가중치 예측 구성으로 인코딩되는 단계; 및
센서 데이터의 상기 변화 레이트가 임계값 보다 낮은 경우, 자동 노출을 판단하여 판단된 자동 노출에 따라 가중치를 추정하고, 추정된 가중치와 기본값을 비교하여 자동 노출 플래그를 설정하는 단계
를 포함하는 조도 센서 기반의 가중치 예측 방법.
In a sensor-based weight prediction method,
Comparing a rate of change representing a degree of change in brightness per hour of sensor data received from the sensor with a threshold value;
Calculating a weight and an offset value if the rate of change of the sensor data is higher than a threshold value;
Calculating a weight and an offset value, then setting the auto exposure flag to one, and using the calculated weight and offset values to encode the current frame into a weighted prediction configuration; And
Estimating a weight based on the determined automatic exposure when the rate of change of the sensor data is lower than a threshold value, setting an automatic exposure flag by comparing the estimated weight with a default value
Wherein the weighting factor is a weighted value.
제1항에 있어서,
센서 데이터의 상기 변화 레이트가 임계값 보다 낮은 경우, 자동 노출을 판단하여 판단된 자동 노출에 따라 가중치를 추정하고, 추정된 가중치와 기본값을 비교하여 자동 노출 플래그를 설정하는 단계는,
센서 데이터의 상기 변화 레이트가 임계값 보다 낮은 경우, 자동 노출 플래그를 판단하는 단계;
판단된 자동 노출 플래그가 1인 경우, 가중치를 추정하는 단계;
추정된 가중치와 기본값을 비교하는 단계;
추정된 가중치와 기본값이 같을 경우, 자동 노출 플래그를 0으로 설정하고, 센서로부터 수신한 센서 데이터에 기반하여 가중치 예측의 적용여부를 결정하는 단계; 및
추정된 가중치와 기본값이 같지 않을 경우, 센서로부터 수신한 센서 데이터에 기반하여 가중치 예측의 적용여부를 결정하는 단계
를 포함하는 조도 센서 기반의 가중치 예측 방법.
The method according to claim 1,
Wherein the step of estimating a weight based on the determined automatic exposure when the rate of change of the sensor data is lower than the threshold value and determining the automatic exposure by comparing the estimated weight with the default value,
Determining the automatic exposure flag if the rate of change of the sensor data is lower than a threshold value;
Estimating a weight when the determined automatic exposure flag is 1;
Comparing the estimated weight with a default value;
Setting the automatic exposure flag to 0 if the estimated weight is the same as the default value, and determining whether to apply the weight prediction based on the sensor data received from the sensor; And
Determining whether the weighted prediction is applied based on the sensor data received from the sensor if the estimated weight is not the same as the default weighted value
Wherein the weighting factor is a weighted value.
제2항에 있어서,
상기 판단된 자동 노출 플래그가 1인 경우, 가중치를 추정하는 단계는,
초기 3개의 프레임에서의 가중치는 픽셀 강도로부터 계산되고, 초기 3개의 프레임에 대해 계산된 초기 계산 값에 의한 자동 노출 효과에 따라 픽셀 강도가 선형적으로 변경됨으로써 나머지 프레임에서의 가중치가 추정되는
조도 센서 기반의 가중치 예측 방법.
3. The method of claim 2,
Wherein when the determined automatic exposure flag is 1, estimating a weight includes:
The weights in the initial three frames are calculated from the pixel intensities and the pixel intensity is linearly changed according to the automatic exposure effect by the initial calculated values for the initial three frames so that the weights in the remaining frames are estimated
Weighting Prediction Method Based on Light Sensor.
제2항에 있어서,
판단된 자동 노출 플래그가 0인 경우, 가중치 및 오프셋 값을 기본값으로 설정하고, 가중치 예측을 비활성하는 단계
를 더 포함하는 조도 센서 기반의 가중치 예측 방법.
3. The method of claim 2,
If the determined automatic exposure flag is 0, setting the weight and offset values as default values and deactivating weight prediction
Based on the brightness sensor.
센서 기반의 가중치 예측 장치에 있어서,
센서로부터 수신한 센서 데이터의 시간당 밝기의 변화의 정도를 나타내는 변화 레이트 변화 레이트를 임계값과 비교하고, 센서 데이터의 상기 변화 레이트가 임계값 보다 낮은 경우, 자동 노출을 판단하고, 자동 노출 판단결과에 따라 추정된 가중치와 기본값을 비교하는 비교부;
상기 센서 데이터의 상기 변화 레이트가 임계값 보다 높은 경우, 가중치 및 오프셋 값을 계산하는 계산부;
상기 계산부에서 계산된 가중치 및 오프셋 값을 사용하여 현재 프레임이 가중치 예측 구성으로 인코딩되는 인코딩부;
상기 비교부에서 판단된 자동 노출 플래그가 1인 경우, 가중치를 추정하는 가중치 추정부; 및
상기 가중치 추정부로부터 추정된 가중치와 기본값을 상기 비교부를 통해 비교하여, 비교 결과에 따라 자동 노출 플래그를 설정하고, 센서로부터 수신한 센서 데이터에 기반하여 가중치 예측의 적용여부를 결정하는 제어부
를 포함하는 조도 센서 기반의 가중치 예측 장치.
A sensor-based weight prediction apparatus,
The rate of change of the rate of change of the brightness per unit time of the sensor data received from the sensor is compared with a threshold value and when the rate of change of the sensor data is lower than the threshold value, the automatic exposure is determined, A comparing unit comparing the estimated weight with a default value;
A calculation unit for calculating a weight value and an offset value when the rate of change of the sensor data is higher than a threshold value;
An encoding unit in which a current frame is encoded in a weight prediction configuration using the weight and offset values calculated in the calculation unit;
A weight estimator for estimating a weight when the automatic exposure flag determined by the comparator is 1; And
A controller for comparing the weight value estimated from the weight estimating unit with the default value through the comparing unit to set an automatic exposure flag according to a result of the comparison and determining whether to apply the weight prediction based on the sensor data received from the sensor,
And a weight sensor based on the brightness sensor.
제5항에 있어서,
상기 가중치 추정부는,
초기 3개의 프레임에서의 가중치는 픽셀 강도로부터 계산하고, 초기 3개의 프레임에 대해 계산된 초기 계산 값에 의한 자동 노출 효과에 따라 픽셀 강도가 선형적으로 변경됨으로써 나머지 프레임에서의 가중치를 추정하는
조도 센서 기반의 가중치 예측 장치.
6. The method of claim 5,
The weight-
The weights in the initial three frames are calculated from the pixel intensities and the pixel intensity is linearly changed according to the automatic exposure effect by the initial calculated values for the initial three frames to estimate the weights in the remaining frames
Weighting Prediction Device Based on Light Sensor.
제5항에 있어서,
상기 제어부는,
센서 데이터의 상기 변화 레이트가 임계값 보다 높은 경우, 계산부를 통해 가중치 및 오프셋 값을 계산한 후, 자동 노출 플래그를 1로 설정하는
조도 센서 기반의 가중치 예측 장치.
6. The method of claim 5,
Wherein,
When the rate of change of the sensor data is higher than the threshold value, the weight and offset values are calculated through the calculation unit, and then the automatic exposure flag is set to 1
Weighting Prediction Device Based on Light Sensor.
제5항에 있어서,
상기 제어부는,
센서 데이터의 상기 변화 레이트가 임계값 보다 낮고, 자동 노출 플래그가 1이고, 추정된 가중치와 기본값이 같을 경우, 자동 노출 플래그를 0으로 설정하고, 센서로부터 수신한 센서 데이터에 기반하여 가중치 예측의 적용여부를 결정하고,
센서 데이터의 상기 변화 레이트가 임계값 보다 낮고, 자동 노출 플래그가 1이고, 추정된 가중치와 기본값이 같지 않을 경우, 센서로부터 수신한 센서 데이터에 기반하여 가중치 예측의 적용여부를 결정하고,
센서 데이터의 상기 변화 레이트가 임계값 보다 낮고, 자동 노출 플래그가 0인 경우, 가중치 및 오프셋 값을 기본값으로 설정하고, 가중치 예측을 비활성하는
조도 센서 기반의 가중치 예측 장치.
6. The method of claim 5,
Wherein,
If the rate of change of the sensor data is lower than the threshold value, the automatic exposure flag is 1, and the default value is the same as the estimated weight, the automatic exposure flag is set to 0 and the weighted prediction is applied based on the sensor data received from the sensor And,
Determining whether the weight prediction is applied based on the sensor data received from the sensor when the rate of change of the sensor data is lower than the threshold, the auto exposure flag is 1, and the default weight is not the same as the estimated weight,
When the rate of change of the sensor data is lower than a threshold value and the auto exposure flag is 0, the weight and offset values are set to default values, and the weight prediction is disabled
Weighting Prediction Device Based on Light Sensor.
KR1020160179888A 2016-12-27 2016-12-27 Method and Apparatus for Sensor-Triggered Weighted Prediction for High Efficiency Video Coding Active KR101866101B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160179888A KR101866101B1 (en) 2016-12-27 2016-12-27 Method and Apparatus for Sensor-Triggered Weighted Prediction for High Efficiency Video Coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160179888A KR101866101B1 (en) 2016-12-27 2016-12-27 Method and Apparatus for Sensor-Triggered Weighted Prediction for High Efficiency Video Coding

Publications (1)

Publication Number Publication Date
KR101866101B1 true KR101866101B1 (en) 2018-06-08

Family

ID=62600270

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160179888A Active KR101866101B1 (en) 2016-12-27 2016-12-27 Method and Apparatus for Sensor-Triggered Weighted Prediction for High Efficiency Video Coding

Country Status (1)

Country Link
KR (1) KR101866101B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8135068B1 (en) * 2005-07-19 2012-03-13 Maxim Integrated Products, Inc. Method and/or architecture for motion estimation using integrated information from camera ISP
KR20150036761A (en) * 2012-09-28 2015-04-07 인텔 코포레이션 Inter-layer residual prediction
US9161058B2 (en) * 2010-03-27 2015-10-13 Texas Instruments Incorporated Method and system for detecting global brightness change for weighted prediction in video encoding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8135068B1 (en) * 2005-07-19 2012-03-13 Maxim Integrated Products, Inc. Method and/or architecture for motion estimation using integrated information from camera ISP
US9161058B2 (en) * 2010-03-27 2015-10-13 Texas Instruments Incorporated Method and system for detecting global brightness change for weighted prediction in video encoding
KR20150036761A (en) * 2012-09-28 2015-04-07 인텔 코포레이션 Inter-layer residual prediction

Similar Documents

Publication Publication Date Title
JP4529919B2 (en) Adaptive quantization apparatus and adaptive quantization program
US7760953B2 (en) Image processing apparatus and method, computer program, and storage medium with varied block shapes to execute motion detection
US8452120B2 (en) Image processing device and method
JPH06311506A (en) Interframe coding processing method, interframe coding processing method, and coding control method
US20090060045A1 (en) Moving picture encoding apparatus and moving picture encoding method
US20160165257A1 (en) Method and encoder for video encoding of a sequence of frames
RU2013112660A (en) METHOD AND SYSTEM FOR COMPENSATION OF LIGHTING AND TRANSITION WHEN CODING AND PROCESSING VIDEO SIGNAL
EP2727330B1 (en) Encoder-supervised imaging for video cameras
EP0800677B1 (en) Method and device for selectively compressing video codec
KR100561398B1 (en) Apparatus and method for detecting and compensating for luminance changes for each section in a moving picture
US20060256858A1 (en) Method and system for rate control in a video encoder
US11321390B2 (en) Video data generation apparatus, video data generation method, and program
US10666970B2 (en) Encoding apparatus, encoding method, and storage medium
JP2006135557A (en) Moving picture encoding device
KR101866101B1 (en) Method and Apparatus for Sensor-Triggered Weighted Prediction for High Efficiency Video Coding
JP2001251627A (en) Encoding device, encoding method, and recording medium recording program
WO2011114654A1 (en) Image encoder apparatus and camera system
JP5913929B2 (en) Moving picture coding apparatus, control method therefor, and computer program
TWI580256B (en) Code quantity control method and device
US20140219348A1 (en) Moving image encoding apparatus, control method thereof and computer program
US20060245656A1 (en) Image encoding device and image encoding method
JP2018050151A (en) Image coding device, image coding method, and computer program
JP2008252225A (en) Motion picture encoding device and method
JP2006246396A (en) Moving image processing apparatus, moving image processing method, and moving image processing program
KR102315524B1 (en) A method for adjusting bitrate of the image and image capture apparatus

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20161227

PA0201 Request for examination
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20180108

Patent event code: PE09021S01D

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20180530

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20180601

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20180601

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
PR1001 Payment of annual fee

Payment date: 20210601

Start annual number: 4

End annual number: 4

PR1001 Payment of annual fee

Payment date: 20220329

Start annual number: 5

End annual number: 5

PR1001 Payment of annual fee

Payment date: 20230320

Start annual number: 6

End annual number: 6

PR1001 Payment of annual fee

Payment date: 20250324

Start annual number: 8

End annual number: 8