Hello,
I'm trying to orient bfloat and bshort volumes in 3D Slicer, and to do that, need to calculate the corners of the volumes to calculate an RAS to IJK transform matrix. The .bhdr files that I have contain the top left, top right and bottom right corners, which I'm using as is with the assumption that they are on the first slice, and are in relation to an origin of (0,0,0). I also need a point on the last slice, so I'm using those corners to create vectors that will give me a cross product pointing to a corner on the last slice. I then scale that vector by slice_thick * nslices and add it to the top left corner point. It's almost but not quite right at this point, so I'd like to check my assumptions:
- are the top_left_?, top_right_?, bottom_right_? points on the first slice? - is the origin (0,0,0)? if not, how do I find it?
What do the .bhdr file entries normal_? and image_t? denote?
thanks, Nicole