<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi Mark,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
The macros seem fine. Are you sure the relevant dimensions and the size of voxels are present and correct in the PET data header file?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Regards,
<div>Ville-Veikko Wettenhovi<br>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> BAKER, Mark (THE CLATTERBRIDGE CANCER CENTRE NHS FOUNDATION TRUST) <mark.baker23@nhs.net><br>
<b>Sent:</b> Thursday, June 16, 2022 17:08<br>
<b>To:</b> Ville-Veikko Wettenhovi <ville-veikko.wettenhovi@uef.fi>; gate-users@lists.opengatecollaboration.org <gate-users@lists.opengatecollaboration.org><br>
<b>Subject:</b> RE: Voxelised Source Placement Confusion</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
@font-face
{font-family:"Segoe UI"}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif}
a:link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
p
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif}
p.x_msonormal0, li.x_msonormal0, div.x_msonormal0
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif}
p.x_xmsonormal, li.x_xmsonormal, div.x_xmsonormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
p.x_xmsochpdefault, li.x_xmsochpdefault, div.x_xmsochpdefault
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif}
span.x_xmsohyperlink
{color:#0563C1;
text-decoration:underline}
span.x_xmsohyperlinkfollowed
{color:#954F72;
text-decoration:underline}
span.x_xemailstyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
span.x_EmailStyle24
{font-family:"Calibri",sans-serif;
color:#1F497D}
.x_MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Hi Ville-Veikko</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Thank you for your reply. The relevants macs are attached to this email. I have 8 mains in total (one for each core) which are identical apart from the first
one has visualisation. The current offset was just something I was trying but I can’t seem to get any of the numbers to truly work.</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Thank you</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<div>
<p class="x_MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#006871">Mark Baker</span></b></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#006871">Principal Clinical Scientist</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#006871">Imaging Physics (Ionising)</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#006871">The Clatterbridge Cancer Centre NHS Foundation Trust</span></p>
<p class="x_MsoNormal"><i><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#006871">(he, him)</span></i></p>
<p class="x_MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#006871"> </span></b></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#006871">CCCW Tel: 0151 556 5030
</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#006871">CCCL Tel: 0151 318 8438</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#006871">Email:
</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#4472C4"><a href="mailto:mark.baker23@nhs.net"><span style="color:#4472C4">mark.baker23@nhs.net</span></a></span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#006871">
</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#4472C4"><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fteams.microsoft.com%2Fl%2Fchat%2F0%2F0%3Fusers%3Dmark.baker23%40nhs.net&data=05%7C01%7C%7C5d632f926c7d4864dd6b08da4fa1bd80%7C87879f2e73044bf2baf263e7f83f3c34%7C0%7C0%7C637909853344842248%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Gipcg9n7psVEv5jWmFbdMVRGgMlzkvLES%2B4wWulf2mk%3D&reserved=0" originalsrc="https://teams.microsoft.com/l/chat/0/0?users=mark.baker23@nhs.net" shash="U2r9JUYYuxb2V8B8+VFx8ZV94WlBaE3PeLjFn80349GhZb9ziFcNjlCPjWT1W5ILOXr7UZz7WUjueJ94LVAjp2EvWgEcHhupGfMqXt8hoyySsgW6j7LRfVE/1UgxM0iX4YJihPsIeDlbKf1q7lmG04Hrz/YiK0UUs+Y4orBZsIM="><span style="color:#4472C4">Microsoft
Teams (click here)</span></a></span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"></span></p>
</div>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif"> Ville-Veikko Wettenhovi <ville-veikko.wettenhovi@uef.fi>
<br>
<b>Sent:</b> 16 June 2022 14:46<br>
<b>To:</b> BAKER, Mark (THE CLATTERBRIDGE CANCER CENTRE NHS FOUNDATION TRUST) <mark.baker23@nhs.net>; gate-users@lists.opengatecollaboration.org<br>
<b>Subject:</b> Re: Voxelised Source Placement Confusion</span></p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" align="left" width="100%" style="width:100.0%; margin-left:.45pt; margin-right:.45pt">
<tbody>
<tr style="height:10.5pt">
<td style="background:#910A19; padding:5.25pt 1.5pt 5.25pt 1.5pt; height:10.5pt">
<p class="x_MsoNormal" style=""> </p>
</td>
<td width="100%" style="width:100.0%; background:#FDF2F4; padding:0cm 3.75pt 0cm 6.25pt; height:10.5pt">
<p class="x_MsoNormal" style=""><span style="font-size:9.0pt; font-family:"Segoe UI",sans-serif; color:#212121">This message originated from outside of NHSmail. Please do not click links or open attachments unless you recognise the sender and know the content
is safe. </span></p>
</td>
</tr>
</tbody>
</table>
<div>
<div>
<p class="x_MsoNormal" style="background:white"><span style="font-family:"Calibri",sans-serif; color:black">Hi Mark,</span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span style="font-family:"Calibri",sans-serif; color:black">Moving the voxelized source by half of each dimension should indeed work and has worked in the cases where I've used voxelized source. Could you share
the part of the macro where you define and move the voxelized source? </span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span style="font-family:"Calibri",sans-serif; color:black">Another way to determine the positioning could be to form the "ground truth" image of the trues, i.e. an image where the coincidences are accumulated
based on their source locations. Then compare that image to the attenuation image from the attenuation map actor (both with the same dimensions).</span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="background:white"><span style="font-family:"Calibri",sans-serif; color:black">Regards,
</span></p>
<div>
<p class="x_MsoNormal" style="background:white"><span style="font-family:"Calibri",sans-serif; color:black">Ville-Veikko Wettenhovi</span></p>
</div>
<p class="x_MsoNormal" style="background:white"><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
</div>
<div class="x_MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="x_MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"> Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org">gate-users-bounces@lists.opengatecollaboration.org</a>>
on behalf of BAKER, Mark (THE CLATTERBRIDGE CANCER CENTRE NHS FOUNDATION TRUST) <<a href="mailto:mark.baker23@nhs.net">mark.baker23@nhs.net</a>><br>
<b>Sent:</b> Thursday, June 16, 2022 16:27<br>
<b>To:</b> <a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a> <<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a>><br>
<b>Subject:</b> [Gate-users] Voxelised Source Placement Confusion</span> </p>
<div>
<p class="x_MsoNormal"> </p>
</div>
</div>
<div>
<div>
<p class="x_xmsonormal">Hi all</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">I raised this query a while (or one similar) but unfortunately, I’ve not managed to get back around to my project for a while. In short, I can’t get good alignment between my CT and PET images. My understanding is that the voxelised
PET source image should be offset by half of its size to account for it being placed in the corner of the world instead of the centre where the CT image is place. My world is 1 1 2 m and my CT data is 780 780 693 mm (512x512x213 matrix). My PET data is 814.568
814.568 639 mm (200x200x213 matrix).</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">I think I was a bit confused at first, and was moving the PET source by half of its own size but then I re-read the ReadTheDocs and I think it is suggesting that I actually need to move the PET image by half of the world size (setPosition
-500 -500 -1000 mm) but this results in a large offset. I’ve tried various combinations of half the size of the world, half the size of the PET data etc. and I think I’m just going around in circles now. Logically, I feel like the solution is that I move half
of the world size at first to move the corner of the PET data into the centre of the world, then back by half of the PET image to put the centre of the PET in the centre of the world, but it is still offset. Any suggestions, as I’m tearing my hair out a little
now.</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">Additionally, in order to test where the positioning is correct, I’m relying on the generation of secondary electrons within the water phantom in my image and looking at the NbofHits file produced. This works fine when the difference
is obvious between the two, but I wonder if there is a better way to see the isocentre in order to 100% confirm it is correct? The reason I use secondary electrons is that positrons and gammas flood the image making it impossible to see the underlying CT data,
plus I expect the secondary electrons to largely be created in the water and not air.</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal">Thank you in advance!</p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal"><b><span style="color:#006871">Mark Baker</span></b></p>
<p class="x_xmsonormal"><span style="color:#006871">Principal Clinical Scientist</span></p>
<p class="x_xmsonormal"><span style="color:#006871">Imaging Physics (Ionising)</span></p>
<p class="x_xmsonormal"><span style="color:#006871">The Clatterbridge Cancer Centre NHS Foundation Trust</span></p>
<p class="x_xmsonormal"><i><span style="color:#006871">(he, him)</span></i></p>
<p class="x_xmsonormal"><b><span style="color:#006871"> </span></b></p>
<p class="x_xmsonormal"><span style="color:#006871">CCCW Tel: 0151 556 5030 </span>
</p>
<p class="x_xmsonormal"><span style="color:#006871">CCCL Tel: 0151 318 8438</span></p>
<p class="x_xmsonormal"><span style="color:#006871">Email: </span><span style="color:#4472C4"><a href="mailto:mark.baker23@nhs.net"><span style="color:#4472C4">mark.baker23@nhs.net</span></a></span><span style="color:#006871">
</span></p>
<p class="x_xmsonormal"><span style="color:#4472C4"><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fteams.microsoft.com%2Fl%2Fchat%2F0%2F0%3Fusers%3Dmark.baker23%40nhs.net&data=05%7C01%7C%7C5d632f926c7d4864dd6b08da4fa1bd80%7C87879f2e73044bf2baf263e7f83f3c34%7C0%7C0%7C637909853344842248%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Gipcg9n7psVEv5jWmFbdMVRGgMlzkvLES%2B4wWulf2mk%3D&reserved=0" originalsrc="https://teams.microsoft.com/l/chat/0/0?users=mark.baker23@nhs.net" shash="U2r9JUYYuxb2V8B8+VFx8ZV94WlBaE3PeLjFn80349GhZb9ziFcNjlCPjWT1W5ILOXr7UZz7WUjueJ94LVAjp2EvWgEcHhupGfMqXt8hoyySsgW6j7LRfVE/1UgxM0iX4YJihPsIeDlbKf1q7lmG04Hrz/YiK0UUs+Y4orBZsIM="><span style="color:#4472C4">Microsoft
Teams (click here)</span></a></span></p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal"><i><span style="color:#006871">Honorary Lecturer, Dept. of Physics</span></i></p>
<p class="x_xmsonormal"><i><span style="color:#006871">University of Liverpool</span></i></p>
<p class="x_xmsonormal"><span style="color:#006871"> </span></p>
<p class="x_xmsonormal"><img border="0" width="624" height="163" id="x_x_Picture_x0020_3" alt="CCC email footer April 2021" style="width:6.5in; height:1.6979in" data-outlook-trace="F:1|T:1" src="cid:image001.jpg@01D88192.F9CE12F0"></p>
<p class="x_xmsonormal"> </p>
<p class="x_xmsonormal"> </p>
</div>
<p class="x_MsoNormal" style="margin-bottom:12.0pt"><br>
<span style="font-size:10.0pt; font-family:"Courier New"; color:black"><br>
************************************************************************************** ******************************<br>
<br>
This message may contain confidential information. If you are not the intended recipient please:<br>
i) inform the sender that you have received the message in error before deleting it; and
<br>
ii) do not disclose, copy or distribute information in this e-mail or take any action in relation to its content (to do so is strictly prohibited and may be unlawful).
<br>
Thank you for your co-operation.<br>
<br>
NHSmail is the secure email, collaboration and directory service available for all NHS staff in England. NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and other accredited email services.<br>
<br>
For more information and to find out how you can switch visit <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.nhs.net%2Farticle-categories%2Fjoining-nhsmail%2F&data=05%7C01%7C%7C5d632f926c7d4864dd6b08da4fa1bd80%7C87879f2e73044bf2baf263e7f83f3c34%7C0%7C0%7C637909853344842248%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gyMBRpnBLeE8jNh4ZMD1hfbwccJErznyVvBUbhvZoz8%3D&reserved=0" originalsrc="https://support.nhs.net/article-categories/joining-nhsmail/" shash="FNroSTZoFXuJiGwEC5caQoFzz4n7/3b0knOwKX3c2DToB9mh1ju9bjpPEPT22fErO2+CFzmw3n+vqIjJCA0TOXiAlfhFegAuuaewK6LML6iMNWmBJNhHST0kO121o49+NAVwV68QYcRUxBgk00IJwp9WYqbVgFN1ffGfe0hAJqM=">
Joining NHSmail – NHSmail Support</a></span></p>
</div>
</div>
</div>
<br>
<font face="Courier New" color="Black" size="2"><br>
************************************************************************************** ******************************<br>
<br>
This message may contain confidential information. If you are not the intended recipient please:<br>
i) inform the sender that you have received the message in error before deleting it; and
<br>
ii) do not disclose, copy or distribute information in this e-mail or take any action in relation to its content (to do so is strictly prohibited and may be unlawful).
<br>
Thank you for your co-operation.<br>
<br>
NHSmail is the secure email, collaboration and directory service available for all NHS staff in England. NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and other accredited email services.<br>
<br>
For more information and to find out how you can switch visit <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.nhs.net%2Farticle-categories%2Fjoining-nhsmail%2F&data=05%7C01%7C%7C5d632f926c7d4864dd6b08da4fa1bd80%7C87879f2e73044bf2baf263e7f83f3c34%7C0%7C0%7C637909853344842248%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gyMBRpnBLeE8jNh4ZMD1hfbwccJErznyVvBUbhvZoz8%3D&reserved=0" originalsrc="https://support.nhs.net/article-categories/joining-nhsmail/" shash="FNroSTZoFXuJiGwEC5caQoFzz4n7/3b0knOwKX3c2DToB9mh1ju9bjpPEPT22fErO2+CFzmw3n+vqIjJCA0TOXiAlfhFegAuuaewK6LML6iMNWmBJNhHST0kO121o49+NAVwV68QYcRUxBgk00IJwp9WYqbVgFN1ffGfe0hAJqM=">
Joining NHSmail – NHSmail Support</a><br>
<br>
</font></div>
</body>
</html>