Skip to content

Commit

Permalink
Merge pull request #696 from JenHardt/dev_varRBErobOpt
Browse files Browse the repository at this point in the history
small  bug fix to assgin HU in phantom builder
  • Loading branch information
amitantony authored Feb 8, 2024
2 parents edfe9c8 + 811f48d commit 7429d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phantoms/builder/matRad_PhantomBuilder.m
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function addSphericalOAR(obj,name,radius,varargin)

for i = 1:size(obj.cst,1)
vIxVOI = obj.cst{end-i+1,4}{1};
obj.ct.cubeHU{1}(vIxVOI) = 0; % assign HU
obj.ct.cubeHU{1}(vIxVOI) = obj.volumes{1,end-i+1}.HU; % assign HU
end

ct = obj.ct;
Expand Down

0 comments on commit 7429d17

Please sign in to comment.