I have mention this data stack I have before, but just had an epiphany and am looking for additional insight.
I wan to register a sparse stack of images to a 3d volume. fixed 3d volume.
I have a set of ordered 2d images that have been registered and re-sampled to each other, however in reality the images are separated by some distance and the distance between images is not uniform.
I found it easy to stack the images with non-uniform spacing by adding blank slices inbetween.
Can I mask the blank slices in the moving volume and let the rest of the registration pipeline do its thing?
I guess there are really a few phases that could be going on.
- fix each 2d image in a sparse stack and have a rigid transform to the 3D volume to get close ish to the correct feature in the 3d volume
- re-register each 2d image independently in the 3d volume ( which could be done as another rigid registration or could that also be broken up into stages, e.g. iteratively register with different degrees of freedom
- Translation in the 2d image plane (x and y and no z relative to the 2d image plane in 3d space.
- rotation about the 2d image center in 3d space
- translation in the z direction.
Is there a SimpleITK exmple of registering a 2d image (moving) of set thickness to a 3D volume (fixed)?