通过深度排序与曲率修复,实现更自然可编辑的矢量化图像
Image Vectorization with Depth: convexified shape layers with depth ordering
- 基于曲率的变分填充凸化被遮挡区域,提升形状连续性
- 构建带方向的深度图消除循环依赖,确保全局深度顺序正确
- 支持语义分组,使矢量图编辑更符合人类视觉感知
图像矢量化是将位图转换为可缩放矢量图形的过程,旨在有效消除像素化现象,同时用可缩放参数曲线表示图像边界。本文提出一种考虑形状间深度排序的新矢量化方法,结合基于欧拉弹性曲率的变分填充来凸化形状。给定颜色量化后的位图,首先将同色连通区域定义为形状层,并利用新提出的深度排序能量构建形状间的深度顺序。所有形状的全局深度关系由有向图表示,我们设计能量函数以消除图中的环。完成深度排序后,使用欧拉弹性曲率变分填充凸化被遮挡区域,并借助模里卡-莫托拉双阱势能的稳定性处理大范围空白区域。该方法符合人类视觉感知中边界平滑延伸的特性,且假设形状倾向于凸形。最后,对边界拟合贝塞尔曲线,并按深度顺序保存为SVG文件,实现曲率填充形状的叠加显示。这是一种全新的图像矢量化方式,将图像分解为具有计算深度顺序的可缩放形状层,使形状与图像编辑更自然直观。同时考虑形状层的语义分组。通过多种数值实验和与近期分层矢量化方法的对比,验证了所提模型的有效性。
原文摘要 · Abstract (English)
Image vectorization is a process to convert a raster image into a scalable vector graphic format. Objective is to effectively remove the pixelization effect while representing boundaries of image by scaleable parameterized curves. We propose new image vectorization with depth which considers depth ordering among shapes and use curvature-based inpainting for convexifying shapes in vectorization process.From a given color quantized raster image, we first define each connected component of the same color as a shape layer, and construct depth ordering among them using a newly proposed depth ordering energy. Global depth ordering among all shapes is described by a directed graph, and we propose an energy to remove cycle within the graph. After constructing depth ordering of shapes, we convexify occluded regions by Euler's elastica curvature-based variational inpainting, and leverage on the stability of Modica-Mortola double-well potential energy to inpaint large regions. This is following human vision perception that boundaries of shapes extend smoothly, and we assume shapes are likely to be convex. Finally, we fit Bézier curves to the boundaries and save vectorization as a SVG file which allows superposition of curvature-based inpainted shapes following the depth ordering. This is a new way to vectorize images, by decomposing an image into scalable shape layers with computed depth ordering. This approach makes editing shapes and images more natural and intuitive. We also consider grouping shape layers for semantic vectorization. We present various numerical results and comparisons against recent layer-based vectorization methods to validate the proposed model.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。