[Insight-users] MR-high field data e1.* - e2.* ?
Lorensen, William E (Research)
lorensen at crd.ge.com
Thu, 18 Mar 2004 10:51:19 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C40D00.771C3DE4
Content-Type: text/plain;
charset="iso-8859-1"
The images are 16 bits per pixel, BigEndian.The spacing is
.78125,.78125,1.5.
e1 and e2 are the first and second echos, I believe.
Bill
-----Original Message-----
From: Nicolas DUMONT [mailto:s991848 at student.ulg.ac.be]
Sent: Thursday, March 18, 2004 8:06 AM
To: vtkusers at vtk.org; Insight-users at itk.org
Subject: [Insight-users] MR-high field data e1.* - e2.* ?
Hello!!!!
I've questions about the data found at
ftp://public.kitware.com/pub/itk/Data/MultiFieldMRI/HighField
<ftp://public.kitware.com/pub/itk/Data/MultiFieldMRI/HighField> .
* What is the difference between e1 and e2 ? e2 seems just the same but
'darker' ... ?
* what are the resolution of the slices? Are they 16 bits or 8 bits image
files? how to know? what about 'dataspacing'? what's the difference between
'Data byte order = little endian and big endian'?
* should I use vtkvolume16reader or vtkvolumereader instead of
vtkimagereader? what are the differences?
* I obtained a view of the slices using the code below, the result is good
but on the sides the images are deformed .... anybody knows why ???
Thank you very much for help,
Nicolas DUMONT,
ULg
Belgium.
**********
package require vtk
package require vtkinteraction
vtkImageReader reader1
reader1 SetDataByteOrderToBigEndian
reader1 SetDataExtent 0 255 0 255 1 55
reader1 SetFilePrefix "e1"
vtkImageReader reader2
reader2 SetDataByteOrderToBigEndian
reader2 SetDataExtent 0 255 0 255 1 55
reader2 SetFilePrefix "e2"
vtkImageViewer viewer1
viewer1 SetInput [reader1 GetOutput]
viewer1 SetZSlice 30
viewer1 SetColorWindow 3000
viewer1 SetColorLevel 1000
vtkImageViewer viewer2
viewer2 SetInput [reader2 GetOutput]
viewer2 SetZSlice 30
viewer2 SetColorWindow 3000
viewer2 SetColorLevel 1000
# Create the GUI
wm withdraw .
toplevel .top
frame .top.f1
vtkTkImageViewerWidget .top.f1.r1 -width 256 -height 256 -iv viewer1
vtkTkImageViewerWidget .top.f1.r2 -width 256 -height 256 -iv viewer2
button .top.btn -text Quit -command exit
pack .top.f1.r1 .top.f1.r2 \
-side left -padx 3 -pady 3 -expand t
pack .top.f1 -fill both -expand t
pack .top.btn -fill x
::vtk::bind_tk_imageviewer_widget .top.f1.r1
::vtk::bind_tk_imageviewer_widget .top.f1.r2
**********************
------_=_NextPart_001_01C40D00.771C3DE4
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D128324815-18032004><FONT face=3DArial =
color=3D#0000ff size=3D2>The=20
images are 16 bits per pixel, BigEndian.The spacing is=20
.78125,.78125,1.5.</FONT></SPAN></DIV>
<DIV><SPAN class=3D128324815-18032004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D128324815-18032004><FONT face=3DArial =
color=3D#0000ff size=3D2>e1 and=20
e2 are the first and second echos, I believe.</FONT></SPAN></DIV>
<DIV><SPAN class=3D128324815-18032004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D128324815-18032004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Bill</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> Nicolas DUMONT=20
[mailto:s991848 at student.ulg.ac.be]<BR><B>Sent:</B> Thursday, March =
18, 2004=20
8:06 AM<BR><B>To:</B> vtkusers at vtk.org;=20
Insight-users at itk.org<BR><B>Subject:</B> [Insight-users] MR-high =
field data=20
e1.* - e2.* ?<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Hello!!!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I've questions about the data found =
at <A=20
=
href=3D"ftp://public.kitware.com/pub/itk/Data/MultiFieldMRI/HighField">f=
tp://public.kitware.com/pub/itk/Data/MultiFieldMRI/HighField</A>.</FONT>=
</DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>* What is the difference between e1 =
and e2 ? e2=20
seems just the same but 'darker' ... ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>* what are the resolution of the =
slices? Are they=20
16 bits or 8 bits image files? how to know? what about =
'dataspacing'?=20
what's the difference between 'Data byte order =3D little =
endian and big=20
endian'?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>* should I use =
vtkvolume16reader or=20
vtkvolumereader instead of vtkimagereader? what are the differences?=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>* I obtained a view of the =
slices using the=20
code below, the result is good but on the sides the=20
images are deformed .... anybody knows why ???</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thank you very much for =
help,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Nicolas DUMONT, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ULg</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Belgium.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>**********</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>package require vtk<BR>package =
require=20
vtkinteraction</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>vtkImageReader reader1<BR>reader1=20
SetDataByteOrderToBigEndian<BR>reader1 SetDataExtent 0 255 0 255 1=20
55<BR>reader1 SetFilePrefix "e1"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>vtkImageReader reader2<BR>reader2=20
SetDataByteOrderToBigEndian<BR>reader2 SetDataExtent 0 255 0 255 1=20
55<BR>reader2 SetFilePrefix "e2"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>vtkImageViewer viewer1<BR>viewer1 =
SetInput=20
[reader1 GetOutput]<BR>viewer1 SetZSlice 30<BR>viewer1 SetColorWindow =
3000<BR>viewer1 SetColorLevel 1000</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>vtkImageViewer viewer2<BR>viewer2 =
SetInput=20
[reader2 GetOutput]<BR>viewer2 SetZSlice 30<BR>viewer2 SetColorWindow =
3000<BR>viewer2 SetColorLevel 1000</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2># Create the GUI<BR>wm withdraw =
.<BR>toplevel=20
.top </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>frame .top.f1 </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>vtkTkImageViewerWidget .top.f1.r1 =
-width 256=20
-height 256 -iv viewer1<BR>vtkTkImageViewerWidget .top.f1.r2 -width =
256=20
-height 256 -iv viewer2</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>button .top.btn -text Quit =
-command=20
exit</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>pack .top.f1.r1 .top.f1.r2 =
\<BR> -side left=20
-padx 3 -pady 3 -expand t<BR>pack .top.f1 -fill both -expand =
t<BR>pack=20
.top.btn -fill x</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>::vtk::bind_tk_imageviewer_widget=20
.top.f1.r1<BR>::vtk::bind_tk_imageviewer_widget =
.top.f1.r2</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>**********************</FONT></DIV></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C40D00.771C3DE4--