Skip to content

Commit

Permalink
update patient voxelSize handling in TOPAS
Browse files Browse the repository at this point in the history
- Removed vector from Z corrdinate of the VoxelSize (it's not written anyways and it's therefore not needed now)
  • Loading branch information
HomolkaN committed Apr 28, 2023
1 parent 32e8341 commit 7c2a36f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topas/matRad_TopasConfig.m
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,7 @@ function writePatient(obj,ct,pln)
fprintf(fID,'iv:Ge/Patient/NumberOfVoxelsZ = 1 %d\n',ct.cubeDim(3));
fprintf(fID,'d:Ge/Patient/VoxelSizeX = %.3f mm\n',ct.resolution.x);
fprintf(fID,'d:Ge/Patient/VoxelSizeY = %.3f mm\n',ct.resolution.y);
fprintf(fID,'dv:Ge/Patient/VoxelSizeZ = 1 %.3f mm\n',ct.resolution.z);
fprintf(fID,'d:Ge/Patient/VoxelSizeZ = %.3f mm\n',ct.resolution.z);
fprintf(fID,'s:Ge/Patient/DataType = "SHORT"\n');
fprintf(fID,'iv:Ge/Patient/MaterialTagNumbers = %d ',length(unique_hu));
fprintf(fID,num2str(unique_hu','%d '));
Expand Down

0 comments on commit 7c2a36f

Please sign in to comment.