Hi,

I want to Apply two filters on a binary volume (labelMap). The first one is 3D Gaussian filter to blur the boundry between inside and outside voxels , and the second one is the sobel filter at the voxel locations corresponding to the contour of the labelMap in order to calculate the gradiant . The resulting gradiants at the set of contour points are then normalized and negated to produce the normal associated with each point contour.

My question is how to transform the voxels of labelMap to 3D points? and how to extract the set of 3D points situated on the contour of the label Map in order to Apply the sobel filter and deduce the normals?

are there VTK filters to do this in c++?

Thank you in advance fro your help