[vtkusers] vtkimageReader wrongly read Volume Data File

Vincent Daanen Vincent.Daanen at imag.fr
Wed Jul 10 09:01:19 EDT 2002


you should specify
    reader SetFileDimensionality 3

 Vince

Steven Wu wrote:

> such a piece code but got wrong reading
> vtkImageReader reader
> reader SetFileName "/ImageData/3diMAGES/SPHERE40.RAW"
> reader SetDataExtent 0 39 0 39 0 39
> reader SetDataScalarTypeToUnsignedChar
> reader SetDataSpacing 1 1 1
> reader SetDataOrigin 0 0 0
>
> I tried to test for other volume raw files but none
> was readed correctly.  but if vtkImageReader reads
> multi files as volume data, it is ok.
>
> Does anyone know what's problem in VTK 4.0
>
> _________________________________________________________
> Do You Yahoo!?
> ÒøÐоÞÍ·¾Û»áÖÐÔ­ ´óÀËÌÔ¡®½ð¡¯Ë­½«Ð¦°Á
> http://sweepstakes.yahoo.com/bank_surveywave2/
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

--
Vincent Daanen,
Research Engineer- Post Doctoral Position
Laboratoire TIMC/IMAG Equipe GMCAO - Université Joseph Fourier - CNRS
UMR 5525
Faculté de Médecine - Domaine de la Merci - 38706 La Tronche cedex -
France
Tel: +33 (0)4 76 54 95 23
Vincent.Daanen at imag.fr



More information about the vtkusers mailing list