Perspective projection and Z-buffering of a 3D head for imaging a face

Input: 53490 3D points for each point (xyz) and color (rgb) of the head

Exit: Two-sided face image when viewed from a specific position / direction

Platform: Matlab C / C ++

After studying, I found that the steps will be implemented

I implemented the above 3 steps in Matlab. But it takes 8 minutes to complete. 2D rendering is part of my project; I will call the part of 2D rendering 5000 times later. I want the runtime to be less than 1 second.

Volumetric (99.9%) time is taken for z-buffering. Implementation is done via the wiki link.
Can someone help me reduce the time in Matlab or suggest a different platform? Any guides / demos for understanding the above steps will be helpful.

Thanks in advance

+2
source share
1 answer

I do not recommend you do this in Matlab, because you may need to visualize a large volume. Try vtk and you may need some programming.

Here is a simple (3D project) from ImageJ: http://imagejdocu.tudor.lu/doku.php?id=gui:image:stacks

+1
source

Source: https://habr.com/ru/post/894243/


All Articles