Text archives Help
- From: Ramón Casero <ramon.casero@comlab.ox.ac.uk>
- To: <seg3d@sci.utah.edu>
- Subject: [Seg3D] Accessing NRRD data as multiresolution array
- Date: Mon, 26 Oct 2009 00:09:34 +0000
- Importance: normal
Hi all,
Looking at the teem library documentation and some Seg3D code, it seems that
data contained in an Nrrd object is access as a contiguous array, e.g.
(unsigned char*)data
Is there any "good" way to access the data with a multidimensional array,
data[ix][iy][iz]
? Basically, having the coordinates of a point, I would like to set to true
the voxel that contains it.
I have seen there's an nrrdWrap function, but I think it's just to put a
contiguous array into an Nrrd object.
Best regards,
Ramon.
- [Seg3D] Accessing NRRD data as multiresolution array, Ramón Casero, 10/25/2009
Archive powered by MHonArc 2.6.16.