Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
VIDEO COMPRESSION METHOD
Document Type and Number:
WIPO Patent Application WO/2014/053982
Kind Code:
A2
Abstract:
A video codec comprising: an encoding unit configured to encode a video; a reconstructing unit configured to reconstruct the encoded video, the reconstructing unit creating a bit stream of decoding data; and a decoding unit configured to receive the bit stream of decoding data and decode the video therewith.

Inventors:
BAR-ON ILAN (IL)
KOSTENKO OLEG (IL)
Application Number:
PCT/IB2013/059007
Publication Date:
April 10, 2014
Filing Date:
September 30, 2013
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
NUMERI LTD (IL)
Domestic Patent References:
WO2010024907A12010-03-04
WO2007036759A12007-04-05
WO2007020230A22007-02-22
Foreign References:
US20030021347A12003-01-30
Other References:
See references of EP 2904807A4
Attorney, Agent or Firm:
FOGEL, Ronny (12 Givatayim, IL)
Download PDF:
Claims:
CLAIMS

1. A method of encoding video, comprising:

receiving a video;

performing a shrink operation on said received video, said shrink operation

comprising:

creating a first lower resolution video from said video; and

sequentially creating additional N-1 lower resolution videos, each one of said additional lower resolution videos created from said preceding lower resolution video; compressing the lowest resolution video;

creating a lowest resolution reconstructed video by decompressing said lowest resolution compressed video;

performing a first raise operation on said lowest resolution reconstructed video, said first raise operation comprising sequentially creating N higher resolutions reconstructed videos, each one of said higher resolution reconstructed videos created from said preceding lower resolution reconstructed video by:

creating a higher resolution video from said lower resolution reconstructed video; computing a residual between said respective lower resolution video and said created higher resolution video;

compressing said computed residual;

decompressing said compressed residual; and

combining said decompressed residual with said created higher resolution video, yielding the respective higher resolution reconstructed video; and

providing a bit stream comprising said lowest resolution compressed video, said compressed residuals and control information comprising said N.

2. The method of claim 1 , wherein said bit stream comprises low pass analysis filters and wherein creating a lower resolution video comprises applying a low pass analysis filter to a video.

3. The method of claim 1 , wherein said bit stream comprises blurring and down sampling operators and wherein creating a lower resolution video comprises applying a blurring operator to a video and applying a down sampling operator to the blur operation result.

4. The method of claim 2, wherein said bit stream comprises blurring and down sampling operators and wherein said low pass analysis filters are computed from said blurring and down sampling operators.

5. The method of claim 1 , wherein said bit stream comprises low pass synthesis filters and wherein creating a higher resolution video comprises applying a low pass synthesis filter to a lower resolution reconstructed video.

6. The method of claim 1 , wherein said bit stream comprises up sampling, interpolation, oracle and deblurring operators and wherein creating a higher resolution video comprises: a. applying an up sampling operator followed by an interpolation operator to a lower resolution reconstructed video;

b. applying an oracle operator to the interpolation operation result; and

c. applying a deblurring operator to the oracle operation result.

7. The method of claim 5, wherein said bit stream comprises up sampling, interpolation, oracle and deblurring operators and wherein said low pass synthesis filters are computed from said up sampling, interpolation, oracle and deblurring operators.

8. The method of claim 1 , wherein computing a residual comprises calculating the difference between the respective lower resolution video and the higher resolution video.

9. The method of claim 8, wherein said bit stream comprises high pass analysis filters and wherein computing the residuals additionally comprises applying high pass analysis filters to the calculated difference.

10. The method of claim 9 wherein said high pass analysis filters are computed from said calculated difference.

1 1. The method of claim 1 , wherein computing the higher resolution reconstructed video

comprises adding the decompressed residual to the higher resolution video.

12. The method of claim 1 , wherein said bit stream comprises high pass synthesis filters and wherein creating the higher resolution reconstructed video comprises applying the high pass synthesis filters to the respective decompressed residuals and adding the results to the higher resolution video.

13. The method of claim 12 wherein said high pass synthesis filters are computed from low pass and high pass analysis filters and low pass synthesis filters.

14. A method of decoding a video encoded according to the method of claim 1 , comprising: receiving and processing said bit stream comprising said lowest resolution compressed video, said compressed residuals and said control information;

creating a lowest resolution reconstructed video by decompressing said lowest resolution compressed video; and

performing a second raise operation on said lowest resolution reconstructed video, said second raise operation comprising sequentially creating N higher resolutions reconstructed videos, each one of said higher resolution reconstructed videos created from said preceding lower resolution reconstructed video by:

