<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <br>
    Hello Elia,<br>
    <br>
    My feeling is the image is converted to short integer. I suppose you
    use clitkImageConvert to convert dicom to mha, could you try with
    the option -t ushort please ?<br>
    The black area you can see are the values >= 32767 (the short
    max).<br>
    <br>
    Thomas<span style="color: rgb(23, 23, 23); font-family: "Segoe
      UI", SegoeUI, "Helvetica Neue", Helvetica, Arial,
      sans-serif; font-size: 14px; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      left; text-indent: 0px; text-transform: none; white-space: normal;
      widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); text-decoration-thickness:
      initial; text-decoration-style: initial; text-decoration-color:
      initial; display: inline !important; float: none;"></span><br>
    <br>
    <div class="moz-cite-prefix">On 07/09/2021 16:30, Lombardo, Elia
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:b910b361d7d94661932d84c9719ce888@MITMB4.helios.med.uni-muenchen.de">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:"LMU CompatilFact";}@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="IT">Dear vv team,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="IT"><o:p> </o:p></span></p>
        <p class="MsoNormal">Me and my colleagues are using vv to
          preprocess PET Dicom images for a project.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">When opening some of the Dicom images in vv
          we see many  ‘black islands’, i.e. areas with large negative
          values (top row in the image below). We then turn the negative
          values to positive values for the island areas, convert dicom
          to mha and get a reasonably well looking image (bottom row).<o:p></o:p></p>
        <p class="MsoNormal"><img style="width:6.369in;height:4.7797in"
            id="Picture_x0020_3"
            src="cid:part1.B3646B81.EE4322A9@creatis.insa-lyon.fr"
            class="" width="611" height="459"><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">However, we checked the exact data value in
          a few points of interest and compared it with the PET values
          displayed when opening the original dicom in a Raystation TPS
          and saw some discrepancies (e.g. in Raystation we get a value
          of 34000 while in the corrected mha opened in vv we have
          31000).<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Is this issue known?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks in advance for your help!<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Best,<o:p></o:p></p>
        <p class="MsoNormal"><b><span style="color:#595959" lang="IT">Elia
              Lombardo, M.Sc.<o:p></o:p></span></b></p>
        <p class="MsoNormal"><b><span
              style="font-size:9.0pt;color:#595959" lang="DE">Medizinische
              Physik / Medical Physics<span style="letter-spacing:.6pt"><o:p></o:p></span></span></b></p>
        <p class="MsoNormal"><span style="font-size:4.0pt;color:#595959"
            lang="DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.0pt;color:#595959"
            lang="DE">LMU Klinikum 
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.0pt;color:#595959"
            lang="DE">Klinik und Poliklinik für Strahlentherapie und
            Radioonkologie<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:4.0pt;color:#595959"
            lang="DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.0pt;color:#595959"
            lang="DE">Campus Großhadern  | Marchioninistraße 15  | 
            81377 München<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.0pt;color:#595959"
            lang="DE">Tel. 089 4400-73757<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.0pt;color:black"
            lang="DE"><a href="mailto:Elia.Lombardo@med.uni-muenchen.de"
              moz-do-not-send="true"><span style="color:blue">Elia.Lombardo@med.uni-muenchen.de</span></a></span><span
            style="font-size:9.0pt;color:#595959" lang="DE"> |
          </span><u><span style="font-size:9.0pt;color:blue" lang="DE"><a
href="http://www.lmu-klinikum.de/strahlentherapie-und-radioonkologie"
                moz-do-not-send="true"><span style="color:blue">www.lmu-klinikum.de/strahlentherapie-und-radioonkologie</span></a></span></u><span
            style="font-size:9.0pt;color:#595959" lang="DE"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:8.0pt;font-family:"LMU
            CompatilFact";color:#595959" lang="DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:8.0pt;color:#595959"
            lang="DE">Das Klinikum der Universität München ist eine
            Anstalt des öffentlichen Rechts (AöR)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:4.0pt;font-family:"LMU
            CompatilFact";color:#595959" lang="DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:black" lang="DE"><img
              style="width:2.5416in;height:.625in" id="Bild_x0020_1"
              src="cid:part4.CA5E565F.04EBDB82@creatis.insa-lyon.fr"
              class="" width="244" height="60" border="0"></span><span
            style="font-size:10.0pt;color:black" lang="DE"><img
              style="width:2.2916in;height:.625in"
              id="_x0035_7C336F7-1701-43E4-8615-9848D9673A9D"
              src="cid:part5.C29BF89E.4E3166CD@creatis.insa-lyon.fr"
              class="" width="220" height="60" border="0"></span><span
            style="color:black" lang="DE"><o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="font-size:13.5pt;font-family:Webdings;color:green"
            lang="DE">PS:</span><span style="font-family:"LMU
            CompatilFact";color:blue" lang="DE">
            <br>
          </span><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:green"
            lang="DE">Bitte denken Sie an die Umwelt bevor Sie diese
            E-Mail drucken!<br>
            Please consider the environment before printing this email!</span><span
            style="color:black" lang="DE"><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
vv mailing list
<a class="moz-txt-link-abbreviated" href="mailto:vv@creatis.insa-lyon.fr">vv@creatis.insa-lyon.fr</a>
<a class="moz-txt-link-freetext" href="https://www.creatis.insa-lyon.fr/mailman/listinfo/vv">https://www.creatis.insa-lyon.fr/mailman/listinfo/vv</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>