问题描述
给定包含嘴唇和其他噪声"的区域的图像(牙齿,皮肤),我们如何仅隔离和重新着色嘴唇(模拟口红"效果)?附上一张描述嘴唇/嘴巴状态的照片.
到目前为止我们所尝试的是一个由三部分组成的过程:
- 使用嘴唇上的稳定点对嘴唇进行颜色匹配(由内部 API 提供).
- 使用此颜色作为唇部隔离的基色.
- 重新着色嘴唇(口红行为)
在将它们转换为 CIE 色彩空间后,我们尝试了几种算法,如色调差异、HSV 差异、Δ 和 E.不幸的是,由于皮肤与嘴唇的颜色相对相似,以及鼻子和嘴巴投射的阴影会导致变色,因此没有任何效果或产生伪影.
我们错过了什么?有没有更好的方法来处理它?
你应该尝试语义分割技术,它肯定会给你带来很好的结果,而且这将是一个广义的概念.
Given an image of the region containing the lips and other "noise" (teeth, skin), how can we isolate and recolor only the lips (simulating a "lipstick" effect)?Attached is a photo describing the lips/mouth states.
What we have tried so far is a three-part process:
- Color matching the lips using a stable point on the lips (provided by internal API).
- Use this color as the base color for the lips isolation.
- Recolor the lips (lipstick behavior)
We tried a few algorithms like hue difference, HSV difference, ∆and E after converting them to CIE color space. Unfortunately, nothing has panned out or has produced artifacts due to the skin's relative similarity in color to the lips and the discoloration from shadows cast by the nose and mouth.
What are we missing? Is there a better way to approach it?
You should try semantic segmentation techniques that would definitely give you very good results and it would be a generalized concept.
这篇关于如何隔离和重新着色特定的颜色范围?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!