When i projected a 3D model on a 2D plan (Perspective projection) the result of the projection appeared as the following image.

and i need to fill empty points in this image to look like this one
i wonder that i can find a good way to fill this points with a professional way using any image processing algorithms using matlab

Here is a MATLAB version somewhat equivalent to @belisarius answer: