[vtkusers] creating 3d model from set of images

Amy Squillacote amy.squillacote at kitware.com
Wed Oct 18 14:31:51 EDT 2006


Here's the link for the on-line documentation about the DICOM reader in 
VTK: http://www.vtk.org/doc/release/5.0/html/a01328.html.

- Amy

Dominik Szczerba wrote:
> OK I dont know exactly how to use the DICOM reader, but heard many 
> times on the list that others use it. Did you check the mailing list 
> archives? And remember to Update() your reader once set up.
> bye
> Dominik
>
> Bartlomiej Wilkowski wrote:
>>     Thanks Dominik for answer,
>>
>>     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:
>>
>>      /vtkVolume16Reader v16 = new vtkVolume16Reader();
>>              v16.SetDataDimensions(512, 512);
>>              v16.SetDataByteOrderToLittleEndian();
>>              *v16.SetFilePrefix(VtkUtil.getVtkDataRoot() + 
>> "/bwImages/bw");
>>     *         v16.SetImageRange(1, 91);
>>              v16.SetDataSpacing(0.782*25.4, 0.782*25.4, 1.0);/
>>
>>     //
>>     Can I specify in SetFilePrefix exactly the folder with the DICOM
>>     images or should I use some function to convert them before using?
>>
>>     
>>     thanks in advance
>>
>>     
>>     Bartek
>>
>>     ---- Wiadomość Oryginalna ----
>>     Od: Dominik Szczerba
>>     Do: Bartlomiej Wilkowski
>>     Kopia do: vtkusers at vtk.org
>>     Data: Wed, 18 Oct 2006 15:46:11 +0200
>>     Temat: Re: [vtkusers] creating 3d model from set of images
>>
>>      > There is a dedicated DICOM reader in VTK.
>>      > If you want to convert using ImageJ pay attention to endianness.
>>      > The whole story works for sure.
>>      > bye
>>      > Dominik
>>      >
>>      > Bartlomiej Wilkowski wrote:
>>      > > Hello everybody.
>>      > >
>>      > > 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.
>>      > >
>>      > > 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.
>>      > >
>>      > > 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,
>>      > >
>>      > > thanks!
>>      > >
>>      > > Bartek
>>      > >
>>      > > _______________________________________________
>>      > > This is the private VTK discussion list.
>>      > > Please keep messages on-topic. Check the FAQ at:
>>     http://www.vtk.org/Wiki/VTK_FAQ
>>      > > Follow this link to subscribe/unsubscribe:
>>      > > http://www.vtk.org/mailman/listinfo/vtkusers
>>      >
>>      > --
>>      > Dominik Szczerba, Ph.D.
>>      > Computer Vision Lab, ETH
>>      > http://www.vision.ee.ethz.ch/~domi
>>      >
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> This is the private VTK discussion list. Please keep messages 
>> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list