Page MenuHomePhabricator

sanchezb (Alexandro Sanchez Bach)
Disabled

Projects

User does not belong to any projects.

User Details

User Since
Aug 1 2016, 12:10 PM (403 w, 3 d)
Roles
Disabled

Recent Activity

Aug 2 2016

sanchezb added a comment to T18842: Incorrect PixelType when loading RGB/RGBA images with VTK Legacy Image reader.
  • Actual behavior:

The reader always initialize the mitk::Image to a single-component (scalar) object, therefore displaying a odd-looking grayscale image after loading multi-component (rgb/rgba) *.VTK files.

Aug 2 2016, 10:19 AM · Bugzilla, MITK
sanchezb added a comment to T18842: Incorrect PixelType when loading RGB/RGBA images with VTK Legacy Image reader.

The root cause of this issue is that the COLOR_SCALARS attribute of the *.VTK files is ignored by the reader. Therefore, the corresponding mitk::Image members are default-initialized (to Scalar/1).

Aug 2 2016, 10:19 AM · Bugzilla, MITK
sanchezb added projects to T18842: Incorrect PixelType when loading RGB/RGBA images with VTK Legacy Image reader: MITK, Bugzilla.
Aug 2 2016, 10:19 AM · Bugzilla, MITK
sanchezb added a comment to T18842: Incorrect PixelType when loading RGB/RGBA images with VTK Legacy Image reader.

In my previous comment: *m_NumberOfComponents* should be 3 or 4 (not m_BytesPerComponent).

Aug 2 2016, 10:19 AM · Bugzilla, MITK
sanchezb added a comment to T18496: Crash while loading *.vtk Images with ITK VTKImageIO.

Apparently, VTK files with multiple colors channels are not being properly handled by MITK which causes the crash on the VTK threads. Yan and I noticed following behaviour with the *.vti / *.vtk files:

Aug 2 2016, 10:17 AM · Auto-closed, MITK, Bugzilla
sanchezb added a comment to T18496: Crash while loading *.vtk Images with ITK VTKImageIO.

This has been confirmed to be broken under Linux as well.

Aug 2 2016, 10:17 AM · Auto-closed, MITK, Bugzilla
sanchezb added a comment to T18496: Crash while loading *.vtk Images with ITK VTKImageIO.

A posssible workaround for this issue would be storing the floating-point data as unsigned chars (like the VTK Legacy Image reader already does). However this would cause a loss of precision.

Aug 2 2016, 10:17 AM · Auto-closed, MITK, Bugzilla
sanchezb added a comment to T18496: Crash while loading *.vtk Images with ITK VTKImageIO.

This has nothing to do with any of the VTK image readers. Any mitk::Image containing RGB/RGBA pixels as float data (like the ones VTKImageIO generates) will make the VTK helper threads crash.

Aug 2 2016, 10:17 AM · Auto-closed, MITK, Bugzilla