TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Variations on symmetric nearest neighbour smoothing

92 pointsby jashkenasover 5 years ago

6 comments

unlinked_dllover 5 years ago
After some googling this kind of looks like &quot;inverse distance weighted interpolation.&quot; Is that at all similar? Seems well trodden ground<p><a href="https:&#x2F;&#x2F;pro.arcgis.com&#x2F;en&#x2F;pro-app&#x2F;help&#x2F;analysis&#x2F;geostatistical-analyst&#x2F;how-inverse-distance-weighted-interpolation-works.htm" rel="nofollow">https:&#x2F;&#x2F;pro.arcgis.com&#x2F;en&#x2F;pro-app&#x2F;help&#x2F;analysis&#x2F;geostatistic...</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Inverse_distance_weighting" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Inverse_distance_weighting</a>
BubRossover 5 years ago
This is a neat article with some good experimentation, but... This is essentially someone seeing the precursor to the bilateral filter for the first time without ever having heard of a bilateral filter before.<p>A bilateral filter weights surrounding pixels by how close in value they are. This ends up creating a smoothing effect from soft clustering. Take a look at the &#x27;rolling guidance filter&#x27; for an effect when used iteratively.
joe_the_userover 5 years ago
Really simple filters can yield very impressive results on images.<p>This makes me think of deep learning &quot;style transfer&quot; effects. They&#x27;re nice but so are artistic filters that long predate these things and are tremendously simpler.
评论 #22096967 未加载
jmpeaxover 5 years ago
It seems to create aliasing artefacts at edges. I wonder if this can be suppressed by scaling up the image and the filter radius and then scaling back down?
评论 #22096904 未加载
fenwick67over 5 years ago
I implemented this in ShaderToy if anyone wants to see it run in real-time:<p><a href="https:&#x2F;&#x2F;www.shadertoy.com&#x2F;view&#x2F;WlGGzt" rel="nofollow">https:&#x2F;&#x2F;www.shadertoy.com&#x2F;view&#x2F;WlGGzt</a>
keyleover 5 years ago
Fascinating. Couldn&#x27;t help but think that the result looks a lot like some recent game shaders, for grass and landscape, like seen in the witness. Maybe Jonathan can chime in.
评论 #22095526 未加载