View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003829VTK(No Category)public2006-09-30 10:192012-12-12 12:11
Reporterkdsfinger 
Assigned ToDavid Gobbi 
PriorityurgentSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version5.8 
Summary0003829: vtkImageActor won't show color image if previously setinput grayscale image
DescriptionThe vtkImageActor won't be able to display color image if it was setinput for a grayscale image previously. It will only show one channel of the color image as if it is a grayscale image.

vtk_actor.SetInput(grayscaleImageData);
//the vtk_actor will display grayscale image correctly
vtk_actor.SetInput(colorImageData);
//the vtk_actor will display the color image in grayscale
//no matter how you switch the color/grayscale image, the vtk_actor will always display in grayscale.

However, if we do
vtk_actor.SetInput(colorImageData);
//the vtk_actor will display color image correctly
vtk_actor.SetInput(grayscaleImageData);
//the vtk_actor will display grayscale image correctly
//now matter how you switch color/grayscale image, the vtk_actor will always display them correctly.
//the vtk_actor will display color image

This problem is observed on the newest vtk 5.1
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0005072)
kdsfinger (reporter)
2006-09-30 10:30

The line next to the last ("//the vtk_actor will display color image") should be deleted. What I want to say is that if we setinput with a color image, then everything is correct no matter how you switch between grayscale/color later on.
(0025588)
David Gobbi (developer)
2011-02-26 10:37

This issue has been fixed in VTK 5.8.

 Issue History
Date Modified Username Field Change
2008-02-06 10:50 Jeff Baumes Assigned To Will Schroeder => Sebastien Barre
2008-02-06 10:50 Jeff Baumes Severity major => minor
2011-02-26 10:37 David Gobbi Note Added: 0025588
2011-02-26 10:37 David Gobbi Status tabled => @80@
2011-02-26 10:37 David Gobbi Resolution open => fixed
2011-02-26 10:37 David Gobbi Assigned To Sebastien Barre => David Gobbi
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2012-12-12 12:11 David Gobbi Status customer review => closed
2012-12-12 12:11 David Gobbi Fixed in Version => 5.8


Copyright © 2000 - 2018 MantisBT Team