Hello,
I have been trying to implement a SimpleITK registration framework to register a reference image that has no change with a deformed image (warped image).
I split the reference image up into subregions and try to register each reference subregion to the deformed image.
So far, I have implemented a Translation only registration, but would like to extend this to use Affine Transforms.
For whatever reason though, when I switch to Affine Transformations, my results are extremely wrong and make no sense.
Would someone be able to help me with moving forward with extending to Affine Registration?
Any help is much appreciated.
Thank you so much
The attached files include one singular subregion that I am trying to register, but I would ultimately like to do this for every subregion of the reference image.
Reference Image: entire reference image
Deformed Image: entire deformed image
Fixed Image: Search Region of the deformed image
Moving Image: Subregion of the reference image
Subset00.tif corresponds to area00.tif, …, etc.
DeformedImg.tif (345.5 KB)
ReferenceImg.tif (256.2 KB)
subset00_ref.tif (3.1 KB)
subset01_ref.tif (3.0 KB)
area00.tif (43.6 KB)
area01.tif (50.2 KB)
Code:
code.cpp.txt (2.7 KB)
Initial Vals:
initGuess.txt (860 Bytes)