View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016102VTK(No Category)public2016-04-28 14:322016-08-12 09:55
Reporterpaul77 
Assigned ToHaocheng Liu 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version6.3.0 
Target VersionFixed in Version 
Summary0016102: Incorrect results from vtkImageEuclideanDistance when ConsiderAnisotropy = true
DescriptionThis occurs when using vtkImageEuclideanDistance and requesting that the image spacing be used in the computation of the distance (ConsiderAnisotropy = true).

In vtkImageEuclideanDistance (specifically vtkImageEuclideanDistanceExecuteSaito), the spacing variable that it uses to compute the distances is being assigned incorrect values during two of the three iterations.

For the first two iterations, the spacing for the distance calculation is being set to "1". For the third iteration, the spacing is correctly set based on the spacing of the input image. For example, if the input image spacing is [0.2, 0.2, 0.2] the spacing used for the calculation will be [1.0, 1.0, 0.2]. Inserting debugging code to output information around line 215 (for the spacing variable) and around line 586 (for the image data and information) highlights the issue.

I've tested this with 5.10.1, 6.3.0 and 7.0.0. It occurs in both 6.3.0 and 7.0.0 but not in 5.10.1.

I'm attaching an archive of debugging output, python script, sample data, and visualization of the results.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Fileszip file icon TestDistMap.zip [^] (77,864 bytes) 2016-04-28 14:32

 Relationships

  Notes
(0037470)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2016-04-28 14:32 paul77 New Issue
2016-04-28 14:32 paul77 File Added: TestDistMap.zip
2016-06-20 11:37 Utkarsh Ayachit Assigned To => Haocheng Liu
2016-06-27 09:52 Haocheng Liu Status backlog => active development
2016-08-12 09:55 Kitware Robot Note Added: 0037470
2016-08-12 09:55 Kitware Robot Status active development => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team