<div dir="ltr">This way you have correct_pixel_value = 100 + 0 * original_pixel_value<div><div>Then you have all your projections flat with value 100.</div></div><div><br></div><div>If you set --wpc=a,b,c,d,... it means correct_pixel_value = a + b * original_pixel_value + c * original_pixel_value^2 + d * original_pixel_value^3 + ...</div><div>You have to figure out proper values yourself.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-23 18:25 GMT+01:00 muhammad waqar <span dir="ltr"><<a href="mailto:muhammad.s.waqar@gmail.com" target="_blank">muhammad.s.waqar@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I'm still having a hard time using --wpc in the rtkfdk tool. </div><div>This is how im using it, could you please tell me how im doing it wrong?<br><br><div>/RTK-bin/bin/rtkfdk \</div><div> --lowmem \</div><div> --geometry $RtkGeoOutLoc \</div><div> --path $IMGLOC \</div><div> --regexp '.*.his' \</div><div> --output /Sorted_4DCBCT_Data/$FileName/<wbr>sorted/wpcTest/WPCtest100b.<wbr>mha' \</div><div> --verbose \</div><div><span style="white-space:pre-wrap"> </span>-spr=24 \</div><div><span style="white-space:pre-wrap"> </span>--wpc= 100 0 \</div><div> --spacing $Space,$Space,$Space \</div><div> --dimension $Dim,$Dim,$Dim</div></div><div><br></div><div>Thank you very kidnly,</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=abXVoYW1tYWQucy53YXFhckBnbWFpbC5jb20%3D&type=zerocontent&guid=e2cb597b-9311-4cc1-af26-a5e0b3a3f10a"><font color="#ffffff" size="1">ᐧ</font></div><div class="gmail_extra"><br clear="all"><div><div class="m_8275417009235214399gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><img src="cid:ii_ikr6063i0_152f076ec0a32494" width="148" height="36" style="font-size:12.8px;margin-right:0px"><br><div style="font-size:small"><font face="tahoma, sans-serif"> Phone: (647)885-5292</font></div></div></div></div></div></div><div><div class="h5">
<br><div class="gmail_quote">On Mon, Feb 19, 2018 at 6:00 AM, Chao Wu <span dir="ltr"><<a href="mailto:wuchao04@gmail.com" target="_blank">wuchao04@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">And be aware that --wpc receives polynomial coefficients, and if you only specify one number this will become the constant term only, which is probably not your intent.<div>Regards, Chao<br><div><br></div></div></div><div class="m_8275417009235214399HOEnZb"><div class="m_8275417009235214399h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-02-19 7:39 GMT+01:00 Simon Rit <span dir="ltr"><<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.f<wbr>r</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br></div>To convert to HU, you need to measure a phantom with water and air and to apply the formula for HU conversion (see <a href="https://en.wikipedia.org/wiki/Hounsfield_scale" target="_blank">wikipedia</a>). Note that due to scatter in (Elekta) cone-beam CTs, you will have difficulties in doing this conversion due to strong artifacts.<br></div>The --wpc coefficients can allow you to apply the slope of this formula but the intercept must be subtracted after reconstruction. We illustrate <a href="http://wiki.openrtk.org/index.php/WaterPreCorrection" target="_blank">here</a> how to use wpc.<br></div><div>Good luck,<br></div>Simon<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_8275417009235214399m_8397230605766624136h5">On Mon, Feb 19, 2018 at 1:01 AM, muhammad waqar <span dir="ltr"><<a href="mailto:muhammad.s.waqar@gmail.com" target="_blank">muhammad.s.waqar@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_8275417009235214399m_8397230605766624136h5"><div dir="ltr"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Hello all,</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">I'm a new user to ITK/RTK and I'm having a few issues:</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Following the ElektaReconstruction steps on the wiki, I was able to reconstruct my scan. However, the window and level are still in attenuation coefficients. How can I convert my scan to Hounsfield Units?</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Whenever I put in any value for --wpc in RTKFDK (I've tried values from 0.015-150) my recon results in a 'blank' as is attached below.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Any help in resolving this would be great. </div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Kindly,</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">-Waqar Muhammad</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Carleton University</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><img src="cid:ii_jdtgh2ma0_161ab5d5c4f1abc0" width="485" height="348"><br><br></div>
</div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=abXVoYW1tYWQucy53YXFhckBnbWFpbC5jb20%3D&type=zerocontent&guid=fef20fba-a2ad-471f-8a83-6728d7281889"><font size="1" color="#ffffff">ᐧ</font></div>
<br></div></div>______________________________<wbr>_________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/rtk-users</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/rtk-users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>