5 ms·
In my experience[1] code is available maybe half of the time, if you really search for it: checking the academic and personal pages of every author, and scouri
by rer0tsaz 11y ago
In my experience[1] code is available maybe half of the time, if you really search for it: checking the academic and personal pages of every author, and scouring the code of every framework mentioned.
You're lucky when the code is in C or C++ using a framework nobody uses (e.g. MegaWave), but half of the time the code is in MATLAB. All uncommented, using single character variables and under some restrictive or just weird license.
And then it only works on grayscale images. Maybe because it's easier to get funding for medical images. Just applying the algorithm to each color channel separately leads to color fringing when they get out of sync.
Finally, usability, distribution, and performance are afterthoughts. I don't disagree but it makes a huge difference.
[1] https://github.com/victorvde/jpeg2png https://github.com/victorvde/jpeg2png
- nitrogen 11y agoJust applying the algorithm to each color channel separately leads to color fringing when they get out of sync. Is this effect bad enough that it's still visible in other color spaces that use a luminance channel?
- rer0tsaz 11y agoI was working in YCbCr and I found it noticable. Compare the bottom-right tile in https://github.com/victorvde/jpeg2png/commit/64bf10789092ccf7156b28229547207bef2b3aa5#diff-abff80347175f19d2858689f043c04e7 https://github.com/victorvde/jpeg2png/commit/64bf10789092ccf... with swipe. It's worst with green around the top of the left black line, but there's green and red fringing everywhere. And this is a normal use case.