defautl pixel value for out of bounds during registration

Dear all,

I’m wondering if there is a way of forcing a default pixel value in the registration metric for out of bounds pixels. I don’t know if I’m clear. Basically I have images for which I know that out of bound value is 0, so how can I make that the metric take that into account…

Thanks for your help!


As far as I know, metrics don’t use out-of-bound values.
If these values matter for you, one way to do it is to pad your image with wanted value, thus increasing the extent of considered space.
Note that now that the v4 framework use an intermediate virtual domain to register, I don’t know how the registration behaves if you set a bigger domain than the fixed image one (as I usually set the virtual domain to be the one of the fixed image).



Ok Thanks Tim, I’ll investigate the padding !