[Insight-users] Problems with Bspline grid and mask
Luis Ibanez
luis.ibanez at kitware.com
Thu Jun 17 10:33:41 EDT 2010
Hi Sere,
How are you defining the mask ?
I would suggest that you use the SpatialObjectToImageMask
in order to imprint the mask in the Fixed image and see where
it is mapping.
It is quite likely that your Mask is not covering the pixels
that you think is covering.
For examples on how to use this filter, please look at;
Insight/Examples/Filtering/
SpatialObjectToImage1.cxx
SpatialObjectToImage2.cxx
SpatialObjectToImage3.cxx
Regards,
Luis
-------------------------------------------------------------------------------
On Thu, Jun 17, 2010 at 7:58 AM, sere f <serenaf33 at gmail.com> wrote:
> Hi All,
>
> I am registering with 2 images of the head with BSpline Transformation and
> Mattes MI.
>
> I use the mask to exclude the background so the samples for MI are taken
> only from the head, but the BSpline grid is defined on all image.
> The registered image is not correctly deformed. In particular it appears flattened
> on the top of the image.
> I have played with the parameters of optimizer but i have the same result.
> When I register without the mask the registered image is good.
> Where is the error?
> any idea?
>
> Thank you for any suggestion.
>
> Serena.
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100617/41e3c0ac/attachment.htm>
More information about the Insight-users
mailing list