[Insight-users] how to get dicom patient information?

zhao yong qiang zhao-yq at cs . sjtu . edu . cn
Tue, 10 Jun 2003 17:31:14 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_0001_01C32F76.1795B740
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi, 

   I write the following code to read dicom file, 

fileReader->SetImageIO(DICOMImage);

    fileReader->SetFileName("f:\\test\\t1.dcm");

    fileReader->Update();

  and I can display the image in VTK. I know that Parser and AppHelper
In DICOMImage are protected, so how I can get the patient
information(such as age and position)?, 

 

Sincerely, 
                          Zhao Yongqiang
                          Dept. of Computer Science & Engineering
                          Shanghai JiaoTong University
                          Shanghai, China
                          zhao-yq at cs . sjtu . edu . cn

 


------=_NextPart_000_0001_01C32F76.1795B740
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	text-align:justify;
	text-justify:inter-ideograph;
	font-size:10.5pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
 /* Page Definitions */
 @page Section1
	{size:595.3pt 841.9pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;
	layout-grid:15.6pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DZH-CN link=3Dblue vlink=3Dpurple =
style=3D'text-justify-trim:punctuation'>

<div class=3DSection1 style=3D'layout-grid:15.6pt'>

<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'>Hi, </span></font></p>

<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'>&nbsp;&nbsp; I write the following code to read =
dicom
file, </span></font></p>

<p class=3DMsoNormal style=3D'text-indent:18.0pt'><font size=3D1 =
face=3DArial><span
lang=3DEN-US =
style=3D'font-size:9.0pt;font-family:Arial'>fileReader-&gt;SetImageIO(DIC=
OMImage);</span></font></p>

<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp; =
fileReader-&gt;SetFileName(&quot;f:\\test\\t1.dcm&quot;);</span></font></=
p>

<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp; =
fileReader-&gt;Update();</span></font></p>

<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'>&nbsp; and I can display the image in VTK. I =
know that
</span></font><span lang=3DEN-US>Parser and AppHelper </span><font =
size=3D1
face=3DArial><span lang=3DEN-US =
style=3D'font-size:9.0pt;font-family:Arial'>In =
DICOMImage</span></font><span
lang=3DEN-US> are protected, so</span><font size=3D1 face=3DArial><span =
lang=3DEN-US
style=3D'font-size:9.0pt;font-family:Arial'> how I can get the patient =
information(such
as age and position)?, </span></font></p>

<p class=3DMsoNormal><font size=3D1 face=3DArial><span lang=3DEN-US =
style=3D'font-size:
9.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:10.0pt'>Sincerely, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
Zhao Yongqiang<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
Dept. of Computer Science &amp; Engineering<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
</span></font><font size=3D2><span lang=3DEN-US =
style=3D'font-size:10.0pt'>Shanghai</span></font><font
 size=3D2><span lang=3DEN-US style=3D'font-size:10.0pt'> =
</span></font><font size=3D2><span
  lang=3DEN-US style=3D'font-size:10.0pt'>JiaoTong</span></font><font =
size=3D2><span
 lang=3DEN-US style=3D'font-size:10.0pt'> </span></font><font =
size=3D2><span
  lang=3DEN-US style=3D'font-size:10.0pt'>University</span></font><font =
size=3D2><span
lang=3DEN-US style=3D'font-size:10.0pt'><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
</span></font><font size=3D2><span lang=3DEN-US =
style=3D'font-size:10.0pt'>Shanghai</span></font><font
 size=3D2><span lang=3DEN-US style=3D'font-size:10.0pt'>, =
</span></font><font size=3D2><span
  lang=3DEN-US style=3D'font-size:10.0pt'>China</span></font><font =
size=3D2><span
lang=3DEN-US style=3D'font-size:10.0pt'><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
<a =
href=3D"mailto:zhao-yq at cs . sjtu . edu . cn">zhao-yq at cs . sjtu . edu . cn</a></span><=
/font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Times New Roman"><span =
lang=3DEN-US>&nbsp;</span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0001_01C32F76.1795B740--