MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014042 | VTK | (No Category) | public | 2013-05-01 16:13 | 2014-10-29 09:53 |
Reporter | Nil Goyette | ||||
Assigned To | David Gobbi | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 5.10.0 | ||||
Target Version | Fixed in Version | 6.2.0 | |||
Project | TBD | ||||
Type | incorrect functionality | ||||
Summary | 0014042: vtkImageStencilData returns random bad lines | ||||
Description | I have a mitk::Mesh which I know is a well-defined closed surface because I can see it and, as intructed in [1], vtkFeatureEdges returns 0 bad feature. This mesh looks like http://i.imgur.com/1HWqmmy.jpg. [^] It may be hard to see, but it's a heart countour, with no bottom. The middle volume is empty, the mesh only defines the contour. So, here's the pipeline 1. A vtkPolyData that I'm pretty sure is valid because in [1], David Gobbi advises to use vtkFeatureEdges and vtkCleanPolyData, both of which return what I want. 2. vtkImageStencilData using vtkPolyDataToImageStencil with tolerance = 1.0 3. Create a binary image with this stencilData using vtkImageStencil Like the guy in [1], I obtain random lines at the bottom of my polyData. You can see them here http://i.imgur.com/k9jXgg7.jpg. [^] I don't understand where these lines come from. They dissapear when tolerance = 0.0, but I can't set tolerance to 0 because sometime the countour is really thin, so it will dissapear. Another advice in [1] is to recompile vtk using double in vtkPolyDataToImageStencil, but this is not an option for us. So, what can I do to get rid of these lines? [1] http://vtk.1045678.n5.nabble.com/Problem-with-vtkPolyDataToImageStencil-td5714947.html [^] | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | 14042-polydatatoimagestencil-robustness-3.diff (21,608) 2014-09-15 11:50 https://www.vtk.org/Bug/file/9715/14042-polydatatoimagestencil-robustness-3.diff | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-05-01 16:13 | Nil Goyette | New Issue | |||
2014-09-14 00:13 | David Gobbi | Assigned To | => David Gobbi | ||
2014-09-14 00:13 | David Gobbi | Status | backlog => active development | ||
2014-09-14 00:14 | David Gobbi | File Added: 14042-polydatatoimagestencil-robustness.diff | |||
2014-09-14 00:16 | David Gobbi | Note Added: 0033333 | |||
2014-09-15 11:49 | David Gobbi | File Deleted: 14042-polydatatoimagestencil-robustness.diff | |||
2014-09-15 11:50 | David Gobbi | File Added: 14042-polydatatoimagestencil-robustness-3.diff | |||
2014-09-15 11:52 | David Gobbi | Note Added: 0033341 | |||
2014-09-15 11:52 | David Gobbi | Status | active development => gerrit review | ||
2014-10-29 09:53 | David Gobbi | Note Added: 0033672 | |||
2014-10-29 09:53 | David Gobbi | Status | gerrit review => closed | ||
2014-10-29 09:53 | David Gobbi | Resolution | open => fixed | ||
2014-10-29 09:53 | David Gobbi | Fixed in Version | => 6.2.0 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|