- From: "tom (mobile)" <
>
- To:
,"TANYACHOWDHURY85 ." <
>
- Subject: Re: [IV3D-USERS] Imagevis3D voxel 3D Coordinates
- Date: Mon, 27 Jun 2016 20:41:05 -0700
Hi Tanya, welcome.
UVFDataset derives from something like "LinearIndexDataset" (or whatever, i'm probably misremembering the name slightly) which has the 1D -> 4D index translation functions that you require (4th dimension is LOD, you probably want 0 for it).
If you have a voxel V in brick B, the offset of that voxel in the original raw volume is a function of both B and V, and the size of the bricks. Basically orig.x = B.x * bricksize + V.x
HTH,
-tom
On June 27, 2016 10:40:15 AM PDT, "TANYACHOWDHURY85 ." <
> wrote:
Hii,
This is Tanya, a student from India. Lately I've been using Imagevis3D in a project involving automating transfer function design.
So far I've been able to get the index of a voxel in its brick using UVFDataset::GetBrick(). However I'm yet to figure out the relative positioning of the bricks.
I require the co-ordinates of the voxel in the volume when i feed a brick id and brick index. Please could you help me out?
Also I require a reverse mapping. (i.e Given a voxel(co-ordinates), I need its brick id and index).
Regards
--
Tanya
Archive powered by MHonArc 2.6.18.