Eidors-logo    

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
                       

 

Hosted by
SourceForge.net Logo

 

Pre-packaged models

Many pre-compiled shapes have been put into the function mk_library_model.m. This may be used to give easy access to thorax shapes. We indend to add more shapes to this model. Contributions are welcome

To see what shapes are available, run:

>> >> mk_library_model('list')
ans =
    'adult_male_16el'
    'adult_male_32el'
    'adult_male_16el_lungs'
    'adult_male_32el_lungs'
    'adult_male_grychtol2016a_1x32'
    'adult_male_grychtol2016a_2x16'
    'cylinder_16x1el_coarse'
    'cylinder_16x1el_fine'
    'cylinder_16x1el_vfine'
    'cylinder_16x2el_coarse'
    'cylinder_16x2el_fine'
    'cylinder_16x2el_vfine'
    'neonate_16el'
    'neonate_32el'
    'neonate_16el_lungs'
    'neonate_32el_lungs'
    'pig_23kg_16el'
    'pig_23kg_32el'
    'pig_23kg_16el_lungs'
    'pig_23kg_32el_lungs'
    'lamb_newborn_16el'
    'lamb_newborn_32el'
    'lamb_newborn_16el_organs'
    'beagle_16el'
    'beagle_32el'
    'beagle_16el_lungs'
    'beagle_32el_lungs'
    'beagle_16el_rectelec'
    'beagle_32el_rectelec'
    'beagle_16el_lungs_rectelec'
    'beagle_32el_lungs_rectelec'

Pig thorax model

fmdl= mk_library_model('pig_23kg_16el');
subplot(211); show_fem(fmdl);
print_convert mk_library_model01a.png
view(2);
print_convert mk_library_model01b.png

Human thorax model with lungs

fmdl= mk_library_model('adult_male_16el_lungs');
img = mk_image(fmdl, 0.25); % background conductivity
img.elem_data([fmdl.mat_idx{2};fmdl.mat_idx{3}]) = 0.05; % lungs
subplot(211); show_fem(img);
print_convert mk_library_model02a.png
view(2);
print_convert mk_library_model02b.png

Customized library model

A model can be customized from the one provided by the library. Here we get the shape and boundary, but add our own electrode positions.
elec_per_plane = 8;
equal_spacing = 1;
elec_planes = [0.4,0.6];
elec_shape = [0.05]; % circular elecs,
maxh       = 0.08;   % mesh size
fmdl= mk_library_model({'adult_male','boundary'}, ...
       [elec_per_plane,equal_spacing, elec_planes], elec_shape, maxh);
clf
subplot(211); show_fem(fmdl);
print_convert mk_library_model03a.png
view(2);
print_convert mk_library_model03b.png

Human thorax model from Visible Human Geometry

The following models are generated from the visible human geometry and use gmsh and netgen for meshing.
fmdl= mk_library_model('adult_male_grychtol2016a_2x16')
subplot(211);
view(-20,24); show_fem_enhanced(fmdl);
print_convert mk_library_model04a.png
view(0,0);    show_fem_enhanced(fmdl);
print_convert mk_library_model04b.png

Last Modified: $Date: 2017-03-21 10:50:31 -0400 (Tue, 21 Mar 2017) $ by $Author: aadler $