News for hackers. Stuff that matters.
Re:The Magic Kernel by jchw on Monday March 22, 2021 @07:21AM (#26539322)
Very cool stuff. Do you happen to have examples of the Sharp or Sharp+ variations? I didn’t notice any on the page, but I may have missed something.
Re:The Magic Kernel by johncostella on Monday March 22, 2021 @10:05AM (#26540921)
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 = 6, v = 7), for any case you want to try. I may add more versions later.

The Sharp+ is just extra sharpening. It's included in the executable, but isn't fundamentally anything more than extra sharpening over what tries to be as-close-to-ideal resizing as possible.

Re:The Magic Kernel by jchw on Monday March 22, 2021 @02:59PM (#26545199)
Ahh, that would make sense; it didn’t occur to me to check the paper. I was mostly curious to see at a glance how it would visually compare with the addition of sharpening. Ultimately, it ends up looking pretty good.
Re:The Magic Kernel by johncostella on Tuesday March 23, 2021 @06:46AM (#26553400)
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 stress-test the differences between the algorithms, so let me know if you find any good ones.