surface2volume

Convert a volume defined by a surface to a binary 3D block.
8,7K Descargas
Actualizado 24 oct 2005

Sin licencia

First the surface will be rasterized on the grid. Therefore it calculates the position of points which lie in the surface in a finer resolution as defined by the inputgrid. These points were then tranfered to the point it the inputgrid by using a simple indexing technique. One could also use dsearchn, but this takes to much computational time, however, it can avoid the need of an equidistant grid. After rasterizing the patches the background is fill using imfill. The start point is set to the lower left corner. Afterwards the data block will be inverted. The script tests if the datablock is fully filled and tries to repeat the task slice by slice.

Citar como

Daniel Guellmar (2026). surface2volume (https://la.mathworks.com/matlabcentral/fileexchange/8772-surface2volume), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R14SP1
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Versión Publicado Notas de la versión
1.0.0.0

There was a small error in the script, which turn the program to fail, if an input grid was given.