Skip to content

ImageMap: Fix an issue with indexing a multi-component image

Sankhesh Jhaveri requested to merge sankhesh/vtk:window_level_components into master

Indexing into a multi-component image, the pointer was walking an additional step using the scalar size. Since, the pointer is templated over the underlying type, indexing directly into the active component yields the right result.

Merge request reports