 For each voxel, a centroid is chosen as the representative of all points.There are two approaches, the selection of the voxel centroid or select the centroid of the points lying within the voxel.To obtain internal points average has a higher computational cost, but offers better results.