We use cookies to improve your experience with our site.

基于调色板的图像和视频的颜色迁移

Palette-Based Color Transfer for Images and Videos

  • 摘要:
    研究背景 颜色迁移指的是调整图像或视频中的颜色,使其与参考图像或参考视频中的颜色效果保持一致。颜色迁移的核心目标是在使原图像或原视频的颜色与参考图像或参考视频的颜色相匹配的同时,保留其本来的内容和结构。该技术在各个领域都有不同的应用,包括图像处理、计算机图形学和多媒体。目前传统的颜色迁移方法可能无法成功地将参考图像的颜色迁移到目标图像上,基于深度学习的颜色迁移方法总是依赖于输入图像的语义相似性以及训练数据集,并且结果不易于编辑。此外,这两类图像颜色迁移方法在扩展应用到视频时可能会遇到挑战,比如保持各帧之间的颜色一致性。
    目的 我们的目标是提出一个图像颜色迁移方法能够有效地迁移参考颜色到目标图像上并且可以简单地被扩展到视频上。
    方法 我们基于简化的凸包算法和聚类算法提取了增强的调色板,并使用调色板中的颜色来重构我们的图像。基于所提出的调色板,我们提出了一种专门为图像颜色迁移设计的调色板匹配算法,该算法通过解决一个优化问题,将参考图像的颜色迁移到原始图像上。我们通过调整调色板和匹配算法,将图像颜色迁移算法扩展应用到了灰度图像彩色化以及视频颜色迁移上。
    结果 我们进行了大量的实验和比较,以衡量我们结果的质量。我们进行了视觉比较、定量指标(结构相似性指数,即SSIM)比较,还进行了一项用户研究。这些研究结果表明,我们的算法能够有效地将参考图像的颜色风格迁移到彩色和灰度图像以及视频上。
    结论 我们提出了一种增强的调色板,并提出了一个灵活的颜色迁移框架,该框架支持用户从粗到细地进行颜色编辑。我们将算法成功扩展应用到了灰度图像彩色化、时间一致性以及随时间变化的视频颜色迁移。未来,我们计划加快调色板提取的过程。并且我们打算通过将图像纹理信息整合到我们的方法中来增强语义匹配。

     

    Abstract: In this paper, we propose a method that can extract enhanced color palettes for images, which are characterized by a heightened level of representativeness for images. The resulted palettes are not only easy to compute but also effectively convey the distribution of pixels across the color space. Based on these extracted palettes, we present a tailored color palette matching algorithm designed for our image color transfer method by solving an optimization problem to transfer colors from a reference image to the original image. Our algorithm offers the flexibility to operate in fully automatic mode or provide various levels of user interactivity, allowing for coarse-to-fine editing. Moreover, we demonstrate the adaptability of our palette-based color transfer method to diverse applications, including grayscale image colorization and temporally consistent, time-varying video color transfer. Extensive experiments and comparisons have been conducted to measure the quality of our results, employing both visual assessments and evaluation metrics. These findings demonstrate that our palette-based color transfer method efficiently and faithfully transfers color styles from reference images to both color and grayscale images and videos.

     

/

返回文章
返回