ct_cmap
AffineTransform(
function_domain=CoordinateSystem(coord_names=('i', 'j', 'k'), name='voxels', coord_dtype=float64),
function_range=CoordinateSystem(coord_names=('scanner-x=L->R', 'scanner-y=P->A', 'scanner-z=I->S'), name='scanner', coord_dtype=float64),
affine=array([[-4.60937500e-01, 0.00000000e+00, -0.00000000e+00,
1.17769531e+02],
[-0.00000000e+00, 4.60937500e-01, -0.00000000e+00,
4.12304688e+01],
[ 0.00000000e+00, 0.00000000e+00, 1.00000000e+00,
1.10669995e+03],
[ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
1.00000000e+00]])
)
>>> mr_cmap
AffineTransform(
function_domain=CoordinateSystem(coord_names=('i', 'j', 'k'), name='voxels', coord_dtype=float64),
function_range=CoordinateSystem(coord_names=('scanner-x=L->R', 'scanner-y=P->A', 'scanner-z=I->S'), name='scanner', coord_dtype=float64),
affine=array([[ -1. , 0. , 0. , 126.39163971],
[ 0. , 0. , 1. , -94.04666138],
[ 0. , -1. , 0. , 143.81729126],
[ 0. , 0. , 0. , 1. ]])
)
Hi,
I was trying to coregister CT to MRI using the following command:
The affine matrix was almost identity matrix, and coregistered CT had nothing in it . Did I miss anything? (Like do I need to manually remove the metals in the CT?)
The CT and MR IJK to RAS transforms are as follows: (click to expand)