CVT_3D_SAMPLING is a MATLAB program which allows the user to carry out steps of Lloyd's iteration for approximating a Centroidal Voronoi Tessellation (CVT) in the unit cube.
The determination of the Voronoi regions is carried out using sampling. This means that the convergence of the iteration is influenced by the accuracy of the estimates provided by sampling.
cvt_3d_sampling ( g_num, it_num, s_num )where
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
CCVT_BOX, a MATLAB program which constructs a modified CVT in which some points are forced to lie on the boundary.
CCVT_REFLECT, a MATLAB program which tries to construct a modified CVT in which some points are forced to lie on the boundary, using a reflection idea.
CVT, a MATLAB library which computes CVT's.
CVT, a dataset directory which contains a variety of examples of CVT datasets.
CVT_1D_LLOYD, a MATLAB program which computes an N-point Centroidal Voronoi Tessellation (CVT) within the interval [0,1], under a uniform density, using exact techniques to determine the Voronoi regions.
CVT_1D_NONUNIFORM, a MATLAB program which computes an N-point Centroidal Voronoi Tessellation in 1 dimension, under a nonuniform density, and plots the evolution of the locations of the generators during the iteration;
CVT_1D_SAMPLING, a MATLAB program which computes an N-point Centroidal Voronoi Tessellation (CVT) within the interval [0,1], under a uniform density, using sampling to estimate the Voronoi regions.
CVT_2D_SAMPLING, a MATLAB program which computes an N-point Centroidal Voronoi Tessellation (CVT) within the uni square, under a uniform density, using sampling to estimate the Voronoi regions.
CVT_DATASET, a MATLAB program which can create a CVT dataset.
CVT_DEMO, a MATLAB program which demonstrates a CVT calculation.
LCVT, a MATLAB library which computes a "Latinized" Centroidal Voronoi Tessellation.
The following images were created with the command cvt_3d_sampling ( 100, 100, 100000 ).
You can go up one level to the MATLAB source codes.