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
|
Pre-packaged modelsMany 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 welcomeTo see what shapes are available, run: >> mk_library_model('list') ans = 42×1 cell array {'adult_male_16el' } {'adult_male_32el' } {'adult_male_16el_lungs' } {'adult_male_32el_lungs' } {'adult_male_2x16el' } {'adult_male_2x32el' } {'adult_male_2x16el_lungs' } {'adult_male_2x32el_lungs' } {'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_lungs' } {'lamb_newborn_32el_lungs' } {'lamb_newborn_16el_organs' } {'lamb_newborn_32el_organs' } {'horse_16el' } {'horse_32el' } {'horse_2x16el' } {'horse_16el_lungs' } {'horse_32el_lungs' } {'horse_2x16el_lungs' } {'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 modelfmdl= 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 lungsfmdl= 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 modelA 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 |
Last Modified: $Date: 2024-11-22 15:12:04 -0500 (Fri, 22 Nov 2024) $ by $Author: bgrychtol $