WO2015089693A1 - Approximation method for division operation - Google Patents

Approximation method for division operation Download PDF

Info

Publication number
WO2015089693A1
WO2015089693A1 PCT/CN2013/089482 CN2013089482W WO2015089693A1 WO 2015089693 A1 WO2015089693 A1 WO 2015089693A1 CN 2013089482 W CN2013089482 W CN 2013089482W WO 2015089693 A1 WO2015089693 A1 WO 2015089693A1
Authority
WO
WIPO (PCT)
Prior art keywords
division operation
equal
approximation
dvx
integer
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.)
Ceased
Application number
PCT/CN2013/089482
Other languages
French (fr)
Inventor
Kai Zhang
Jicheng An
Xianguo Zhang
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MediaTek Singapore Pte Ltd
Original Assignee
MediaTek Singapore Pte Ltd
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 MediaTek Singapore Pte Ltd filed Critical MediaTek Singapore Pte Ltd
Priority to PCT/CN2013/089482 priority Critical patent/WO2015089693A1/en
Priority to PCT/CN2014/081460 priority patent/WO2015007159A1/en
Priority to CA2909550A priority patent/CA2909550C/en
Priority to US14/891,129 priority patent/US10045014B2/en
Priority to CN201480037699.7A priority patent/CN105359520B/en
Publication of WO2015089693A1 publication Critical patent/WO2015089693A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • 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/597Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding specially adapted for multi-view video sequence encoding

Definitions

  • the invention relates generally to approximation for division operation.
  • the presented invention relates to depth coding method in three-Dimensional (3D) video processing.
  • a disparity vector (DVx, 0) can be derived from its corresponding depth value (dep) by a linear relationship as
  • w and b are two camera parameters.
  • (1) is implemented in an integer form thus w and b can be transmitted from the encoder to the decoder as integers.
  • a DDD candidate When the collocated texture block of the current depth block is predicted by disparity- compensated prediction (DCP), a DDD candidate will be inserted into the merging candidate list right after the texture candidate.
  • DCP disparity- compensated prediction
  • a DDD candidate all prediction samples in the current block are set as dep calculated by (2), which is implemented in an integer form.
  • Fig. 1 shows the procedure to derive a depth value from its corresponding disparity vector. It should be noted that the DDD candidate is invalid on the base view since DCP is applied only on dependent views.
  • is an offset value
  • is set equal to 1 «( ⁇ + ⁇ ).
  • is set equal to (1«( + ⁇ ))+ yQ), where
  • Offset is set equal to ⁇ « ⁇ p + -l).
  • processors can be configured to perform particular tasks according to the invention, by executing machine-readable software code or firmware code that defines the particular methods embodied by the invention.
  • the software code or firmware codes may be developed in different programming languages and different format or style.
  • the software code may also be compiled for different target platform.
  • different code formats, styles and languages of software codes and other means of configuring code to perform the tasks in accordance with the invention will not depart from the spirit and scope of the invention.

Landscapes

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

Abstract

This contribution presents an approximation method for division operation. It is proposed to utilize operations of multiplication, addition (subtraction), shift and comparison to replace the division operation.

Description

