<font style="font-family: courier new,monospace;" size="2">vtkMedicalImageReader2* medimg = vtkMedicalImageReader2::New();<br>medimg-&gt;SetFileName(argv[1]);<br>medimg-&gt;Update();<br>printf(&quot;Patient gender: %s\n&quot;,medimg-&gt;GetMedicalImageProperties()-&gt;GetPatientSex());<br>
printf(&quot;Age %s\n&quot;,medimg-&gt;GetMedicalImageProperties()-&gt;GetPatientAge());<br>printf(&quot;Modality %s\n&quot;,medimg-&gt;GetMedicalImageProperties()-&gt;GetModality());<br><br>I&#39;m 100% sure that the file is already in the right place, but all these methods return null. Am I missing something here?<br>
<br>Thank you in advance,<br>Iono<br></font>