Made a little thing to take fast approximate multivariate medians, at no small cost to my sanity, and it turns out that when I apply it to pixels in California Landscapes time lapse videos (e.g., onewilshire.la/@CALandscapeBot) it’s mostly just Compression Artifact Finder 2023 Pro Edition.

Follow

A wonderful thing about image processing is you’re always discovering completely new and fascinating ways to make pictures look worse.

· · Web · 2 · 1 · 9

Anyway, the trick is, you take a low discrepancy sequence on a sphere (I used R[2] and a Lambert azimuthal projection) and use those angles as lines to sample depth – a measure of centrality – along; you map these angle samples over your points and reduce with min(), and you get an approximation of Tukey’s multivariate depth, which is a generalization of the median (or quantile). I may explain this better eventually but then again I may not.

Show thread

And I should say: the way this actually works in practice is you take the timeseries of each pixel in the video, in oklab or your preferred color space, and do an interquartile (or similarly trimmed) mean on it.

Show thread

@vruba yeah after our previous conversation about this a few months ago, I tried a bunch of things and it only got worse too. the Axis cameras are aggressively compressing but also doing a very destructive unsharp mask/sharpening thing first. hopeless.

@midendian Yeah, this example is cherry-picked for minimal camera shake, and I downsampled before doing anything, and I’m pretty sure you can still find shake-induced artifacts if you look.

Sign in to participate in the conversation
Horsin' Around

This is a hometown instance run by Sam and Ingrid, for some friends.