<div dir="ltr">The code is indeed cryptic, here is an explanation:<div>- if the pixel intensity is 0, then it's set to log(65536)-log(65535)</div><div><a href="https://github.com/SimonRit/RTK/blob/master/include/rtkElektaSynergyLookupTableImageFilter.hxx#L44">https://github.com/SimonRit/RTK/blob/master/include/rtkElektaSynergyLookupTableImageFilter.hxx#L44</a><br></div><div>This value is set when the detector saturates</div><div>- if it's different from 0 and 65535, then it's set to log(65536)-log(65536-pixelValue)</div><div><a href="https://github.com/SimonRit/RTK/blob/master/include/rtkElektaSynergyLookupTableImageFilter.hxx#L50">https://github.com/SimonRit/RTK/blob/master/include/rtkElektaSynergyLookupTableImageFilter.hxx#L50</a><br></div><div>- if the pixel value is 65535, it is set to log(65536)-log(65535) (as pixel values 0 and 1)</div><div><a href="https://github.com/SimonRit/RTK/blob/master/include/rtkElektaSynergyLookupTableImageFilter.hxx#L56">https://github.com/SimonRit/RTK/blob/master/include/rtkElektaSynergyLookupTableImageFilter.hxx#L56</a><br></div><div>This code is inspired by what (I think) Elekta XVI does with the raw data.</div><div>Simon</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 2, 2021 at 1:02 PM 雅之 服部 <<a href="mailto:masayuki.h.0215@gmail.com">masayuki.h.0215@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Thank you for your reply.<br></div><div><br></div><div>I checked RTK 3D circular projection geometry doc and understood.</div><div><br></div><div>I have another question.<br>After setting the geometry from the DBF file and reading the raw projection data from .his file,<br></div><div>How do you convert the pixel values of the projection data to values for reconstruction?<br></div><div>The pixel values in the .his file appear to have 16-bit values.<br></div><div>Is the value of the raw data the numerator as it is, and the maximum value in the image as the denominator and the negative logarithm?<br></div><div><br></div><div>Or is the value of raw data (probably a logarithmic system) once made into a linear system using the unique conversion table of the elekta system?<br></div><div>I checked  rtkElektaSynergyRawLookupTableImageFilter.h  and ElektaSynergyLookupTableImageFilter.h  ,</div><div> but I couldn't understand the difference between each source code because I didn't study C ++ yet.</div><div><h2 id="gmail-m_785908641229509539gmail-blob-path" style="box-sizing:border-box;margin:0px 8px;font-size:16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-weight:400;width:auto;min-width:0px"><br></h2></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Best regards.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">masa</pre></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2021年12月1日(水) 0:21 Simon Rit <<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.fr</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div>Yes, this mailing list is meant for this kind of questions.</div><div>Only this information is used, see <a href="https://github.com/SimonRit/RTK/blob/master/src/rtkElektaSynergyGeometryReader.cxx#L72-L74" target="_blank">here</a>.</div><div>To understand the meaning, you can check that it's used <a href="https://github.com/SimonRit/RTK/blob/master/src/rtkElektaSynergyGeometryReader.cxx#L92" target="_blank">here</a>. Yes, it corresponds to DetectorOffsetX and DetectorOffsetY in the figure of this <a href="http://www.openrtk.org/Doxygen/DocGeo3D.html" target="_blank">documentation</a> for each projection.<br></div><div>Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 30, 2021 at 2:28 PM 雅之 服部 <<a href="mailto:masayuki.h.0215@gmail.com" target="_blank">masayuki.h.0215@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif">Dear rtk-users, </span><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><pre style="white-space:pre-wrap"><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)">I'm masa@japan.</span></pre></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)">Is it okay to email General Technical Questions about RTK here?</span></pre><div>I'm working on RTK elekta reconstruction, but I'm new to C ++, so I don't understand the specifics.<br></div><div>I downloadedIMAGE.DBF, FRAME.DBF and looked at the contents.<br></div><div>I understand that I am using angle information. But I didn't know what U_CENTER and V_CENTER meant.<br></div><div><br></div><div>Are they the offset numbers for each angle of the detector?</div><div>Also, which information is used for reconstruction from those two files?<br></div><div><br></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Thank you very much in advance.
</pre>masa@japan</div></div>
_______________________________________________<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/mailman/listinfo/rtk-users</a><br>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>