View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007378VTK(No Category)public2008-07-21 15:402008-07-26 13:07
ReporterMathieu Coursolle 
Assigned ToDavid Gobbi 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007378: vtkMINCImageReader does not read slice offset properly.
DescriptionThe MINC file format specifies the value range for each 2D slice of the 3D data. For files where the global minimum value is non-zero and negative, the loaded vtkImageData does not have the right value offset per slice.

The background value is then different for each slice of the data.

The resulting image was compared with difference softwares such as
Neurolens, MINC tools, Brainsight and none of them shows the artefacts seen with the vtkMINCImageReader.
Additional InformationScreenshots are provided.
TagsNo tags attached.
Project
Type
Attached Filespng file icon LeftBaseline_RightVTK.png [^] (73,221 bytes) 2008-07-21 15:40

 Relationships

  Notes
(0012780)
Sean McBride (developer)
2008-07-21 15:49

David, we have a MINC1 file that repros this, but it is too big to attach here (18MB), we can arrange to get it to you some other way if needed...
(0012810)
David Gobbi (developer)
2008-07-23 14:06

This bug manifests itself for minc images that are stored as float with a different image-min and image-max for each slice, it actually doesn't have to do with whether the global minimum is negative. It's just that a global minimum of zero will mask the bug. I have committed a fix to vtkMINCImageReader so that float images are read with global scaling, which fixes the supplied image and which I believe to be the correct fix.
(0012820)
Mathieu Coursolle (reporter)
2008-07-25 08:58

Fix seems to solve the problem. I suggest that this issue be closed.

 Issue History
Date Modified Username Field Change
2008-07-21 15:40 Mathieu Coursolle New Issue
2008-07-21 15:40 Mathieu Coursolle File Added: LeftBaseline_RightVTK.png
2008-07-21 15:42 Sean McBride Status backlog => tabled
2008-07-21 15:42 Sean McBride Assigned To => David Gobbi
2008-07-21 15:49 Sean McBride Note Added: 0012780
2008-07-23 14:06 David Gobbi Note Added: 0012810
2008-07-25 05:56 David Gobbi Resolution open => fixed
2008-07-25 08:58 Mathieu Coursolle Note Added: 0012820
2008-07-26 13:07 David Gobbi Status tabled => closed
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team