creating a higher resolution video from said lower resolution reconstructed video; decoding the residual between said respective lower resolution video and said created higher resolution video; and

combining said decoded residual with said created higher resolution video, yielding the respective higher resolution reconstructed video.

15. The method of claim 14, wherein said bit stream comprises low pass synthesis filters and wherein creating a higher resolution video comprises applying a low pass synthesis filter to a lower resolution reconstructed video.

16. The method of claim 14, wherein said bit stream comprises up sampling, interpolation, oracle and deblurring operators and wherein creating a higher resolution video comprises: a. applying an up sampling operator followed by an interpolation operator to a lower resolution reconstructed video;

b. applying an oracle operator to the interpolation operation result; and

c. applying a deblurring operator to the oracle operation result.

17. The method of claim 15, wherein said bit stream comprises up sampling, interpolation, oracle and deblurring operators and wherein said low pass synthesis filters are computed from said up sampling, interpolation, oracle and deblurring operators.

18. The method of claim 14, wherein computing the higher resolution reconstructed video comprises adding the decompressed residual to the higher resolution video.

19. The method of claim 14, wherein said bit stream comprises high pass synthesis filters and wherein creating the higher resolution reconstructed video comprises applying the high pass synthesis filters to the respective decompressed residuals and adding the results to the higher resolution video.

20. The method of claim 19 wherein said high pass synthesis filters are computed from low pass and high pass analysis filters and low pass synthesis filters.

21. A video codec comprising:

an encoding unit configured to encode a video;

a reconstructing unit configured to reconstruct said encoded video, the reconstructing unit creating a bit stream of decoding data; and

a decoding unit configured to receive the bit stream of decoding data and decode the video therewith.

22. The video codec of claim 21 , wherein the encoding unit is configured to:

receive a video;

perform a shrink operation on said received video, said shrink operation comprising: creating a first lower resolution video from said video;

sequentially creating additional N-1 lower resolution videos, each one of said additional lower resolution videos created from said preceding lower resolution video; and compressing the lowest resolution video.

23. The video codec of claim 22, wherein the reconstructing unit is configured to:

create a lowest resolution reconstructed video by decompressing said lowest resolution compressed video;

perform a first raise operation on said lowest resolution reconstructed video, said first raise operation comprising sequentially creating N higher resolutions reconstructed videos, each one of said higher resolution reconstructed videos created from said preceding lower resolution reconstructed video by:

creating a higher resolution video from said lower resolution reconstructed video; computing a residual between said respective lower resolution video and said created higher resolution video;

compressing said computed residual;

decompressing said compressed residual; and

combining said decompressed residual with said created higher resolution video, yielding the respective higher resolution reconstructed video;

wherein said bit stream comprises said compressed lowest resolution video, said compressed residuals and control information comprising said N.

24. The video codec of claim 23, wherein said decoding unit is configured to:

receive and process said bit stream comprising said lowest resolution compressed video, said compressed residuals and said control information;

create a lowest resolution reconstructed video by decompressing said lowest resolution compressed video; and

perform a second raise operation on said lowest resolution reconstructed video, said second raise operation comprising sequentially creating N higher resolutions reconstructed videos, each one of said higher resolution reconstructed videos created from said preceding lower resolution reconstructed video by:

creating a higher resolution video from said lower resolution reconstructed video; decoding the residual between said respective lower resolution video and said created higher resolution video; and

combining said decoded residual with said created higher resolution video, yielding the respective higher resolution reconstructed video.

25. A method of decoding a video encoded according to the method of claim 1 , wherein said decoding unit is configured to analyze said reconstructed higher resolution videos.

26. The method of claim 25 wherein said decoding unit is configured to compute the motion field of said reconstructed videos.

27. The method of claim 25 wherein said decoding unit is configured to perform object

recognition of said reconstructed videos.

Description:
VIDEO COMPRESSION METHOD

TECHNOLOGY FIELD

[0001] The present invention is in the field of video compression.

CROSS-REFERENCES TO RELATED APPLICATIONS

[0002] This patent application claims priority from and is related to U.S. Provisional Patent Application Serial Number 61/710,723, filed October 7, 2012, this U.S.

Provisional Patent Application incorporated by reference in its entirety herein.

BACKGROUND OF THE INVENTION

[0003] Raw video files consume huge amounts of space. For example, a High

Definition(HD) movie with 60 frames per second(fps), frame resolution of 1920x1080 pixels, color depth 3, and 8 bits per color, consumes:

1 ,920 * 1 ,080 * 60 * 3 = 373,248,000 Bytes per second.

[0004] And two hours of such movie would consume:

373,248,000 * 7,200 = 2,687,385,600,000 Bytes * 3 Tera bytes (Tbytes).

