toScaleAxis(mat: Mat, s: number, f?: function): Mat
Apply and returns an enhanced version of the Scale Axis Transform (SAT) to
the given MAT. The returned SAT is guaranteed to be a subset of the MAT and
preserves topology at any scale.
Typically the MAT contains too many branches caused by minute details on the
boundary of the shape. The SAT is a simplification of the MAT that preserves
less detail the higher the applied scale factor. The severity at which noise
are removed depends on the local scale of the shape.
Apply and returns an enhanced version of the Scale Axis Transform (SAT) to the given MAT. The returned SAT is guaranteed to be a subset of the MAT and preserves topology at any scale.
Typically the MAT contains too many branches caused by minute details on the boundary of the shape. The SAT is a simplification of the MAT that preserves less detail the higher the applied scale factor. The severity at which noise are removed depends on the local scale of the shape.