# Searching for the counterpart to the gaussian\_pyramid

**URL:** <https://discourse.julialang.org/t/searching-for-the-counterpart-to-the-gaussian-pyramid/68203>\
**Category:** New to Julia\
**Tags:** images\
**Created:** [September 15, 2021, 10:14am UTC](https://discourse.julialang.org/t/searching-for-the-counterpart-to-the-gaussian-pyramid/68203 "2021-09-15T10:14:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trilobit](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@trilobit](https://discourse.julialang.org/u/trilobit)\
**Post date:** [September 15, 2021, 10:14am UTC](https://discourse.julialang.org/t/searching-for-the-counterpart-to-the-gaussian-pyramid/68203/1 "2021-09-15T10:14:38Z")

</div>

```julia
using Images, TestImages

img=testimage("mandrill")
mosaic(gaussian_pyramid(img,5, 1.2, 0), nrow=1)

```

Searching for the simple counterpart. A function for upsample and sharpen  
(not “kron”).

---

<div class="post-metadata">

**Author:** ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Post date:** [September 15, 2021, 8:00pm UTC](https://discourse.julialang.org/t/searching-for-the-counterpart-to-the-gaussian-pyramid/68203/3 "2021-09-15T20:00:26Z")

</div>

Interpolations is good for up-sampling, but for sharpening it seems likely you’ll want something iterative. If a fixed `sharpen` filter is OK then you could upsample and then using ImageFiltering, or you could define custom interpolation “kernels” in Interpolations.

If you put together a package, I’d be interested to see it.

---

<div class="post-metadata">

**Author:** ![trilobit](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@trilobit](https://discourse.julialang.org/u/trilobit)\
**Post date:** [September 16, 2021, 5:27am UTC](https://discourse.julialang.org/t/searching-for-the-counterpart-to-the-gaussian-pyramid/68203/4 "2021-09-16T05:27:30Z")

</div>

Interpolations?  
I haven’t thought about that yet, but many thanks for the tip.I will try it  
btw…  
Sharping is not so important - only a “nice to have”-option