[0005] To store the movie on regular DVD disks, i.e. 4.7 Giga bytes(Gbytes) disks, we need:

* 2,687 / 4.7 * 600 DVD disks.

[0006] And to transmit the movie over the Internet, say over fast 100Mbps

channels, we need:

* 2,687,386 * 8 / 100 « 2,149,908 seconds « 60 hours.

[0007] Video compression is the art of reducing the video size without affecting the perceived quality.

[0008] Video content is not always taken with the best equipment and the best photo shooters. In such cases digital image processing, also known as video enhancement, can substantially improve the visible quality of the video, and help the video compression process. Some of the more known methods for video

enhancements use video preprocessing tools such as the following:

[0009] De-interlacing Interlaced movie can be problematic when recording fast moving objects. The moving object can be in one place in the "even" picture, and in another place in the "odd" one, yielding a "stripped" picture which is very disturbing.

[0010] De-blocking Block-like artifacts are the side effect of the current MPEG's low-quality highly compressed videos. De-blocking greatly increases the quality of such videos.

[0011] Sharpening emphasizes texture and detail, and is critical when postprocessing most digital images. An "unsharp mask" is actually used to sharpen an image.

[0012] De-noising Some degree of noise is always present in any electronic device that transmits or receives a "signal". For television this signal is the broadcast data transmitted over cable or received at the antenna; for digital cameras, the signal is the light which hits the camera sensor. Video De-noising is the process of removing noise from a video signal.

[0013] Stabilization is used to reduce blurring associated with the motion of

camera. Specifically, it compensates for pan and tilt of a camera or other imaging devices. With video cameras, camera shake causes visible frame-to-frame jitter in the recorded video.

[0014] Camera Calibration is important in order to get stable and reliable images.

Cameras that operate out of sync or are imprecisely adjusted can create blurry or confused images.

[0015] Such tools can greatly improve the video quality and help the compression process. Here, we ignore this issue and assumes that the video has already been preprocessed as required. See Ref. [1] for more details. [0016] A digital video consists of multiple streams such as video, audio, and control, that are stored together in the same container file. For example, common containers formats are: AVI (Audio Video Interlaced), WMV (Windows Media Video), FLV ( Flash Video), MOV (Apple Quick Time Movie). The video stream itself is usually independent of the other streams, or of the container type, and can be represented in many different formats. A media player, such as Apple iTunes, and Microsoft Windows Media Player, displays the video on the screen, using the corresponding Codec (Encoder/Decoder) software.

[0017] The displayed video is usually represented in the raw RGB color space

format because the human visual system works in a similar way, i.e., the human eye color vision is based on red, green and blue color sensors. The raw RGB file 100 is schematically depicted in Fig. 1 , comprising a header section 120 followed by frames 130. The Header 120 contains the video parameters such as: n - number of rows, m - number of columns, and N - number of frames. A frame 130 contains n * m pixel values, each a triplet for the R, G and B.

[0018] The raw YUV color space format is another very useful format for video

representation. Here, Y corresponds to the black and white representation of the video, and U and V to the added color differences. There are many similar formulas for converting RGB to YUV and vice versa. One of them, see Ref. [2], is exemplified in Fig. 2, where the RGB to YUV transforming formula is given in unit 210, and the YUV to RGB transforming formula is given in unit 220. The raw YUV file 300 is schematically depicted in Fig. 3, comprising a header section 310 as in unit 120 of Fig. 1 , followed by the Y frames 320, the U frames 330, and the V frames 340.

Typical frames for the Y, U and V components are shown. In what follows we consider only the video stream part of the container file, and without loss of generality (w.l.g.), we assume a YUV color space representation.

[0019] A camera may change its angle of view many times during the movie. These changes of scenes, also called the movie's cuts, are distinguished by their shape and contents, see Ref. [3]. In terms of compression this means that we have little redundancy between the cuts. [0020] The cut file 400 is schematically depicted in Fig. 4, comprising a header section 410 followed by the cuts 420. The header is as follows:

[0021] n is the number of rows, m is the number of columns,

[0022] N is the number of frames, and M is the number of cuts.

[0023] Each cut of the file has the same structure as the YUV file format given in unit 300 of Fig. 3. For simplicity, we will proceed to consider from now on only one such component of each such cut. A generalization to all components is

straightforward.

[0024] Wavelets and multiwavelets, see Ref. [4], are important mathematical tools that we use in the applications that follow. Classical discrete wavelet transform (DWT) filters are depicted in Fig. 5; a pair of low pass and high pass analysis filters are depicted in unit 510, and a pair of low pass and high pass synthesis filters are depicted in unit 520. For example, the one dimensional Haar transform is depicted in unit 530.

