<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=128324815-18032004><FONT face=Arial color=#0000ff size=2>The 
images are 16 bits per pixel, BigEndian.The spacing is 
.78125,.78125,1.5.</FONT></SPAN></DIV>
<DIV><SPAN class=128324815-18032004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=128324815-18032004><FONT face=Arial color=#0000ff size=2>e1 and 
e2 are the first and second echos, I believe.</FONT></SPAN></DIV>
<DIV><SPAN class=128324815-18032004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=128324815-18032004><FONT face=Arial color=#0000ff 
size=2>Bill</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Nicolas DUMONT 
  [mailto:s991848@student.ulg.ac.be]<BR><B>Sent:</B> Thursday, March 18, 2004 
  8:06 AM<BR><B>To:</B> vtkusers@vtk.org; 
  Insight-users@itk.org<BR><B>Subject:</B> [Insight-users] MR-high field data 
  e1.* - e2.* ?<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Hello!!!!</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I've questions about the data found at <A 
  href="ftp://public.kitware.com/pub/itk/Data/MultiFieldMRI/HighField">ftp://public.kitware.com/pub/itk/Data/MultiFieldMRI/HighField</A>.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>* What is the difference between e1 and e2 ? e2 
  seems just the same but 'darker' ... ?</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>* what are the resolution of the slices? Are they 
  16 bits or 8 bits image files? how to know? &nbsp;what about 'dataspacing'? 
  what's the difference between 'Data byte order = little endian&nbsp;and big 
  endian'?</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>* should&nbsp;I&nbsp;use vtkvolume16reader or 
  vtkvolumereader instead of vtkimagereader? what are the differences? 
  </FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>* I obtained a view of the slices&nbsp;using the 
  code below, the result is good but on the sides the 
  images&nbsp;are&nbsp;deformed .... anybody knows why ???</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Thank you very much for help,</FONT></DIV>
  <DIV><FONT face=Arial size=2>Nicolas DUMONT, </FONT></DIV>
  <DIV><FONT face=Arial size=2>ULg</FONT></DIV>
  <DIV><FONT face=Arial size=2>Belgium.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>**********</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>package require vtk<BR>package require 
  vtkinteraction</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>vtkImageReader reader1<BR>reader1 
  SetDataByteOrderToBigEndian<BR>reader1 SetDataExtent 0 255 0 255 1 
  55<BR>reader1 SetFilePrefix "e1"</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>vtkImageReader reader2<BR>reader2 
  SetDataByteOrderToBigEndian<BR>reader2 SetDataExtent 0 255 0 255 1 
  55<BR>reader2 SetFilePrefix "e2"</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>vtkImageViewer viewer1<BR>viewer1 SetInput 
  [reader1 GetOutput]<BR>viewer1 SetZSlice 30<BR>viewer1 SetColorWindow 
  3000<BR>viewer1 SetColorLevel 1000</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>vtkImageViewer viewer2<BR>viewer2 SetInput 
  [reader2 GetOutput]<BR>viewer2 SetZSlice 30<BR>viewer2 SetColorWindow 
  3000<BR>viewer2 SetColorLevel 1000</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2># Create the GUI<BR>wm withdraw .<BR>toplevel 
  .top </FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>frame .top.f1 </FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>vtkTkImageViewerWidget .top.f1.r1 -width 256 
  -height 256 -iv viewer1<BR>vtkTkImageViewerWidget .top.f1.r2 -width 256 
  -height 256 -iv viewer2</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>button .top.btn&nbsp; -text Quit -command 
  exit</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>pack .top.f1.r1 .top.f1.r2 \<BR>&nbsp; -side left 
  -padx 3 -pady 3 -expand t<BR>pack .top.f1 -fill both -expand t<BR>pack 
  .top.btn -fill x</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>::vtk::bind_tk_imageviewer_widget 
  .top.f1.r1<BR>::vtk::bind_tk_imageviewer_widget .top.f1.r2</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial 
size=2>**********************</FONT></DIV></BLOCKQUOTE></BODY></HTML>