| Algorithm 1. Smoothing structure algorithm |
| Inputs: mesh, β, η, e, K, Ndim, Mdim |
| Outputs: Binary map: clMap; clusters: Kmap |
| newmesh ← generate regular mesh (Ndim × Mdim) in the mesh domain |
|
newmesh ← interpolated data of the parameter vector newmesh ← clusterization of newmesh by η on K clusters |
| color ← unique (Kmap) |
| clMap ← 0 |
| For each cluster in Kmap |
| clMap (cluster.center) = s |
| stPoint = cluster.center |
| clMap ← ColorStep(clMap, newmesh, cluster, stPoint, color; eps, s) |
| end for |
| clMap (clMap ≥ s) ← 1 |
| clMap (clMap < s) ← 0 |