[0025] In general, we have m>1 filters, as depicted in Fig. 6; the analysis filters are depicted in unit 610, and the synthesis filters in unit 620. For example, a 2D Haar transform is depicted in unit 630. More generally, the filters may refer to the discrete multiwavelet transform (DMWT).

[0026] The lattice of integers ? 71 is the set of n-tuples of integers in the Euclidean space ? 71 . A frame can be represented as a rectangular grid on the lattice ? 2 , and a video as a cubic grid on ? 3 . A subset of a lattice, which is itself a lattice is called a sub-lattice. Examples of sub-lattices of ? 2 are given in Fig. 7. The Quincunx sub- lattices are depicted in unit 710. The white circled points correspond to the even sub-lattice, and the dark circled points to the odd sub-lattice. The Dyadic sub-lattices are similarly depicted in unit 720. The Quincunx sub-lattices are determined by the dilation matrix of unit 715, and the Dyadic sub-lattices by the dilation matrix of unit 725. The number of sub-lattices is determined by the determinant of the

corresponding dilation matrix, 2 in the Quincunx case, and 4 in the Dyadic case. Down-sampling refers to the process of extracting a sub-lattice from a given lattice. For example, we display a dyadic down sampling in Fig. 8. The input signal is given in unit 810, a temporal down sampling in unit 820, a spatial down sampling in unit 830, and a combined spatial and temporal down sampling in unit 840.

SUMMARY OF THE INVENTION

[0027] According to an aspect of the present invention there is provided a method of encoding video, comprising: receiving a video; performing a shrink operation on said received video, said shrink operation comprising: creating a first lower resolution video from said video; and sequentially creating additional N-1 lower resolution videos, each one of said additional lower resolution videos created from said preceding lower resolution video; compressing the lowest resolution video; creating a lowest resolution reconstructed video by decompressing said lowest resolution compressed video; performing a first raise operation on said lowest resolution reconstructed video, said first raise operation comprising sequentially creating N higher resolutions reconstructed videos, each one of said higher resolution reconstructed videos created from said preceding lower resolution reconstructed video by: creating a higher resolution video from said lower resolution reconstructed video; computing a residual between said respective lower resolution video and said created higher resolution video; compressing said computed residual; decompressing said compressed residual; and combining said

decompressed residual with said created higher resolution video, yielding the respective higher resolution reconstructed video; and providing a bit stream comprising said lowest resolution compressed video, said compressed residuals and control information comprising said N.

[0028] The bit stream may comprise low pass analysis filters and wherein

creating a lower resolution video comprises applying a low pass analysis filter to a video.

[0029] The bit stream may comprise blurring and down sampling operators and wherein creating a lower resolution video comprises applying a blurring operator to a video and applying a down sampling operator to the blur operation result.

[0030] The bit stream may comprise blurring and down sampling operators and wherein said low pass analysis filters are computed from said blurring and down sampling operators. [0031] The bit stream may comprise low pass synthesis filters and wherein creating a higher resolution video comprises applying a low pass synthesis filter to a lower resolution reconstructed video.

[0032] The bit stream may comprise up sampling, interpolation, oracle and

deblurring operators and wherein creating a higher resolution video comprises: a. applying an up sampling operator followed by an interpolation operator to a lower resolution reconstructed video; b. applying an oracle operator to the interpolation operation result; and c. applying a deblurring operator to the oracle operation result.

[0033] The bit stream may comprise up sampling, interpolation, oracle and

deblurring operators and the low pass synthesis filters may be computed from said up sampling, interpolation, oracle and deblurring operators.

[0034] Computing a residual may comprise calculating the difference between the respective lower resolution video and the higher resolution video.

[0035] The bit stream may comprise high pass analysis filters and computing the residuals may additionally comprise applying high pass analysis filters to the calculated difference.

[0036] The high pass analysis filters may be computed from said calculated

difference.

[0037] Computing the higher resolution reconstructed video may comprise adding the decompressed residual to the higher resolution video.

[0038] The bit stream may comprise high pass synthesis filters and creating the higher resolution reconstructed video may comprise applying the high pass synthesis filters to the respective decompressed residuals and adding the results to the higher resolution video.

[0039] The high pass synthesis filters may be computed from low pass and high pass analysis filters and low pass synthesis filters.

