필터 지우기
필터 지우기

Perspective Projection of a 3D head to form a face image

조회 수: 1 (최근 30일)
chaitanya
chaitanya 2013년 1월 17일
답변: hagege ruben 2017년 12월 2일
Input: 53490 3D points and for each point (xyz) and color (rgb) of a head
Output: 2D face image as viewed from a particular position / direction
Platform: Matlab
After study, I found the steps to be implemented
I implemented the above 3 steps in Matlab. But it takes 8 min for the execution. The 2D rendering is part of my project (3D Morphable Models); I will be calling the 2D rendering part 5000 times later. I want the execution time under 1sec.
The bulk (99.9%) of time is taking for z-buffering. The implementation is done following the wiki link.
Can anyone help me to reduce the time in Matlab or suggest other platform? Any tutorials/demo references to understand the above steps will be helpful.
Thanks in advance
  댓글 수: 1
Yuhan Zhang
Yuhan Zhang 2016년 6월 24일
I want to work on 3D face reconstruction, but I do not know how to do it. Can you send your code to me to study?

댓글을 달려면 로그인하십시오.

답변 (2개)

Jinzheng Sha
Jinzheng Sha 2014년 4월 9일
Hi, Chaitanya:
I have seen your question http://www.mathworks.com/matlabcentral/answers/59092-perspective-projection-of-a-3d-head-to-form-a-face-image. I am now working on a project which consists of fitting a 3D facial model to a 2D image. I also get stuck in the persective projection of the 3D model.
I do not understand why do you need z-buffering. Is that because your 3D data includes color? Can I do this task by just multipling the 3D data with a project matrix R?
Hope to hear from you!
Thank you!
  댓글 수: 1
Yuhan Zhang
Yuhan Zhang 2016년 6월 24일
I want to work on 3D face reconstruction, but I do not know how to do it. Can you send your code to me to study?

댓글을 달려면 로그인하십시오.


hagege ruben
hagege ruben 2017년 12월 2일
why not simply use the plot3 (or another kind of 3d plot) function while assigning CData to the points and using view to get the point of view that you want? you can then use material and light and tweak some options to get a better rendering

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by