Meshing Procedure
The basic principle of meshing is to connect the nearby points
to get a set of range images, thus produce a mesh approximating
the 3D object. To judge whether the nearby points belong to the same
surface or not, we use the depth information, that is to say,
we set a threshold value, if the difference of depths between
two nearby points is greater than this value, we think they belong
to different surfaces and do not connect them.
In order to make the mesh work, we set the zipper
resolution to 0.01. The default resolution is too small compared to
the scale of depth values.
Mesh results of some different views of our object--teapot:
For those areas which are not clearly seen from a right angle in any
of the views, we may get irregularities on the edges or holes on the
surface.