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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Image color replacement with numerical optimization

78 点作者 andersource将近 4 年前

6 条评论

maurits将近 4 年前
Pretty clever. Somewhat related, if you want to match the colours of an entire image to an other, you can use optimal transport [1]<p>Unrelated, the author has a very nice take on generating the organic grid from Oskar Stålberg’s Townscaper game [2].<p>[1]: <a href="https:&#x2F;&#x2F;codimd.math.cnrs.fr&#x2F;s&#x2F;2eRBqV9zl" rel="nofollow">https:&#x2F;&#x2F;codimd.math.cnrs.fr&#x2F;s&#x2F;2eRBqV9zl</a><p>[2]: <a href="https:&#x2F;&#x2F;andersource.dev&#x2F;2020&#x2F;11&#x2F;06&#x2F;organic-grid.html" rel="nofollow">https:&#x2F;&#x2F;andersource.dev&#x2F;2020&#x2F;11&#x2F;06&#x2F;organic-grid.html</a>
评论 #27699192 未加载
评论 #27711277 未加载
评论 #27699780 未加载
评论 #27699391 未加载
tyingq将近 4 年前
A more pedestrian imagemagick script that uses a &quot;fuzz value&quot; that&#x27;s a number of degrees on a hue wheel instead:<p><a href="http:&#x2F;&#x2F;www.fmwconcepts.com&#x2F;imagemagick&#x2F;replacecolor&#x2F;index.php" rel="nofollow">http:&#x2F;&#x2F;www.fmwconcepts.com&#x2F;imagemagick&#x2F;replacecolor&#x2F;index.ph...</a>
kirillcool将近 4 年前
&quot;Flowers replaced to red&quot; looks like it also tinted the whole sky red. In general, all the image captions imply that the algorithm is able to identify objects (flowers, ice cream scoop, shirt) and only change that object&#x27;s color.
评论 #27699053 未加载
评论 #27700032 未加载
adampk将近 4 年前
Sorry for the noob question but reading through this I can&#x27;t make sense of why this is the desired transformation:<p>&quot;Desired transformation: σ(σ(IT)N)&quot;<p>What is I, T, and N?
评论 #27703147 未加载
pajko将近 4 年前
Also there is <a href="https:&#x2F;&#x2F;www.cs.huji.ac.il&#x2F;~yweiss&#x2F;Colorization&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.cs.huji.ac.il&#x2F;~yweiss&#x2F;Colorization&#x2F;</a><p>Had implemented a Khoros filter box based on this for my Computer Graphics class back then.
danuker将近 4 年前
Very interesting! They look a bit surreal, as if inverted maybe.
评论 #27698743 未加载