[Insight-users] Using masks in registration.

Landen, R. van der (LKEB) R.van_der_Landen at lumc.nl
Tue Oct 18 03:51:16 EDT 2005


Dear list, 

I have a question on the use of masks in registration; I hope someone can help me.
To define a custom region I use Metric->SetFixedImageMask(), as in ImageRegistration12.cxx. 
This seems to work fine; the IsInside() in the metric gives points in the masked region.
However, there is one thing I do not understand: I get _very_ different results when setting the
Registration->SetFixedImageRegion() to the entire image or when using, for example, the bounding
box around the mask; even when numberofspatialsamples set to the total number of pixels of the masked
area. I would expect that using a larger region would be (possibly much) slower, but not different, from using
a smaller region, since in both cases numberofspatialsamples points are taken inside the masked region.
So, I was wondering whether my assumptions were wrong (and, in that case, why?)? If not, than at least I know
that there is a coding error somewhere that results in the observed behaviour..

I hope you can help.

Regards,


Ro.






 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20051018/c17617a1/attachment.htm


More information about the Insight-users mailing list