<div dir="ltr">Hello all,<br><br>I want to be able to write vtkImageStencilData to text files in a CSV format in order to be analyzed in some other software. <br><br>I could not find a way to iterate through vtkImageStencilData similar to vtkImageData. <br>
<br>One idea is to convert the vtkImageStencilData to vtkImageData and then use vtkImageIterator. However, I do not know how to perform this conversion.<br><br>Has anyone tried this before? How? <br><br>Thanks,<br>Prathamesh<br>
</div>