SCI Seg3D Mailing List

Text archives Help

[Seg3D] Accessing NRRD data as multiresolution array

Chronological Thread 
  • From: Ramón Casero <>
  • To: <>
  • 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,


? 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,


Archive powered by MHonArc 2.6.16.

Top of page