Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.51 KB

File metadata and controls

31 lines (17 loc) · 1.51 KB

GaussianPyromid

Description

Testing Gaussian pyramid in NTBC project for improved compression

The algorithm is fed with a 512 x 512 texture as input. Next, a smoothing filter with a kernel size of 5 by 5 is applied to this texture. The result is a new smooth 256 x 256 texture. The new texture is interpolated to obtain the required size, and then the resulting texture is subtracted from the input (original texture). This procedure is then repeated for the resulting difference

Results

In this example, only 2 levels were used. This means the resulting output was two 256x256 Gaussian textures and one 512x512 Laplacian texture

Original texture (512 x 512):

Bricks085_512-PNG_Color

First iteration. Blurred image (256 x 256):

blurred_0

Second iteration. Blurred image (256 x 256):

blurred_1

And additional information in the form of Laplacian (512 x 512):

laplacian

Restored texture

Figure_2