Hi I have some problems with the next code: <br><br>typedef    T       InputPixelType;<br>  typedef    float       OutputPixelType;  <br>  typedef itk::Image&lt; InputPixelType,  3 &gt;   InputImageType;<br>  typedef itk::Image&lt; OutputPixelType,  3 &gt;   OutputImageType;<br>
<br>InputImageType::PointType lpsPoint;<br>        InputImageType::IndexType indexArtery;<br><br>        lpsPoint[0] = artery[0];  <br>        lpsPoint[1] = artery[1];<br>        lpsPoint[2] = artery[2];   <br><br>vnl_matrix&lt;double&gt; A(26,26);<br>
<br>        for ( int i = 0 ; i &lt; imageVector.size() ; i++ )<br>        {<br>          <br>            for (int i=0; i&lt;26; i++)<br>         {<br>            for(int j=0; j&lt;26; j++)<br>            {<br>                if (i&lt;=j) {<br>
            <br>                A[i,j]=(4*(imageVector[i-j]-&gt;GetPixel(indexArtery))+(imageVector[i-j-1]-&gt;GetPixel(indexArtery))+(imageVector[i-j+1]-&gt;GetPixel(indexArtery)))/6;    <br>                }<br>                else A[i,j]=0;<br>
<br>            }<br>         }<br><br>in imageVector I previously put 26 diferents CT volums. <br><br>And when I go to compile it, I get some mistakes,in the line number 18 (bucle if... A[i,j]=...)  they say It&#39;s not possible make the conversion &#39;InputPixelType&#39; to &#39;double*&#39; , &#39;int&#39; to &#39;double* , &#39;OutputPixelType&#39; to &#39;double*&#39; and &#39;unsigned long&#39; to &#39;double*&#39;<br>
<br>And another mistake in the line number 20 (else A[i,j]=0;) that say: the left operator must be value L<br><br>I hope anyone could help me, thank you so much<br>