Seite **1** von **1**

### Asgn 2, Problem 1

Verfasst: **23. Mai 2012 20:06**

von **redDragonfly**

**Image Sharpening**
We have difficulties understanding the final task of the first problem. The way it is written is very confusing concerning the order of action, so we'd like some confirmation if we understood the task correctly.

The task is:

(...) amplify the high-frequency components contained in the ﬁnest 2 levels of the Laplacian pyramid by scaling them up by a factor. Afterwards, reassemble the pyramid back to obtain a sharpened full-resolution image and display it.

First, "scale up" means "take the Laplacian images and multiply with some number", right? Otherwise, which purpose would scaling the image up (with our function upsample2) have?

Second, "reassemble the pyramid" does

**not** refer to the construction of the Laplace pyramids, but rather to the reconstruction of the original image, is that correct? Only here we have to manually manipulate the last two steps of the reconstruction and multiply the Laplace images with some factor before adding the Gaussian image?

This leads to the final question: why the final

**two** levels? Manipulating the finest level (L_0) already results in a discernible sharpening effects.

### Re: Asgn 2, Problem 1

Verfasst: **24. Mai 2012 21:45**

von **Toobee**

I am confused too regarding 'sharping with the finest laplace layers'.

Regarding the rebuilding: You shall rebuild the image from the laplace pyramide. It is expected that you already have the laplace for this task.

Accordingly to the slides you start with the lowest layer (8x8) scale it up add and it with next higher layer. You do that until you have added up all laplace layers with each other.

If you did it correctly, your resulting image will be the input image.

### Re: Asgn 2, Problem 1

Verfasst: **29. Mai 2012 17:59**

von **qgao**

redDragonfly hat geschrieben:
First, "scale up" means "take the Laplacian images and multiply with some number", right? Otherwise, which purpose would scaling the image up (with our function upsample2) have?

yes, you are right.

Second, "reassemble the pyramid" does **not** refer to the construction of the Laplace pyramids, but rather to the reconstruction of the original image, is that correct? Only here we have to manually manipulate the last two steps of the reconstruction and multiply the Laplace images with some factor before adding the Gaussian image?

After the manipulation of two finest scales, you will get a new Laplacian pyramid, with which you should then construct the corresponding image.

### Re: Asgn 2, Problem 1

Verfasst: **29. Mai 2012 18:14**

von **qgao**

Toobee hat geschrieben:I am confused too regarding 'sharping with the finest laplace layers'.

Regarding the rebuilding: You shall rebuild the image from the laplace pyramide. It is expected that you already have the laplace for this task.

Accordingly to the slides you start with the lowest layer (8x8) scale it up add and it with next higher layer. You do that until you have added up all laplace layers with each other.

If you did it correctly, your resulting image will be the input image.

I think you misunderstood the term "scaling". In the problem it does not mean resizing of a matrix but the multiplication of the coefficients with some value.