<div dir="ltr">Hi. I&#39;m just starting out in VTK. I&#39;ve written a python script that converts 3D scalar data to .VTK/.VTI files. But it&#39;s rather slow due to having to loop over every voxel, which I am trying to eliminate.<br>
<br>I&#39;ve implemented the script using NumPY arrays such that I can quickly reorder the X,Y,Z data into any array structure as needed. This data needs to be fed into a vtkImageData. Is there a fast way to create a VTK data array from my data? <br>
<br>Regards,<br><br>Paul<br><br></div>