[0040] According to another aspect of the present invention there is provided a method of decoding a video encoded according to the above method, comprising: receiving and processing said bit stream comprising said lowest resolution compressed video, said compressed residuals and said control information; creating a lowest resolution reconstructed video by decompressing said lowest resolution compressed video; and performing a second raise operation on said lowest resolution reconstructed video, said second raise operation comprising sequentially creating N higher resolutions reconstructed videos, each one of said higher resolution reconstructed videos created from said preceding lower resolution reconstructed video by: creating a higher resolution video from said lower resolution reconstructed video; decoding the residual between said respective lower resolution video and said created higher resolution video; and combining said decoded residual with said created higher resolution video, yielding the respective higher resolution reconstructed video.

[0041] The bit stream may comprise low pass synthesis filters and creating a higher resolution video may comprise applying a low pass synthesis filter to a lower resolution reconstructed video.

[0042] The bit stream may comprise up sampling, interpolation, oracle and

deblurring operators and creating a higher resolution video may comprises: a.

applying an up sampling operator followed by an interpolation operator to a lower resolution reconstructed video; b. applying an oracle operator to the interpolation operation result; and c. applying a deblurring operator to the oracle operation result.

[0043] The bit stream may comprise up sampling, interpolation, oracle and

deblurring operators and the low pass synthesis filters may be computed from said up sampling, interpolation, oracle and deblurring operators.

[0044] Computing the higher resolution reconstructed video may comprise adding the decompressed residual to the higher resolution video.

[0045] The bit stream may comprise high pass synthesis filters and creating the higher resolution reconstructed video may comprise applying the high pass synthesis filters to the respective decompressed residuals and adding the results to the higher resolution video.

[0046] The high pass synthesis filters may be computed from low pass and high pass analysis filters and low pass synthesis filters.

[0047] According to another aspect of the present invention there is provided a video codec comprising: an encoding unit configured to encode a video; a

reconstructing unit configured to reconstruct said encoded video, the reconstructing unit creating a bit stream of decoding data; and a decoding unit configured to receive the bit stream of decoding data and decode the video therewith.

[0048] The encoding unit may be configured to: receive a video; perform a shrink operation on said received video, said shrink operation comprising: creating a first lower resolution video from said video; sequentially creating additional N-1 lower resolution videos, each one of said additional lower resolution videos created from said preceding lower resolution video; and compressing the lowest resolution video.

[0049] The reconstructing unit may be configured to: create a lowest resolution reconstructed video by decompressing said lowest resolution compressed video;

[0050] perform a first raise operation on said lowest resolution reconstructed video, said first raise operation comprising sequentially creating N higher resolutions reconstructed videos, each one of said higher resolution reconstructed videos created from said preceding lower resolution reconstructed video by: creating a higher resolution video from said lower resolution reconstructed video; computing a residual between said respective lower resolution video and said created higher resolution video; compressing said computed residual; decompressing said compressed residual; and combining said decompressed residual with said created higher resolution video, yielding the respective higher resolution reconstructed video; wherein said bit stream comprises said compressed lowest resolution video, said compressed residuals and control information comprising said N.

[0051] The decoding unit may be configured to: receive and process said bit stream comprising said lowest resolution compressed video, said compressed residuals and said control information; create a lowest resolution reconstructed video by decompressing said lowest resolution compressed video; and perform a second raise operation on said lowest resolution reconstructed video, said second raise operation comprising sequentially creating N higher resolutions reconstructed videos, each one of said higher resolution reconstructed videos created from said preceding lower resolution reconstructed video by: creating a higher resolution video from said lower resolution reconstructed video; decoding the residual between said respective lower resolution video and said created higher resolution video; and combining said decoded residual with said created higher resolution video, yielding the respective higher resolution reconstructed video.

[0052] According to another aspect of the present invention there is provided a

method of decoding a video encoded according to the method above, wherein said decoding unit is configured to analyze said reconstructed higher resolution videos.

[0053] The decoding unit may be configured to compute the motion field of said reconstructed videos.

[0054] The decoding unit may configured to perform object recognition of said

reconstructed videos.

BRIEF DESCRIPTION OF THE DRAWINGS

[0055] For better understanding of the invention and to show how the same may be carried into effect, reference will now be made, purely by way of example, to the accompanying drawings.

[0056] With specific reference now to the drawings in detail, it is stressed that the particulars shown are by way of example and for purposes of illustrative discussion of the preferred embodiments of the present invention only, and are presented in the cause of providing what is believed to be the most useful and readily understood description of the principles and conceptual aspects of the invention. In this regard, no attempt is made to show structural details of the invention in more detail than is necessary for a fundamental understanding of the invention, the description taken with the drawings making apparent to those skilled in the art how the several forms of the invention may be embodied in practice. In the accompanying drawings:

[0057] Fig. 1 describes the raw RGB file;

[0058] Fig. 2 describes the transforms between the RGB and YUV formats;

