Hello MITK team,
I am trying to access a value in a set of slices I imported via the
workbench. I already access the bounding box (BB) surrounding the 49
slices with a 256x256 pixels of size (file Pic3D.nrrd ).
This value is the position of a marching ray, and when it's inside the
BB, the pixel information at this position should be obtained (RGB and
alpha).
My questions are:
1) when a file is opened by the workbench does it only have the slices,
or is it possible to access the data in between slices as a 3D voxel or
interpolation?
2) right now in my plugin I am trying to use:
TPixel p = mitk::ImagePixelReadAccessor
<TPixel,3>::GetPixelByWorldCoordinates(position);
but I don't know what TPixel is...and there is no example... and I dont
know how to connect this method to my mitk::Image or mitk::Geometry3D.
3) is there a different and simpler way of obtaining this value?
I hope I'm not trying to re-invent the wheel.
Thank you!
Miguel
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users