TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Anybody interesting in a Sunday afternoon puzzle?

1 点作者 rortian将近 15 年前
So I've implemented the retinex algorithm from GIMP in java. (Lots of reasons but mainly flexibility, threading and memory usage).<p>Here's an example of the current differences:<p>http://imgur.com/GPsy9.png<p>GIMP is the top, mine is the bottom. Given that in large part this is a Gaussian filter at first, I've got to assert that mine is probably the correct one. However, the sad part is I am really interesting in implementing this bugged behavior as well.<p>My implementation is here:<p>http://github.com/rortian/Retinex/blob/master/src/org/pseudopattern/retinex/ByteImage.java<p>which corresponds with this gimp file:<p>http://git.gnome.org/browse/gimp/tree/plug-ins/common/contrast-retinex.c?id=GIMP_2_6_8<p>I'm about to have to start building gimps that will give me more insight, which I don't honestly want to do. If anybody has any clue how this might be happening I'd love the help. I've got a minimal C background so any comments from someone knowledgeable there would be especially helpful.

1 comment

rortian将近 15 年前
Links linkified:<p><a href="http://imgur.com/GPsy9.png" rel="nofollow">http://imgur.com/GPsy9.png</a><p><a href="http://github.com/rortian/Retinex/blob/master/src/org/pseudopattern/retinex/ByteImage.java" rel="nofollow">http://github.com/rortian/Retinex/blob/master/src/org/pseudo...</a><p><a href="http://git.gnome.org/browse/gimp/tree/plug-ins/common/contrast-retinex.c?id=GIMP_2_6_8" rel="nofollow">http://git.gnome.org/browse/gimp/tree/plug-ins/common/contra...</a>