|
From: Jakob O. <jak...@rw...> - 2013-10-16 09:37:32
|
Hi everyone, I tried to use the target_plane option when creating a GREIT-mdl: "opt.target_plane = 0.1;" imdl_greit = mk_GREIT_model(img, 0.25, [], opt); The model height is 0.3, there are two electrode rings at h=0.1 and h=0.2 However, at least in my setup, the condition "if t<minnode(3) || t>maxnode(3)" in line 378 (mk_GREIT_mdl.m) causes an error because minnode is undefined. I think the idea is to check if the target plane is inside the model, hence adding the lines "minnode = min(fmdl.nodes); maxnode = max(fmdl.nodes);" prior to the condition fixes this issue. I don't know if this is a known problem, but I did not find anything about this. Best wishes, Jakob |