From: Mark Drakesmith on
Hi.

I was wondwering is there a way to convert either a patch object or an isosurface structure (or an array of vertices and face indices) to a volumetric image? I essentially want to do the inverse of what the isosurface function does, something like:

V = isosurface2volume(X,Y,Z,fv)

I have seen examples where you can convert a surface as produced by surf or mesh commands bot not an isosurface.

Any help would be appreciated.

Mark