Research Article

An Approach to Generate Spatial Voronoi Treemaps for Points, Lines, and Polygons

Algorithm 5

PixelsUpdate().
Input: a set of pixels , count
Output: a set of pixels , count
Begin
for  ; step 1 until    do
if () then
   if () then
    
   endif
   if () then
    count ++
   endif
endif
endfor
End