[vtkusers] casting problem

Charl P. Botha c.p.botha at its.tudelft.nl
Sat Feb 10 04:40:31 EST 2001


FWIW, this problem went away with a CVS checkout of yesterday (2001.02.10).
I'm at a conference far away from home, so it's difficult to find out why.

On Thu, Feb 08, 2001 at 06:26:45PM +0100, Charl P. Botha wrote:
> I'm having a strange problem with the vtkImageCast class when using it from
> Python.  This is a relatively recent (one or two days ago) CVS checkout of
> the VTK tree; the problem is easily reproducible by running:
> python imaging/examplesPython/TestSeedConnectivity.py
> 
> vtkImageSeedConnectivity yields the following error:
> ERROR: In vtkImageSeedConnectivity.cxx; line 171
> vtkImageSeedConnectivity: Execute: Both input and output must have scalar
> type UnsignedChar
> 
> This is strange since the data is being cast to the correct type.  Is anyone
> else experiencing the same behaviour?


-- 
charl p. botha      | computer graphics and cad/cam 
http://cpbotha.net/ | http://www.cg.its.tudelft.nl/




More information about the vtkusers mailing list