图像到 N 个三角形,颜色损失最小
需要使用 Delaunay 三角剖分将图像转换为 N 个三角形。每个三角形一种颜色,并且颜色可以重复。 损失函数由每个像素颜色差的平方给出。 那么如何优化颜色和三角形的顶点呢?
Required to turn an image into N triangles with Delaunay triangulation. One color for each triangle, and colors can be repeated.
The loss function is given by the square of the difference in the color of each pixel.
So how to optimize the color and the vertices of triangles?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
递归分割过程概述:
生成的 N 个三角形网络被着色以最小化损失函数:
可能值得对有关该主题的现有文献进行调查。第一个搜索引擎点击返回基于 Delaunay 三角测量和矢量量化的分形图像压缩
A recursive splitting procedure outline:
The resulting net of
N
triangles is colored to minimize the loss function:It might be worthwhile to conduct a survey of existing literature on the topic. A first search engine hit returned Fractal image compression based on Delaunay triangulation and vector quantization