[vtkusers] vtkImageQuantizeRGBToIndex java

Lars Matthäus lars.matthaeus at web.de
Tue Nov 22 09:31:04 EST 2005


Hi,

I have sone trouble running the vtkImageQuantizeRGBToIndex in JAVA. If 
my image has exactly 3 scalar components, the filter crashes when updating:

(
An unrecoverable stack overflow has occurred.
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x0bd19d85, pid=4020, 
tid=3644
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode)
# Problematic frame:
# C  [vtkImaging.dll+0x339d85]
)

If I set the number of scalar components to 4, it doesn't crash, but I 
get an error message saying that only 3 scalar components can be handled ...

And worse, the transformed image is has only one scalar value and is 
hence useless :-(

Has anyone managed to get the vtkImageQuantizeRGBToIndex to run in JAVA?

Thanks
Lars



More information about the vtkusers mailing list