修复 3D 头部扫描错误的问题

发布于 2024-12-09 04:59:45 字数 616 浏览 1 评论 0原文

我面临的问题如下。 我有许多 3D 头部扫描,其中一些是正确拍摄的(如所附示例),但在许多中很容易看到被扫描的人的头部与机器的前部不完全对齐,因此与纹理的一侧不完全对齐(和深度图)似乎更“宽”(确切原因是一侧从后面拍摄得更多,如果你看耳朵就很容易看出)。

幸运的是,当我从柱坐标转到笛卡尔坐标并使用 XNA 渲染面部时,面部是对称的。

现在的问题是,我希望我所有头部的纹理和深度图与正确的一样漂亮和对称(因为稍后我想对齐它们并执行 PCA)。

我目前的想法是,我可以在所有顶点之间插入曲面,并从这些插值中获取彼此距离相等的新顶点。 这个解决方案似乎需要大量工作,而且可能有点矫枉过正。 也许还有其他方法(比如从 DirectX/XNA 获取插值数据,无论如何都必须在某个时刻计算它)。

我将非常感谢有用的答案。

正确的例子: http://i55.tinypic.com/332mio2.jpg 不正确的例子: http://i54.tinypic.com/309ujvt.jpg

The problem I am facing is following.
I have a number of 3D head scans, some of them are taken correctly (like attached example) but in many it is easy to see that the scanned person had his head not exactly aligned with the machine's front and thus one side of the texture (and depth map) seems to be "wider" (the exact reason is that one side was taken more from behind, it can be easily seen if you look at the ears).

Fortunately when I go from the cylindrical coordinates to carthesian ones and render the face with XNA, the face is symmetrical.

Now the thing is that I would like the texture and depth maps of all my heads by as nice and symmetrical as the correct one (because later i want to align them and perform PCA).

The idea I have at the moment is that I could interpolate the surfaces between all of the vertices and from those interpolations take new vertices that are equally distanced from each other.
This solutions seems a lot of work and maybe its an overkill.
Maybe there is some other way (like geting that interpolation data from DirectX/XNA that has to calculate it at some point anyway).

I will be most thankful for helpful answers.

The correct example:
http://i55.tinypic.com/332mio2.jpg
Incorrect example:
http://i54.tinypic.com/309ujvt.jpg

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

第几種人 2024-12-16 04:59:45

使用一些坐标转换在某种程度上可能可以挽救(某些)不良扫描,但是您必须猜测对齐的“不正确性”,并且可能不可能自动完成。

但是,除非原始对象已死亡(或以其他方式不可用);重做扫描可能会容易得多。

进行另一次扫描很可能会更快,并且您不会像转换不良扫描那样降低质量。错误样本上的鼻子似乎遮住了鼻子的侧面,并且没有任何花哨的算法可以修复丢失的数据。

It's probably possible to salvage (some of) the bad scans to some degree using some coordinate transformations, but you would have to guess the "incorrectness" of the alignment and it's probably impossible to do automatically.

But, unless the original subject is dead (or otherwise unavailable); it's probably a lot easier to redo the scans.

Making another scan is very likely to be quicker, and you won't loose quality as transforming the bad scans probably will. The nose on the incorrect sample seems to be shadowing the side of the nose, and no fancy algorithm can ever fix the missing data.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文