[ITK] [ITK-users] [itk] Unhandled exception when using Mean Squares and Powell Optimizer

Dženan Zukić dzenanz at gmail.com
Sat Apr 29 15:46:06 EDT 2017


Hi Andrew,

if this is happening on the first iteration, your initial parameters do not
overlap your images well. If this is happening in some later iteration, the
other optimizer might be veering of course during optimization, pushing
your images apart and ultimately causing the error. From experience, the
initial parameters are almost always to blame.

Regards,
Dženan

On Sat, Apr 29, 2017 at 2:15 PM, Andrew Harris <aharr8 at uwo.ca> wrote:

> Hello,
> I'm getting an exception saying too many samples are outside the moving
> image buffer when I use the MeanSquaresImageToImageMetric with the
> PowellOptimizer that doesn't occur when I use
> NormalizedCorrelationImageToImageMetric or MattesMutualInformationImageToImageMetric.
> I thought it might be because the optimizer is seeking to maximize the
> metric so I tried calling MaximizeOff on it but got the same exception.
> Any ideas would be appreciated.
>
> --
>
> AH
>
>
> ------------------------------------------------------------
> -----------------------------------
>
> *This email and any attachments thereto may contain private,
> confidential, and privileged materials for the sole use of the intended
> recipient. Any reviewing, copying, or distribution of this email (or any
> attachments thereto) by other than the intended recipient is strictly
> prohibited. If you are not the intended recipient, please contact the
> sender immediately and permanently destroy this email and any attachments
> thereto.*
>
> _____________________________________
> 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.php
>
> 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://public.kitware.com/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170429/edf8989a/attachment-0001.html>
-------------- next part --------------
_____________________________________
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.php

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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list