[Insight-users] VTK+ITK

Luis Ibanez luis.ibanez at kitware.com
Fri Oct 1 17:39:16 EDT 2010


Hi 조봉수

What kind of file are you trying to read ?

What is the code that you are using to read that file ?

It is unlikely that you problem is related to ITK.

This looks more like a mismatch between the
file format that you are trying to read  and the
VTK reader that you choose to use.

You may want to post your question to the VTK
users list, and please provide enough information
for someone to be able to replicate the problem.


In particular:

1) full description of the input file
     (or even better, post the file online).

2) Code snippet of the VTK code that
     you are using for reading this file.


   Regards,


           Luis


-------------------------------------------------
2010/9/30 조봉수 <hinice11 at naver.com>

> When I use ITK with VTK, this error comes up.
>
>
>
> Even though I got a modified file from WatershedSegmentation, then
> succeeded to compile it,
>
> I had these message.
>
>
>
> I don’t know why these things came up, because I didn’t use any instruction
> from vtkDataReader.cxx
>
>
>
> Help me.
>
>
>
> Thank you, have a good day.
>
>
>
> Groupaging & Colormapping Start
>
> ERROR: In /home/hinice/VTK/IO/vtkDataReader.cxx, line 462
>
> vtkStructuredPointsReader (0x329c1c0): Unable to open file: 1
>
>
>
> ERROR: In /home/hinice/VTK/IO/vtkDataReader.cxx, line 462
>
> vtkStructuredPointsReader (0x329c1c0): Unable to open file: 1
>
>
>
> NumCell0
>
> NumPnt0
>
> Inc 1 0 0
>
> Inc 1 512 262144
>
> The number of segmented groups 0
>
> Group file writing complete 0
>
> ERROR: In /home/hinice/VTK/Imaging/vtkImageImport.cxx, line 339
>
> vtkImageImport (0x32b9270): Calling UpdateInformationCallback:
> /home/hinice/ITK/Code/BasicFilters/itkVTKImageImport.txx:251:
>
> itk::ERROR: VTKImageImport(0x32a5720): Input scalar type is int but should
> be unsigned long
>
>
>
> Groupaging & Colormapping Complete
>
> ERROR: In /home/hinice/VTK/IO/vtkDataReader.cxx, line 462
>
> vtkStructuredPointsReader (0x329c1c0): Unable to open file: 1
>
>
>
> ERROR: In /home/hinice/VTK/IO/vtkDataReader.cxx, line 462
>
> vtkStructuredPointsReader (0x329c1c0): Unable to open file: 1
>
>
>
> Writer sliced images
>
> Prepare VTK Visualization
>
> ERROR: In /home/hinice/VTK/IO/vtkDataReader.cxx, line 462
>
> vtkStructuredPointsReader (0x329c1c0): Unable to open file: 1
>
>
>
> ERROR: In /home/hinice/VTK/IO/vtkDataReader.cxx, line 462
>
> vtkStructuredPointsReader (0x329c1c0): Unable to open file: 1
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101001/b240f4d2/attachment.htm>


More information about the Insight-users mailing list