[vtkusers] Problem with loading the.mhd files on ParaView
Luis Ibanez
luis.ibanez at kitware.com
Tue May 25 11:23:18 EDT 2010
Hi Yusuf,
A) The problem with the Watershed file is
that you are using the pixel type:
ElementType = MET_ULONG_LONG
Probably because you are working in
a 64bits machine. (?)
Note that I can load your Watershed image
fine by using the ITK ImageViewer.
Please replace the pixel type of the
watershed output to be just an
"unsigned long". In that way you will
be able to load the image into ParaView.
B) I was able to read the RegionGrowing.mhd
file with paraview by simply doing:
paraview --data=RegionGrowing.mhd
Note however, that your mask is inverted.
The skull is set to zeros, while all the rest
is set to 255.
How have you been trying to load this
file into ParaView ?
In principle, you just need to go to the "File"
menu, request "Open" and click on the
"RegionGrowing.mhd" file.
Then click on the "Apply" button.
At that point you will see a wireframe outline
of the 3D image in the Paraview 3D view.
Regards,
Luis
------------------------------------------------------------------------------
On Mon, May 24, 2010 at 10:41 PM, Yusuf OEZBEK <nasil122002 at yahoo.de> wrote:
> Hello,
>
> I have saved the segmentation-outputs of two algorithms (watershed and
> region growing) as. mhd file. Then I wanted to loading the .mhd files with
> Paraview, but I get the following errors.
>
> "ERROR: In .. \ .. \ .. \ src \ server \ Filters \ vtkTexturePainter.cxx,
> line 287 vtkTexturePainter (00000000082D23E0): Incorrect dimensionality."
> and
> "ERROR: In .. \ .. \ .. \ src \ VTK \ IO \ vtkMetaImageReader.cxx, line 105
> vtkMetaImageReader (00000000123D7000): Unknown data type: 11"
>
> Can someone please tell me what these errors mean.
>
> http://www.wopsys.com/Outputs/RegionGrowing.mhd
> http://www.wopsys.com/Outputs/RegionGrowing.raw
>
> http://www.wopsys.com/Outputs/Watershed.mhd
> http://www.wopsys.com/Outputs/Watershed.raw
>
>
> Thanks
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK 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