|
EIDORS: Electrical Impedance Tomography and Diffuse Optical Tomography Reconstruction Software |
|
EIDORS
(mirror) Main Documentation Tutorials − Image Reconst − Data Structures − Applications − FEM Modelling − GREIT − Old tutorials − Workshop Download Contrib Data GREIT Browse Docs Browse SVN News Mailing list (archive) FAQ Developer
|
Viewing EIDORS images with MayaviSince, the Matlab graphics functions for 3D visualization are fairly poor, EIDORS provides the capability to work with VTK files, which may be viewed with Mayavi.Install MayaviInstall mayavi from mayavi.sourceforge.net/download.htmlCalculate image and save to a vtk fileThe following code will save to a file fname.vtk
img= compare_3d_algs(1);
writevtkfile('fname',img.fwd_model,img)
% writevtkfile('fname',img) % IN MORE RECENT VERSIONS
Image display
Step 1: Run Mayavi. Load file. Click: File -> Load. Select fname.vtk
Step 2: Close config dialog. Click on Close
Step 3: Visualize Surface. Click: Visualize -> Modules -> SurfaceMap. Decrease Opacity. Click: Close.
Step 4: Visualize Cut - Planes. On "Configure Surface", Unclick: Scalar Coloring. Click: Visualize -> Modules -> ScalarCutPlane. Modify Angles and Distance to suit. Add more CutPlanes to suit. |
Last Modified: $Date: 2017-02-28 13:12:08 -0500 (Tue, 28 Feb 2017) $ by $Author: aadler $