johncostella
- Karma
- 45
- Created
- March 22, 2021 (5y ago)
- Submissions
- 0
See johncostella.com
[ my public key: https://keybase.io/johncostella; my proof: https://keybase.io/johncostella/sigs/YqTpQif6HLQbhH6ynABGVfGn1qo1WDCqt6dExXvth0w ]
[ my public key: https://keybase.io/johncostella; my proof: https://keybase.io/johncostella/sigs/YqTpQif6HLQbhH6ynABGVfGn1qo1WDCqt6dExXvth0w ]
I'm biased, but Magic Kernel Sharp does a good job for many applications. :) https://johncostella.com/magic/
The kernels themselves should be applied in linear space, and their properties are independent of the signals to which they are (assumed linearly) applied. If the practical examples I applied them to should have had…
Yes, and if you're comfortable pulling down the code and running 'make' on any *nix system, there is an executable 'resize_image' that lets you test it out for yourself. I'm always looking out for corner cases that…
Thanks. It was unexpected to me as well. The original "magic" kernel was really along the lines of interpolation (particularly by large factors — there were all sorts of algorithms out there, e.g. repeatedly upsizing by…
Ah nice, I will correct that statement, which I was sure was bound to have a counterargument. :)
Nice — it did look to be a more general class of interpolating functions, and that does indeed look to be the case. Interesting!
Ah thanks, I wasn't aware of this. That mainly talks about the original "magic" kernel ([1,3,3,1]) and an earlier version of my page. It rightly references the fact that the magic kernel (any version) by itself slightly…
They are actually pretty good — I believe much better than truncated sinc (likely because of the discontinuity in first derivative of the latter), but I haven't done that analysis myself.
Granted, it's a bad example for a Security Engineer to not offer HTTPS. Unfortunately I use a provider that doesn't make it easy at all. I will get there eventually.
I discuss Charles Bloom's 2011 article in some detail on my page. The original "magic" kernel (i.e. [1,3,3,1]) can be rightly categorized as just many things. It's the generalization to the continuum case, and the…
The paper includes examples of Magic Kernel Sharp 3 (the original), 4, 5, and 6. The C code allows you to use any value 'a' of these "generations," and any version 'v' of the Sharp kernel listed in the paper (up to a =…
I generated bicubic and Lanczos versions in 2006. It was stated that the Lanczos one evidently came from a version of GIMP that was buggy, so I removed it a long time back. The bicubic is still there from that era. If…
"Not obvious": yes, I was originally writing up the paper just to contain the derivation and results of the Fourier transform calculation — whatever it turned out to be — and was dumbstruck when it turned out to be…
Right. Fundamentally, Magic Kernel Sharp seeks to be an efficient but good approximation to a rectangular low-pass filter; it doesn't add information, and ideally doesn't destroy or distort it either. Yes, I have seen…
I put the Magic Kernel into the public domain in 2011, long before starting at Facebook. Yes, the Sharp step is nothing more than a three-tap sharpening filter, not at all remarkable in itself, and yes the "+" is just…
Yes I have recently been asked about splines, and the Magic Kernels are of course a subset of those, but generated in a specific way. I have not had a chance to compare to all previous interpolation kernels (and there…
As I just told a colleague who told me of this post, "I'm so old I don't even know how to use that [this] site." :) Happy to answer questions or address criticisms.