Hi Jim,<br><br>The value not is same the entire tooth, the diferents values are the same point. In point (226, 100, 1) the values are:<br><br>ITKsnap : 2130<br>Mycode: 993<br><br><div class="gmail_quote">2010/9/12 Jim Peterson <span dir="ltr">&lt;<a href="mailto:jimcp@cox.net">jimcp@cox.net</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Italo,<br>
<br>
I am not an ITKSnap user myself, you are suggesting ITKSnap reports the same value for the entire tooth? I think you would have to iterate over the points in the tooth to find the maximum value in vtk to duplicate that if it is true. Can you display the point coordinates that have that value in ITKSnap? Then see if vtk has the same value at that point? I have trouble believing vtk has incorrect pixel data by point for imaging content.<br>


<br>
Jim<br>
<br>
Italo Ribeiro wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
Hi Jim,<br>
<br>
I have dicom image with teeth, i am looking intensity values of 2 front teeth.<br>
<br>
But some happen very strange, the tooth the left have greater intensity in ITKsnap 2518 and my code -1024. The tooth the right side have in ITKsnap 2402 and in my code 41. I do not know why the values are different.<br>
<br>
In my code i get 255 points of heigh and width, but when i get dimension the image, vtk show 512 x 512, same dimesion show in ITKsnap. ITKsnap get dimension of voxels, so i must get information the intensity value voxel of volume and no pixel the image?<br>


<br>
thanks.<br>
<br></div>
2010/9/11 Jim Peterson &lt;<a href="mailto:jimcp@cox.net" target="_blank">jimcp@cox.net</a> &lt;mailto:<a href="mailto:jimcp@cox.net" target="_blank">jimcp@cox.net</a>&gt;&gt;<div class="im"><br>
<br>
    Personally, I am sorry, but there is not enough information in<br>
    your description of the problem to be sure you have a legitimate<br>
    complaint. does your dicom data consist of only one point? how are<br>
    you certain you have selected the exact same location?<br>
<br>
    in my mainframe programming life we have a saying:<br>
<br>
    &quot;when expected results do not match observed results, check the<br>
    library concatenation&quot;<br>
<br>
    .... in my opinion, chances are you are looking at different points.<br>
<br>
    sorry, Hoping to be helpful not critical.<br>
    Jim<br>
<br>
    Italo Ribeiro wrote:<br>
<br>
        No more ideas?<br>
<br>
        2010/9/10 Italo Ribeiro &lt;<a href="mailto:italo.ribeiro@gmail.com" target="_blank">italo.ribeiro@gmail.com</a><br>
        &lt;mailto:<a href="mailto:italo.ribeiro@gmail.com" target="_blank">italo.ribeiro@gmail.com</a>&gt;<br>
        &lt;mailto:<a href="mailto:italo.ribeiro@gmail.com" target="_blank">italo.ribeiro@gmail.com</a><br>
        &lt;mailto:<a href="mailto:italo.ribeiro@gmail.com" target="_blank">italo.ribeiro@gmail.com</a>&gt;&gt;&gt;<br>
<br>
<br>
           I am expecting MIP of image point. In my program the value<br>
        for one<br>
           point is 1023 and ITKsnap show 2210.<br>
<br>
           Why the value is different?<br>
<br>
           2010/9/10 John Drescher &lt;<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a><br>
        &lt;mailto:<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>&gt;<br></div>
           &lt;mailto:<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a> &lt;mailto:<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>&gt;&gt;&gt;<div class="im"><br>


<br>
<br>
               &gt; Using GetScalarType the type returned is short, i was<br>
        using<br>
               int. But the<br>
               &gt; value maximum showed is 1024 and i see the maximum short<br>
               value is 32767 and<br>
               &gt; the intensity value is not corret.<br>
               &gt;<br>
<br>
               Depending on how you read the dicom file the value<br>
        should be in<br>
               hounsfield units. I am confused on whether you mean you<br>
        were<br>
               expecting<br>
               32767 or hounsfield.<br>
<br>
               John<br>
<br>
<br>
<br>
<br>
           --     Ítalo Mendes<br>
           <a href="http://ogre.irados.org" target="_blank">ogre.irados.org</a> &lt;<a href="http://ogre.irados.org" target="_blank">http://ogre.irados.org</a>&gt;<br>
        &lt;<a href="http://ogre.irados.org" target="_blank">http://ogre.irados.org</a>&gt;<br>
<br>
<br>
<br>
<br>
        --         Ítalo Mendes<br>
<br></div>
        <a href="http://ogre.irados.org" target="_blank">ogre.irados.org</a> &lt;<a href="http://ogre.irados.org" target="_blank">http://ogre.irados.org</a>&gt; &lt;<a href="http://ogre.irados.org" target="_blank">http://ogre.irados.org</a>&gt;<br>


        ------------------------------------------------------------------------<br>
<br>
        _______________________________________________<br>
        Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> &lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<div class="im"><br>
<br>
        Visit other Kitware open-source projects at<br>
        <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
        Please keep messages on-topic and check the VTK FAQ at:<br>
        <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
        Follow this link to subscribe/unsubscribe:<br>
        <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
         <br>
<br>
<br>
<br>
<br>
-- <br>
Ítalo Mendes<br>
</div><a href="http://ogre.irados.org" target="_blank">ogre.irados.org</a> &lt;<a href="http://ogre.irados.org" target="_blank">http://ogre.irados.org</a>&gt;<br>
</blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Ítalo Mendes<br><a href="http://ogre.irados.org">ogre.irados.org</a><br>