mne.
decimate_surface
(points, triangles, n_triangles)[source]¶Decimate surface data.
Note. Requires TVTK to be installed for this to function.
Note. If an if an odd target number was requested,
the quadric decimation
algorithm used results in the
next even number of triangles. For example a reduction request to 30001
triangles will result in 30000 triangles.
Parameters: | points : ndarray
triangles : ndarray
n_triangles : int
|
---|---|
Returns: | points : ndarray
triangles : ndarray
|