Research Article

A Novel Approach to Transform Bitmap to Vector Image for Data Reliable Visualization considering the Image Triangulation and Color Selection

Algorithm 1

Collapse algorithm.
Input: the structure Vertices of active vertices , the structure Vertices of passive vertices .
Output: the structure Vertices of
(1)forindo
(2)ifthen
(3)  continue
(4) isCommon == false//judge if is in
(5)forindo
(6)  if == then
(7)  isCommon = true
(8)  break
(9)forindo
(10)  if == then
(11)   remove//operation for both and
(12)   if isCommon == false then
(13)    create//operation for
(14)    create//operation for
(15)clear//operation for