| Input shape |
| Output new shape |
| For each point of shape X |
| For each sub-window centered at point |
| of the window centered at the feature point . |
| (i) Computing MLP . If the return value is (+1) then point is at the edge. |
| (ii) Selecting the nearest point to the point |
| as the new feature point . |