Dear Hans,
Hi all,
I can across the following info: https://github.com/SuperElastix/SimpleElastix/issues/83. Which could be the reason why my registration is not working.
However, before I implement a pre-registration in the form of a pointcloud, I was wondering if there is a method of initialization that could help. For example by looking at the centroid of the 1's in the binary images?
From what I can find these are the initialization options: "Three methods to do so are supported: the default method which aligns the centres of the fixed and moving image, a method that aligns the centres of gravity, and a method that simply aligns the image origins"Fixing the centres or origins will not work in my case, as this probably does not generate any overlap. What is meant by centres of gravity in this case? Of all HU's in the images or of the masks?
Regards,
Hans
On Thursday, November 19, 2020 at 5:47:08 PM UTC+1 hans.d...@gmail.com wrote:
Hi all,
Thanks in advance for any responses!
I would like to register two binary images and the use the outcome as a pre-rotation of the actual images. I have this working for the larger structures in the image, however it does not for a smaller structure. This returns zeros for every iteration...
I've tried adding a fixed and moving mask (a dilated version of itself), as I presumed that the sampler was just not finding any of the 1's in the binary images. Unfortunately that was not succesful.
Attached you'll find my parameterfile. Does anyone know how to fix this?
Kind regards,
Hans Dunning