[vtkusers] in java
sercanimailgroups at gmail.com
Tue Jul 28 11:46:36 EDT 2009
Always remember to keep the discussion on vtk user list, don't forget to
add the vtkusers at vtk.org to your mail header...There a lot of writers in
vtk, for example if you want to write imagedata to .vtk file you can use
it like this:
vtkImageWriter writer = new vtkImageWriter();
writer.SetFileDimensionality(3); //for 3d datasets
And you can read DICOM files like this:
vtkDICOMImageReader reader = new vtkDICOMImageReader();
reader.SetDataScalarTypeToUnsignedChar(); //or whatever you want
I don't use itk, so i don't have the jar...
> hi Sercan,
> Thanks for your kind reply .
> Actually i have Vtk.jar , and i configure in Eclipse environment,
> My objective is
> I haveto read series of dicom files and then convert into 3d format
> (.vtk) or any format to display that readed files in 3D view.
> i have configured the vtk.jar in eclipse.
> Please help me, or if u have itk.jar plz give it to me.
> Thank you so much
> Guru Rajan.r
> Sercani wrote:
>> Hi Guru,
>> What do you exactly mean by 3d view? MIP? MINIP? VRT? SSD? MPR? Have
>> you built vtk with java wrapping on?
>> Gururajan wrote:
>>> Hi all,
>>> am a programmer in java, i want to read dicom series of files & then it
>>> should display in 3d view using Vtk.
>>> Please any one can help me.
>>> Powered by www.kitware.com
>>> Visit other Kitware open-source projects at
>>> Please keep messages on-topic and check the VTK FAQ at:
>>> Follow this link to subscribe/unsubscribe:
More information about the vtkusers