View Issue Details

IDProjectCategoryView StatusLast Update
0003873Slicer4Module VectorToScalarVolumepublic2017-06-10 08:51
Reporterpinter Assigned Topieper  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.3.1-2 
Target VersionFixed in VersionSlicer 4.4.0 
Summary0003873: Vector to scalar volume fails
Description
  1. Load color bmp, jpg etc.
  2. Try to convert it to scalar volume

Python error at line 104:
luminance.GetOutput().Update()

lum.GetOutput() is a vtkImageData and it does not have an Update method
Removing ".Update()" seems to fix the issue.

TagsNo tags attached.

Activities

pieper

pieper

2014-10-16 10:48

administrator   ~0012627

Hi Csaba -

Shouldn't this be luminance.Update() inside the vtk6 branch and luminance.GetOutput().Update() in the vtk5 branch? Otherwise I think the algorithm doesn't run.

-Steve

pinter

pinter

2014-10-16 10:59

developer   ~0012628

Probably. I didn't spend much time on this, just thought I'd report the issue in case others want to use the module.

pieper

pieper

2014-10-16 11:40

administrator   ~0012629

Fixed in r23743

pinter

pinter

2014-10-16 12:12

developer   ~0012630

Thanks, Steve!

Related Changesets

Import 2017-06-07 23:51:09: master 0a4eae1d

2014-10-16 15:24:15

pieper

Details Diff
BUG: 0003873 lingering vtk5 code broke module

Need to use the newer pipeline calls for vtk 6

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23743 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/VectorToScalarVolume/VectorToScalarVolume.py Diff File

Issue History

Date Modified Username Field Change
2014-10-16 10:37 pinter New Issue
2014-10-16 10:48 pieper Note Added: 0012627
2014-10-16 10:59 pinter Note Added: 0012628
2014-10-16 11:40 pieper Note Added: 0012629
2014-10-16 11:40 pieper Status new => resolved
2014-10-16 11:40 pieper Fixed in Version => Slicer 4.4.0
2014-10-16 11:40 pieper Resolution open => fixed
2014-10-16 11:40 pieper Assigned To => pieper
2014-10-16 12:12 pinter Note Added: 0012630
2014-10-16 12:12 pinter Status resolved => closed
2017-06-10 08:51 pieper Changeset attached => Slicer master 0a4eae1d