对准2的脸部图像基于它们的标记点 [英] aligning 2 face images based on their marker points

查看:173
本文介绍了对准2的脸部图像基于它们的标记点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用开放式的简历和C ++。我有包含对他们的标记点2人脸图像。我已经发现了标记点的坐标。现在我需要调整基于这些坐标的2人脸图像。 2.图像未必是一定相同的高度,这就是为什么我无法弄清楚如何启动对准他们,应该怎样做等。

I am using open cv and C++. I have 2 face images which contain marker points on them. I have already found the coordinates of the marker points. Now I need to align those 2 face images based on those coordinates. The 2 images may not be necessarily of the same height, that is why I can't figure out how to start aligning them, what should be done etc.

推荐答案

在你的情况,你不能应用基于单应调整过程。为什么不呢?因为它不适合在这个用例。它的目的是对齐的平坦表面。面(3D对象)中,在不同的地方和深度标记显然是不平坦的表面。

In your case, you cannot apply the homography based alignment procedure. Why not? Because it does not fit in this use case. It was designed to align flat surfaces. Faces (3D objects) with markers at different places and depths are clearly no planar surface.

相反,您可以:

  1. 尝试匹配标记之间的图像,然后进行内插的其它像素的位移字段中。这样做将包括移动最小二乘插或 RBF 的;
  2. 否则,这样做将是使用脸部图像的分解的纹理和脸部模型之间(如 AAM 那样),工作中使用你的脸的分解在此设置。
  1. try to match the markers between images then interpolate the displacement field of the other pixels. Classical ways of doing it will include moving least squares interpolation or RBF's;
  2. otherwise, a more "Face Processing" way of doing it would be to use the decomposition of faces images between a texture and a face model (like AAM does) and work using the decomposition of your faces in this setup.

这篇关于对准2的脸部图像基于它们的标记点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