|
#define | LOOP_THRU_ROI_X(roi_ijk, vol_ijk, bxf) for (roi_ijk[0] = 0, vol_ijk[0] = bxf->roi_offset[0]; roi_ijk[0] < bxf->roi_dim[0]; roi_ijk[0]++, vol_ijk[0]++) |
|
#define | LOOP_THRU_ROI_Y(roi_ijk, vol_ijk, bxf) for (roi_ijk[1] = 0, vol_ijk[1] = bxf->roi_offset[1]; roi_ijk[1] < bxf->roi_dim[1]; roi_ijk[1]++, vol_ijk[1]++) |
|
#define | LOOP_THRU_ROI_Z(roi_ijk, vol_ijk, bxf) for (roi_ijk[2] = 0, vol_ijk[2] = bxf->roi_offset[2]; roi_ijk[2] < bxf->roi_dim[2]; roi_ijk[2]++, vol_ijk[2]++) |
|
#define | REGION_INDEX_X(ijk, bxf) (ijk[0] / bxf->vox_per_rgn[0]) |
|
#define | REGION_INDEX_Y(ijk, bxf) (ijk[1] / bxf->vox_per_rgn[1]) |
|
#define | REGION_INDEX_Z(ijk, bxf) (ijk[2] / bxf->vox_per_rgn[2]) |
|
#define | REGION_OFFSET_X(ijk, bxf) (ijk[0] % bxf->vox_per_rgn[0]) |
|
#define | REGION_OFFSET_Y(ijk, bxf) (ijk[1] % bxf->vox_per_rgn[1]) |
|
#define | REGION_OFFSET_Z(ijk, bxf) (ijk[2] % bxf->vox_per_rgn[2]) |
|
#define | GET_WORLD_COORD_X_NO_DCOS(ijk_vol, bxf) (bxf->img_origin[0] + bxf->img_spacing[0] * ijk_vol[0]) |
|
#define | GET_WORLD_COORD_Y_NO_DCOS(ijk_vol, bxf) (bxf->img_origin[1] + bxf->img_spacing[1] * ijk_vol[1]) |
|
#define | GET_WORLD_COORD_Z_NO_DCOS(ijk_vol, bxf) (bxf->img_origin[2] + bxf->img_spacing[2] * ijk_vol[2]) |
|
#define | GET_WORLD_COORD_X(ijk_vol, vol, bxf) |
|
#define | GET_WORLD_COORD_Y(ijk_vol, vol, bxf) |
|
#define | GET_WORLD_COORD_Z(ijk_vol, vol, bxf) |
|
#define | LOOP_THRU_VOL_TILES(idx_tile, bxf) for (idx_tile = 0; idx_tile < (bxf->rdims[0] * bxf->rdims[1] * bxf->rdims[2]); idx_tile++) |
|
#define | LOOP_THRU_TILE_X(ijk_local, bxf) for (ijk_local[0]=0; ijk_local[0] < bxf->vox_per_rgn[0]; ijk_local[0]++) |
|
#define | LOOP_THRU_TILE_Y(ijk_local, bxf) for (ijk_local[1]=0; ijk_local[1] < bxf->vox_per_rgn[1]; ijk_local[1]++) |
|
#define | LOOP_THRU_TILE_Z(ijk_local, bxf) for (ijk_local[2]=0; ijk_local[2] < bxf->vox_per_rgn[2]; ijk_local[2]++) |
|
#define | GET_VOL_COORDS(ijk_vol, ijk_tile, ijk_local, bxf) |
|
#define | GET_REAL_SPACE_COORDS(xyz_vol, ijk_vol, bxf) |
|
#define | GET_VOXEL_INDICES(xyz_vol, ijk_vol, bxf) |
|
|
static void | get_region_index_3 (int p[3], const int ijk[3], const Bspline_xform *bxf) |
|
static void | get_region_index_3 (int p[3], int i, int j, int k, const Bspline_xform *bxf) |
|
static plm_long | get_region_index (const plm_long ijk[3], const Bspline_xform *bxf) |
|
static plm_long | get_region_index (plm_long i, plm_long j, plm_long k, const Bspline_xform *bxf) |
|
static void | get_region_offset (int q[3], const int ijk[3], const Bspline_xform *bxf) |
|
static void | get_region_offset (int q[3], int i, int j, int k, const Bspline_xform *bxf) |
|
static plm_long | get_region_offset (const plm_long ijk[3], const Bspline_xform *bxf) |
|
static plm_long | get_region_offset (plm_long i, plm_long j, plm_long k, const Bspline_xform *bxf) |
|