View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016102 | VTK | (No Category) | public | 2016-04-28 14:32 | 2016-08-12 09:55 | ||||
Reporter | paul77 | ||||||||
Assigned To | Haocheng Liu | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | 6.3.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0016102: Incorrect results from vtkImageEuclideanDistance when ConsiderAnisotropy = true | ||||||||
Description | This 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. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | TestDistMap.zip [^] (77,864 bytes) 2016-04-28 14:32 | ||||||||
Relationships | |
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. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |