[vtk-developers] vtkImageData, C versus Fortran ordering

Marcus D. Hanwell marcus.hanwell at kitware.com
Wed Jul 26 15:51:39 EDT 2017


On Thu, Jul 20, 2017 at 11:49 PM, Andras Lasso <lasso at queensu.ca> wrote:
>
> > My approach with this kind of change has been to create a new subclass of vtkDataSet. If you add some meta-data to vtkImageData that is then ignored by all or most of algorithms, you will end up with confused users.
>
> We’ve been working on this for several years, as a background task. Adding support in VTK for reading, processing, and displaying arbitrarily oriented images would simplify many VTK-based medical image computing applications. Some information about this effort is available here:
>
> https://docs.google.com/document/d/e/2PACX-1vQiHT2IpeCtfpphJ9vFtq_dQ3dJHsayZTcvJZUMWM9lhJdItd1qQed0449pOpYIfE3Bqgd2uZaXN4iR/pub
>
> I know that it is a sensitive topic and a large number of files are involved (around 400 core classes + test/examples), but in many cases the changes are trivial (changing a few lines in a class to indicate that it can accept oriented image) and it is not necessary to update all classes at once, but gradually, as the need emerges.
>
> I would love to hear from anyone who would be interested in having orientation support, have any comments or suggestions, or might be willing to contribute.
>
Thanks for the link, there is certainly some overlap (although this
goes a little further) with what I was thinking of. I think it would
be good to investigate the feasibility of this approach, do you think
there are any major performance issues with supporting arbitrary
orientations?

Marcus


More information about the vtk-developers mailing list