[vtkusers] How I plot pixel value from each vtkimagedata std::vector<vtkImageData*> imagehisto;

ahmad_koujan at yahoo.de ahmad_koujan at yahoo.de
Mon May 23 16:37:32 EDT 2016


 Hi,

please help me!
In my code MRI is read and stored in recordings vtkimagedata .
I tried to save the individual vtkimagedata in a vector .
std :: vector < vtkImageData * > imagehisto

The Save is written with push_back in the vector :

imagehisto.push_back ( image data);
This also then all stored vtkimagedata .

Now I want a read of each vtkimagedata particular pixel from . I have the position of a vtkprobpicker . Only I just get the last vtkimagedata the pixel value .

Thank you very much
Ahmad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160523/ed8f5c6a/attachment.html>


More information about the vtkusers mailing list