[0059] Fig. 3 describes the raw YUV file;

[0060] Fig. 4 describes the cut file;

[0061] Fig. 5 describes the 2-way Discrete Wavelet Transform Filters;

[0062] Fig. 6 describes the m-way Discrete Wavelet Transform Filters;

[0063] Fig. 7 depicts Lattices and sub-lattices;

[0064] Fig. 8 describes Dyadic Down Sampling;

[0065] Fig. 9 is a flowchart of the new Codec; [0066] Fig. 10 is a flowchart of the Encoder;

[0067] Fig. 11 depicts the Bit Stream;

[0068] Fig. 12 is a flowchart of the Decoder;

[0069] Fig. 13 describes the M Codec;

[0070] Fig. 14 describes the M Codec;

[0071] Fig. 15 describes the M Codec;

[0072] Fig. 16 describes the 0 Codec parameters;

[0073] Fig. 17 describes the 0 Codec;

[0074] Fig. 18 describes the 0 Codec;

[0075] Fig. 19 describes the OM Codec; and

[0076] Fig. 20 describes the OM Codec.

DETAILED DESCRIPTION OF THE INVENTION

[0077] The present invention provides a new technology for video compression that unlike the standard MPEG methods such as H.264, benefits from the analysis of the video in both the Encoder and the Decoder, using state of the art computer vision and mathematical methods. For example, motion field calculation and object recognition, see Ref. [1 ] and [7], may be used to reconstruct the video in both the Encoder and the Decoder.

[0078] A schematic diagram of the new generic Codec is depicted in Fig. 9. The Codec consists of two main parts: The Encoder and the Decoder. The Encoder 1000 compresses the video Y into the Bit Stream 1100, and the Decoder 1200 decompresses the Bit Stream into the reconstructed video Ϋ. The Bit Stream 1100, which is the output from the Encoder and the input to the Decoder, represents the compressed video. The Bit Stream can be stored on disk or transmitted over a network. Both Y and Ϋ are referred to as "video" throughout the following

description. Note that Y is a component of a cut as explained above.

[0079] In what follows we describe the Encoder 1000 see Fig. 10, the Bit Stream

1100 see Fig. 11 , and the Decoder 1200, see Fig. 12. [0080] The Encoder 1000 has three stages as follows:

[0081] Stage I (E) consists of N iterations as follows:

[0082] Let us define Y 0 ? Y. Then video Y k is the input to iteration k = 0,— , N - 1, and video Y k+1 is the output of iteration fc = 0, - , JV - l. Here, video Y k+1 is a lower resolution, coarser representation, of video Y k . Lower resolution meaning either spatial lower resolution, temporal lower resolution, or both spatial and temporal lower resolutions. We call this operation of lowering the video resolution the Shrink operation. The number of such iterations, namely N, is determined by the Encoder.

[0083] Stage II (E) consists of the Compress and Decompress operations. The Compress operation refers to any method for compressing video as discussed for example in Pat. [1 ]. The Decompress operation refers to the opposite operation of reconstructing the original video from the compressed video. Let Y N denote the resulting video after Stage I (E), then we denote the compressed video by w , and the decompressed video by Y N . Note that video Y N is a reconstruction of the video Y N hampered by the quality of the compression method. In case of a lossless

compression, the reconstructed video Y N would be exactly the same as Y N . However, in practice, the compression process is lossy, and Y N is not the same as Y N . Usually, the stronger the compression is, the more the videos differ, and the more distortion exists. A good compression method keeps the viewing quality of the reconstructed video while minimizing the size of the compressed video. Note further that the compressed video w gets included in the Bit Stream 1100.

[0084] Stage III (E) consists of a first raise operation comprising N backward

iterations as follows:

[0085] In iteration k = N - 1, ··· ,0, the reconstructed video Y k+1 from the previous iteration (or stage in case of k = N - 1), is the input, and the output is the

reconstructed video Y k , which is of the same resolution (spatial and temporal) as video Y k . Hence, the final video Y 0 is the reconstruction of the initial video Y 0 , see Stage I (E) above. [0086] In order to obtain Y k we do the following steps:

[0087] 1 ) First, we resize video Y k+1 into a higher resolution video C k , of the same resolution as that of video Y k . We call this operation of raising the video resolution the Expand operation.

[0088] 2) Next, we compute a residual R k between video Y k and the expanded

video C k . We call this operation of computing the residual the Resultant operation.

[0089] 3) Finally, we compress the residual R k into E k . Here, again, by

compression, we mean any valid compression method as was discussed in Stage II

(E) above. We call this operation of compressing the residual the Encode operation.

Note further that the compressed residual E k gets included into the Bit Stream