APPROXIMATION METHOD FOR DIVISION OPERATION
TECHNICAL FIELD
[0001] The invention relates generally to approximation for division operation. In particular, the presented invention relates to depth coding method in three-Dimensional (3D) video processing. BACKGROUND
[0002] In the current 3D-HEVC (JCT3V-F1005), samples in the depth component are used to derive disparity vectors for texture component coding. A disparity vector (DVx, 0) can be derived from its corresponding depth value (dep) by a linear relationship as
DVx = wdep + b , (1)
[0003] where w and b are two camera parameters. In 3D-HEVC, (1) is implemented in an integer form thus w and b can be transmitted from the encoder to the decoder as integers.
[0004] A disparity derived depth (DDD) coding method is proposed to improve the coding efficiency for the depth component as proposed in . It can be seen from (1) that the conversion between a depth value dep and DVx is reversible. Thus, a depth value can also be derived from its corresponding disparity vector (DVx, DVy) as dep =— -DVx -- (2)
w w
[0005] When the collocated texture block of the current depth block is predicted by disparity- compensated prediction (DCP), a DDD candidate will be inserted into the merging candidate list right after the texture candidate. In a DDD candidate, all prediction samples in the current block are set as dep calculated by (2), which is implemented in an integer form. Fig. 1 shows the procedure to derive a depth value from its corresponding disparity vector. It should be noted that the DDD candidate is invalid on the base view since DCP is applied only on dependent views.
[0006] DDD involves division operations as revealed in (2). Since division is a high-cost operation and there is even no divider in some hardware design for video encoder/decoder, the division operation hampers the application of DDD. SUMMARY
[0007] In light of the previously described problems, an approximation method for division operation is invented. It is proposed to utilize operations of multiplication, addition, subtraction, shift, comparison, or any combination thereof to replace the division operation.
[0008] Other aspects and features of the invention will become apparent to those with ordinary skill in the art upon review of the following descriptions of specific embodiments.
BRIEF DESCRIPTION OF DRAWINGS
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
[0009] Fig. 1 is a diagram illustrating a depth value derived from its corresponding disparity vector.
DETAILED DESCRIPTION
[0010] The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
[0011] All variables in the following discussion are integers. And 2M should be calculated as l« in implementation.
[0012] In the first exemplary embodiment, Equation (2) is approximated without the division operation.
[0013] In the first step, (2) is rewritten as
1 b
dep = sign(w)(-.— ?*DVx - -.—) . (3)
w\ w\
[0014] It is obvious that
Figure imgf000004_0001
[0015] Denote Ω = [log2 |w|J . In practical, Ω can be obtained following the C-style pseudo codes as: Ω=0;
while( ((( 1 « Ω) « 1 ) <= |w| ) )
Ω++;
[0016] Thus
2Ω<|ιν|<2Ω+1 (5)
[0017] Therefore, for k satisfying
2M < k≤ 2M+l , (6)
it can be derived that
Figure imgf000005_0001
[0018] For k from 2Mto 2M+1 inclusively, there must be one k making k\w\ approaching 2M+n+l mostly. Such a k, denoted as a, can be obtained following the C-style pseudo codes as:
Figure imgf000005_0002
a = 2
for(k=2M;k<=2M+1;k++)
if(\k\w\-2M+n+l\<Eimn){
Emm = \k\w\-2M+n+l\
a = k;
}
[0019] Therefore, (4) can be derived as
( .
Figure imgf000005_0003
[0020] (8) can be calculated without division operations as
a-DVx-ab ¾ (a.DVx_ab + p) » ( + Ω + 1) , (9)
>Μ+Ω+1
where β is an offset value.
[0021] In the first embodiment, β is set equal to 1«( Μ+Ω).
[0022] In the second embodiment, β is set equal to (1«( +Ω))+ yQ), where
Figure imgf000005_0004
[0023] Q is a positive integer. In one embodiment, Q is set equal to (1«( +Ω-4).
[0024] From (3) and (9), (2) can be calculated approximately without a division as
dep * sign(w)[(a-DVx - ab + β) » (M + Ω + 1)] , (9) [0025] In the second exemplary embodiment, the precision of w and b considered. For example, (1) is rewritten as
DVx = (wdep + (b « q) + offset) » (p + q) , (11)
where p is the precision of w and b, q is the bit-depths of dep samples, which is 8 usually. Offset is set equal to \«{p + -l).
[0026] It can be derived from (11) that
2p+q 2qb 1 b '
dep = - DVx -— = -'DVx'-— (12)
W W W w
Where DVx '= 2p+q DVx and b '=2q b.
[0027] Following the same method in the first exemplary embodiment, (12) can be calculated approximately without a division as
dep « sign(w)[(ceDVx'- ab '+ β) » (M + Ω + 1)]
= sign(w)[((a « (p + q))»DVx - (a « q) + β) » (M + Ω + 1)] '
[0028] The proposed method described above can be used in a video encoder as well as in a video decoder. Embodiments of methods according to the present invention as described above may be implemented in various hardware, software codes, or a combination of both. For example, an embodiment of the present invention can be a circuit integrated into a video compression chip or program codes integrated into video compression software to perform the processing described herein. An embodiment of the present invention may also be program codes to be executed on a Digital Signal Processor (DSP) to perform the processing described herein. The invention may also involve a number of functions to be performed by a computer processor, a digital signal processor, a microprocessor, or field programmable gate array (FPGA). These processors can be configured to perform particular tasks according to the invention, by executing machine-readable software code or firmware code that defines the particular methods embodied by the invention. The software code or firmware codes may be developed in different programming languages and different format or style. The software code may also be compiled for different target platform. However, different code formats, styles and languages of software codes and other means of configuring code to perform the tasks in accordance with the invention will not depart from the spirit and scope of the invention.
[0029] The invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described examples are to be considered in all respects only as illustrative and not restrictive. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.

Claims

1. A method of making approximation for integer division operation, comprising utilizing operations of multiplication, addition, subtraction, shift, comparison, or any combination thereof to replace a division operation.
2. The method as claimed in claim 1 , wherein Ω = [log2 |w|J is calculated.
3. The method as claimed in claim 2, wherein k with minimal \k\w\ - 2S\ is found, denoted as a, where k is a positive integer.
4. The method as claimed in claim 3, wherein S is a positive integer greater than Ω.
5. The method as claimed in claim 4, wherein S is equal to +Ω + 1 and k is searched from a range of [2M +1,
6. The method as claimed in claim 5, wherein is a positive integer.
7. The method as claimed in claim 3, wherein b/w is approximated by sign(w)-((a-6+ ?)>> S).
8. The method as claimed in claim 7, wherein β is set equal to 1«(S-1).
9. The method as claimed in claim 7, wherein β is larger than 1«(S- 1) if a\w\ - 2S<Q; β is lower than 1«(S-1) if a\w\ - 2S>0; β is equal to 1«(S- 1) if a\w\ - 2S=0.
10. The method as claimed in claim 7, wherein β is set equal to (1«(S-1))+ .
1 1. The method as claimed in claim 7, wherein P is positive if a\w\ - 2S<Q; P is negative if a\w\
Figure imgf000007_0001
12. The method as claimed in claim 2, wherein the approximation method works in different ways depending on whether w is equal to 2Ω or not.
13. The method as claimed in claim 12, wherein b/w is approximated by (¾+(1«( Ω-1))>> Ω, if w is equal to 2Ω.
14. The method as claimed in claim 1 , wherein the approximation method for integer division operation is utilized in a video coding system.
15. The method as claimed in claim 14, wherein the approximation method for integer division operation is utilized in 3D video coding system.
PCT/CN2013/089482 2013-07-15 2013-12-16 Approximation method for division operation Ceased WO2015089693A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
PCT/CN2013/089482 WO2015089693A1 (en) 2013-12-16 2013-12-16 Approximation method for division operation
PCT/CN2014/081460 WO2015007159A1 (en) 2013-07-15 2014-07-02 Method of disparity derived depth coding in 3d video coding
CA2909550A CA2909550C (en) 2013-07-15 2014-07-02 Method of disparity derived depth coding in 3d video coding
US14/891,129 US10045014B2 (en) 2013-07-15 2014-07-02 Method of disparity derived depth coding in 3D video coding
CN201480037699.7A CN105359520B (en) 2013-07-15 2014-07-02 Depth coding method and device in 3D video coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/089482 WO2015089693A1 (en) 2013-12-16 2013-12-16 Approximation method for division operation

Publications (1)

Publication Number Publication Date
WO2015089693A1 true WO2015089693A1 (en) 2015-06-25

Family

ID=53401887

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/089482 Ceased WO2015089693A1 (en) 2013-07-15 2013-12-16 Approximation method for division operation

Country Status (1)

Country Link
WO (1) WO2015089693A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113812159A (en) * 2019-05-14 2021-12-17 北京字节跳动网络技术有限公司 Scaling method in video coding and decoding

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1532811A (en) * 2003-03-21 2004-09-29 ض� Precise sectioned polynomial approximation for yifuoleim-malah filter
US20130114688A1 (en) * 2011-11-07 2013-05-09 Louis Joseph Kerofsky Video Decoder with Constrained Dynamic Range
CN103237223A (en) * 2013-05-10 2013-08-07 北方工业大学 LCU (Largest Coding Unit) quick partition based on entropy

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1532811A (en) * 2003-03-21 2004-09-29 ض� Precise sectioned polynomial approximation for yifuoleim-malah filter
US20130114688A1 (en) * 2011-11-07 2013-05-09 Louis Joseph Kerofsky Video Decoder with Constrained Dynamic Range
CN103237223A (en) * 2013-05-10 2013-08-07 北方工业大学 LCU (Largest Coding Unit) quick partition based on entropy

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113812159A (en) * 2019-05-14 2021-12-17 北京字节跳动网络技术有限公司 Scaling method in video coding and decoding

Similar Documents

Publication Publication Date Title
WO2015000108A1 (en) An improved texture merging candidate in 3dvc
PH12017501470A1 (en) Motion vector derivation in video coding
JP6154075B2 (en) Object detection and segmentation method, apparatus, and computer program product
JP5996013B2 (en) Method, apparatus and computer program product for parallax map estimation of stereoscopic images
EP4012456A3 (en) Satellite navigation receiver with improved ambiguity resolution
WO2015006920A1 (en) An adaptive disparity vector derivation method
WO2013155662A1 (en) Methods and apparatuses of simplification for intra chroma lm mode
CA2909550A1 (en) Method of disparity derived depth coding in 3d video coding
WO2015003383A1 (en) Methods for inter-view motion prediction
EP4072143A3 (en) Overlapped motion compensation for video coding
WO2013106336A3 (en) Device and methods for merge list reordering in video coding
KR20190054890A (en) Apparatus and method of five dimensional (5d) video stabilization with camera and gyroscope fusion
EA201692086A1 (en) METHOD AND SYSTEM FOR IMPLEMENTING A WIRELESS DIGITAL WALL
TR201908304T4 (en) Method and apparatus for encoding or decoding an image with motion information estimation between layers according to the motion information compression scheme.
CN104574342A (en) Noise identification method and noise identification device for parallax depth image
EP3448016A3 (en) Photographing method and mobile terminal
MY194493A (en) High-level signaling for fisheye video data
MY210452A (en) Inter prediction method and apparatus, and corresponding encoder and decoder
WO2013102790A3 (en) Processing 3d image sequences
WO2014108784A3 (en) Enabling a user to control coded light sources
WO2013173670A3 (en) Processing panoramic pictures
ZA202301351B (en) Image encoding/decoding method and device
GB2567028A8 (en) 3D object composition as part of a 2D digital image through use of a visual guide
WO2015089693A1 (en) Approximation method for division operation
MX393188B (en) Spilling temporary results for accommodation of memory boundaries

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13899381

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13899381

Country of ref document: EP

Kind code of ref document: A1