[vtkusers] How get binaray data from vtkimagedata

Francois Louis LAILLIER flaillier at eldim.fr
Mon Apr 23 10:13:51 EDT 2007


Hello everyBody,

 

I want to extract an array of my data, a reslice imagedata.

 

I do that : (Visual Basic Code)

 

Imagedata is a vtkImageData

 

 Set Imagedata = planeWidgetX.GetResliceOutput

 

Dim matrix As New vtkDataArray

imagedata.Update

Set matrix= imagedata.GetPointData.GetScalars

 

How can access the voxels values in my matrix?

 

Is it possible to put this value in an NON- VTK OBJECT like a list or
array....

 

Best regards, Francois Louis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070423/89305453/attachment.htm>


More information about the vtkusers mailing list