1100.

[0090] The next steps of the Encoder simulate the operations done at the

Decoder:

[0091] 4) We decompress the compressed residual E k into the reconstructed

residual R k . We call this operation of decompressing the compressed residual the Decode operation.

[0092] 5) We combine the expanded video C k with the reconstructed residual R k to get the reconstructed video Y k . We call this operation of combining the expanded video with the reconstructed residual the Assemble operation. The Assemble operation is in a sense the reverse of the Resultant operation.

[0093] The Bit Stream 1100 contains the following components:

[0094] The ctrl, the additional information known to the Encoder but unknown at the Decoder, which is needed in order to decompress the Bit Stream. For example, the number of iterations N, which is determined by the Encoder is part of the ctrl. Note further that ctrl is transmitted in a compressed form.

[0095] The compressed video F N .

[0096] The compressed residuals: E k , k = N— 1, ··· ,0. [0097] The Decoder 1200 has two stages as follows: [0098] Stage I (D) consists of the Process and Decompress operations. The

Process operation retrieves the ctrl information and sets the necessary

parameters, such as for example the number of iterations N, required for decoding. The Decompress operation decompresses F N into the video Y N , as is done in Stage II (E) of the Encoder.

[0099] Stage II (D) consists of a second raise operation comprising N backward iterations as follows:

[00100] In iteration k = N— 1, ··· ,0, the reconstructed video Y k+1 from the previous iteration (or stage in case of k = N - 1), is the input, and the output is the

reconstructed video Y k . This is done in the following way (see also Stage III (E) of the Encoder):

[00101] 1 ) Use the Decode operation to decompress the compressed residual E k into the reconstructed residual R k .

[00102] 2) Use the Assemble operation to combine the expanded video C k with the reconstructed residual R k to get the reconstructed video Y k .

[00103] To further clarify the invention, we describe hereby some possible

implementations of the generic Codec. These are the M Codec, the O Codec, and the OM Codec. Note, however, that many other implementations are also possible and are not excluded by these examples.

[00104] Example I: The Multiwavelet (M) Codec

[00105] The M Codec is governed by a respective set of m k multiwavelet filters, so called the DMWT filters, as depicted in unit 1310 of Fig. 13. Their role is explained in the following.

[00106] In the Encoder 1000:

[00107] Stage I (E) At iteration k = 0, ··· , N - 1, the Shrink operation is determined by the low pass analysis filter That is, we apply filter to Y k to get Y k+1 , see unit 1320 of Fig. 13.

[00108] Stage II (E) is general as before.

[00109] Stage III (E) At iteration k = N - 1, ··· ,0:

[00110] 1 ) The Expand operation is determined by the low pass synthesis filter S^ .

That is, we apply filter 5 0 (fe) to Y k+1 to get C k , see unit 1330 of Fig. 13.

[00111] 2) The Resultant operation is determined by the m k ? 1 high pass analysis filters A , A , ? , A^:

[00112] First the difference between Y k and C k , namely D k , is computed, see unit 1410 of Fig. 14.

[00113] Then, for j = 1, ■■■ , m k ? 1, we apply A ^ to D k to get the respective residual component see unit 1420.

[00114] 3) We Encode the residuals R k (n to for j = l, - , m k ? 1, see unit 1430.

[00115] 4) We Decode the reconstructed residuals R k from E k for = l,— , m k ?

1, see unit 1510 of Fig. 15.

[00116] 5) The Assemble operation is determined by the m k ? 1 high pass

synthesis filters: s k S 2 (fe) , ? , S ^ :

[00117] For j = l, - ,m fc ? 1, we apply S^ k) to R k }) to get component ί¾ 7) , see unit 1520.

[00118] Then we reconstruct Y k by summing up: [00119] Y k = C k + Σ^Λ 1 ^ see unit 1530. [00120] In the Bit Stream 1100:

[00121] the ctrl information contains the DMWT filters in addition to N. [00122] In the Decoder 1200:

[00123] Stage I (D) consists of the Process and Decompress operations, as

before.

[00124] Stage II (D) At iteration k = N - 1, ··· ,0:

[00125] 1 ) We Decode the reconstructed residuals R k from E k for = l,— , m k ? 1, see unit 1510.

[00126] 2) We use the Assemble operation as in Stage III (E) above to reconstruct video Y k . That is, as in step 5 above, we apply Sj k) to R k j) to get components and sum up these components with C k to get video Y k , see units 1520 and 1530.

[00127] Example II: The Oracle (O) Codec.

[00128] The O Codec is governed by a respective set of parameters, see Fig. 16.

