<html><head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
</head>
<body><BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid"><SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 13px; COLOR: black; FONT-FAMILY: Arial; font-decoration: none"></FONT></SPAN>
<P>Thanks Dominik for answer,<BR><BR>do you know how to use this DICOM reader in VTK? I don't need ImageJ if there is easier way. I am creating the model with the code from the example:<BR><BR> <EM>vtkVolume16Reader v16 = new vtkVolume16Reader();<BR> v16.SetDataDimensions(512, 512);<BR> v16.SetDataByteOrderToLittleEndian();<BR> <STRONG>v16.SetFilePrefix(VtkUtil.getVtkDataRoot() + "/bwImages/bw");<BR></STRONG> v16.SetImageRange(1, 91);<BR> v16.SetDataSpacing(0.782*25.4, 0.782*25.4, 1.0);</EM></P>
<P><EM></EM> </P>
<P>Can I specify in SetFilePrefix exactly the folder with the DICOM images or should I use some function to convert them before using?</P>
<P> </P>
<P>thanks in advance</P>
<P> </P>
<P>Bartek </P>
<P><BR>---- Wiadomość Oryginalna ----<BR>Od: Dominik Szczerba <DOMI@VISION.EE.ETHZ.CH><BR>Do: Bartlomiej Wilkowski <WILKU_83@O2.PL><BR>Kopia do: vtkusers@vtk.org<BR>Data: Wed, 18 Oct 2006 15:46:11 +0200<BR>Temat: Re: [vtkusers] creating 3d model from set of images<BR><BR>> There is a dedicated DICOM reader in VTK.<BR>> If you want to convert using ImageJ pay attention to endianness.<BR>> The whole story works for sure.<BR>> bye<BR>> Dominik<BR>> <BR>> Bartlomiej Wilkowski wrote:<BR>> > Hello everybody.<BR>> > <BR>> > I am making a 3d editor for images of the magnetic resonanse. I have a set of 93 images (DICOM) lateral view (cuts) through the patient's corp and I wanted to use vtk to create the interactive 3d model of them.<BR>> > <BR>> > I saw the examples (Medical1 - Medical3) and tried to change in the code only the path to mine images , data spacing and dimensions. I can't see unfortunately any model then.<BR>> > <BR>> > As I am working in Java, I used ImageJ to convert the images to other formats: RAW, JPEG, bitmaps but it is not working. Do anybody of you has any idea what can be wrong? Maybe I should change sth more in the code. I am a total begginer in vtk that's why I am asking,<BR>> > <BR>> > thanks!<BR>> > <BR>> > Bartek <BR>> > <BR>> > _______________________________________________<BR>> > This is the private VTK discussion list. <BR>> > Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>> > Follow this link to subscribe/unsubscribe:<BR>> > http://www.vtk.org/mailman/listinfo/vtkusers<BR>> <BR>> -- <BR>> Dominik Szczerba, Ph.D.<BR>> Computer Vision Lab, ETH<BR>> http://www.vision.ee.ethz.ch/~domi<BR>> <BR></P>
<STYLE>BODY {font-size:10pt;font-family:arial,sans-serif; background} P {margin:0px;}</STYLE>
</BLOCKQUOTE><BR>
<STYLE>BODY {font-size:10pt;font-family:arial,sans-serif; background} P {margin:0px;}</STYLE></body></html>