# Best approach to smooth array? None of my approaches are very useful

**URL:** <https://discourse.julialang.org/t/best-approach-to-smooth-array-none-of-my-approaches-are-very-useful/17633>\
**Category:** Performance\
**Tags:** images, statistics, smoothing\
**Created:** [November 17, 2018, 5:33am UTC](https://discourse.julialang.org/t/best-approach-to-smooth-array-none-of-my-approaches-are-very-useful/17633 "2018-11-17T05:33:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Post date:** [November 17, 2018, 9:04am UTC](https://discourse.julialang.org/t/best-approach-to-smooth-array-none-of-my-approaches-are-very-useful/17633/2 "2018-11-17T09:04:29Z")

</div>

Have you tried factored kernels: [https://juliaimages.github.io/latest/imagefiltering.html#Factored-kernels-1](https://juliaimages.github.io/latest/imagefiltering.html#Factored-kernels-1)? Also, potentially it could be worth moving the last dim to be the first as that would lead to better memory locality.

---

_[View the full topic](https://discourse.julialang.org/t/best-approach-to-smooth-array-none-of-my-approaches-are-very-useful/17633)._
