Page MenuHomePhabricator

ImageVtkMapper2D: outline binary property only works on 8 bit images
Closed, DuplicatePublic

Description

When the outline binary property is set, the mapper only asks if the pixeltype is 8 bit, so for binary images with a different pixel type the contour rendering is not possible.

This can be fixed by checking if the image is actually marked as a binary image in the properties.

Event Timeline

CreateOutlinePolydata then has to use imageAccessors instead of byte pointers to iterate the image.