The set includes blurring / deblurring inverse operators, see unit 1610, down sampling / up sampling opposite operators and interpolation operators, see unit 1620, and oracle operators, see unit 1630. Their role is described in the following.

[00129] In the Encoder 1000:

[00130] Stage I (E) At iteration k = 0, ··· , N - 1:

[00131] The Shrink operation is determined by the respective blurring and down sampling operators. That is, we apply the blurring operator B (k) to Y k yielding Z k , and then the down sampling operator ? (k) to Z k , yielding Y k+1 , see unit 1710 of Fig. 17.

[00132] Stage II (E) is general as before.

[00133] Stage III (E) At iteration k = N - 1, ··· ,0:

[00134] 1 ) The Expand operation is determined by the respective up sampling, interpolation, oracle and deblurring operators. That is, we apply the up sampling operator ? (k) followed by the interpolation operator I (K) to Y k+1 yielding video Z k . Then we apply the oracle operator 0 (k) to Z k yielding Z k , the reconstructed version of video Z k of Stage I (E) above. The oracle operation, which reconstructs the best approximation Z k to Z k based on z£ may use such methods as super resolution see Ref. [5] and compressed sensing see Ref. [6]. Finally, we apply the deblurring operator B ^ to Z k yielding C k , see unit 1720.

[00135] 2) The Resultant operation is simply the difference operation. That is, the residual R k is the difference between Y k and C k . Then, we Encode the residual R k into E k , see unit 1810 of Fig. 18.

[00136] 3) We then Decode the reconstructed residuals R k from E k . The Assemble operation being simply the summation operation, we add R k to C k to get video Y k , see unit 1820.

[00137] In the Bit Stream 1100:

[00138] The ctrl information contains the parameters as in Fig. 16, in addition to N.

[00139] In the Decoder 1200:

[00140] Stage I (D) consists of the Process and Decompress operations, as

before.

[00141] Stage II (D) At iteration k = N - 1, ··· ,0:

[00142] 1 ) We use the Expand operation as in step 1 of Stage III (E) above to reconstruct video C k from video Y k+1 , see unit 1720.

[00143] 2) We use the Decode operation to get R k and then the Assemble

operation as in step 3 of Stage III (E) above to reconstruct Y k from C k and R k , see unit 1820.

[00144] Example III: The Oracle Multiwavelet (OM) Codec.

[00145] We combine the Oracle Codec together with the Multiwavelet Codec as follows:

[00146] We define the m k multiwavelet filters, see unit 1310, based on the O Codec parameters, see Fig. 16. We call the resulting method the OM Codec.

[00147] We now describe how to obtain the DMWT filters given the O Codec

parameters:

[00148] 1 ) We define the low pass analysis filter so that the resulting Shrink method approximates the given O Codec Shrink method, see unit 1910 of Fig. 19.

[00149] 2) We define the low pass synthesis filter S Q k) so that the resulting Expand method approximates the given O Codec Expand method, see unit 1920.

[00150] 3) We define the set of m k ? 1 high pass analysis filters ? , A v to be the multiwavelet filters that annihilates C k , see unit 1930.

[00151] 4) We complete the set of DMWT filters, by setting s k S 2 (fc) , ? , S^.

This we do using the mathematical theory of wavelets, see Ref. [4] and Pat.[2].

[00152] The ctrl information contains the parameters as in Fig. 16, and the

corresponding DMWT filters as in Fig. 19, in addition to N.

[00153] A flowchart of the OM Codec is depicted in Fig. 20. The Encoder flowchart is depicted in unit 2010, and the Decoder in unit 2020. The following documents are referenced in the application and are all incorporated by reference herein.

Patents

[1] Man Bar-On and Oleg Kostenko, A Method And A System For Wavelet Based Processing, WO/2008/081459.

[2] Man Bar-On, Method And Apparatus For A Multidimensional Discrete Multiwavelet Transform, US 8,331 ,708 B2, Dec. 11 , 2012.

References

[1] "Computer Vision, A Modern Approach", D. Forsyth and J. Ponce, 2012.

[2] "ITU-R Recommendation BT. 709", http://en.wikipedia.org/wiki/Rec._709

[3] "Cut by Cut", G. Chandler, 2012.

[4] "Wavelets and Multiwavelets", Fritz Keinert, 2004.

[5] "Super-Resolution Imaging", P. Milanfar, Sep. 2010.

[6] "Compressed Sensing, Theory and Applications", Y.C.EIdar et al., June 2012.

[7] "Optical flow", http://en.wikipedia.org/wiki/Optical_flow.




 
Previous Patent: THERMOSTAT

Next Patent: ANTI-BIOFOULING SEISMIC STREAMER