[Insight-users] Different Result for Image Registration Method BSpline Wiki Example

Mike Chinander chinander at gmail.com
Fri Feb 17 15:34:36 EST 2012


OK, I think I figured out the source of the problem. If I force the number
of threads to be one (itk::MultiThreader::SetGlobalMaximumNumberOfThreads(
1 )), it seems to produce the correct result.

On Fri, Feb 17, 2012 at 12:54 PM, Mike Chinander <chinander at gmail.com>wrote:

> I'm trying the ImageRegistrationMethodBSpline Wiki example and my output
> is much worse than what's shown on the wiki.
>
> Here's a link to my result:
>
> https://picasaweb.google.com/lh/photo/KpwN4inPxljcSGlI5DR5-sXo0I4DwQ9Bav7a7f5Xhcw?feat=directlink
>
> And the better result on Wiki Example page:
>
> http://www.itk.org/Wiki/ITK/Examples/Registration/ImageRegistrationMethodBSpline
>
> It's only doing 2 iterations for me and I'm getting 'Optimizer stop
> condition = LBFGSOptimizer: Failure' which doesn't sound good.
> This is with ITK 4.0.0 and VS 2010 x64. Anyone have any ideas what exactly
> is going wrong and how to fix it?
>
> Thanks,
>
> --Mike Chinander
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120217/f5aa14c6/attachment.htm>


More information about the Insight-users mailing list