create_inclusion
PURPOSE
USAGE: inhomg_img = create_inclusion( homg_img, inclusion_xyz, ...
SYNOPSIS
function inhomg_img = create_inclusion( homg_img, center, r, inclusion_mat, order)
DESCRIPTION
CROSS-REFERENCE INFORMATION
This function calls:
This function is called by:
SOURCE CODE
0001 function inhomg_img = create_inclusion( homg_img, center, r, inclusion_mat, order)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 name = homg_img.name;
0019 mat = homg_img.elem_data;
0020 fwd_model = homg_img.fwd_model;
0021
0022
0023 xyzr = [center r];
0024 fraction = mk_c2f_circ_mapping( homg_img.fwd_model, xyzr');
0025
0026
0027 mat = fraction*inclusion_mat + (1-fraction).*mat;
0028
0029
0030 inhomg_img= eidors_obj('image', name, ...
0031 'elem_data', mat, ...
0032 'fwd_model', fwd_model );
0033
0034
0035
0036
Generated on Fri 30-Dec-2022 19:44:54 by m2html © 2005