Page MenuHomePhabricator

VTK errors appear using Colour Image Processing
Closed, ResolvedPublic

Description

If you select an image and click on any button in the Colour Image Processing bundle a DataNode named "No Name!" is created.

If you select this new Node and click again on any button VTK errors with the following message appear:
"ERROR: In ..\..\..\source\VTK542\Rendering\vtkOpenGLTexture.cxx, line 179
vtkOpenGLTexture (1B14A390): No scalar values found for texture input!"

The new Nodes should have a meaningfull name as well.

Event Timeline

Problem is, that the conversion to RGBA images in ColourImageProcessing only works for gray-value images. Conversion of other pixeltype images leads to a crash due to missing pixel type check.

[SVN revision 22556]
FIX (#3720): (1) added pixeltype check and warning message. (2) changed nodename from NoName! to <imagename>_RGBA