[ITK Community] [Insight-users] "too many samples map outside..." - ImageRegistration5

Matt McCormick matt.mccormick at kitware.com
Tue Nov 5 01:55:19 EST 2013


Hi Tim,

This means the images are probably not overlapping at all.  If it
happens at the beginning, the transform parameter initialization is
suspect.  If it happens after many iterations, the optimizers settings
or the metric settings are suspect.

Hope this helps,
Matt


On Fri, Oct 25, 2013 at 2:38 PM, Tim Bhatnagar <tim.bhatnagar at gmail.com> wrote:
> Hello all,
>
> I've recently tried to apply ImageRegistration5 (example in ITK) to some 2D
> MRI vtk data, but I get the familiar
>
>  "MeanSquaresImageToImageMetric: Too many samples map outside the moving
> image buffer: 0/23940" error.
>
> I've seen this discussed previously, and I have tried to address the
> optimization scales, initial transform parameters, but I continue to get
> this error.
>
> Does the "0/23940" part of the error give any indication that something is
> wrong at a basic level?
>
> Thanks,
>
>
>
>
>
> --
> Tim Bhatnagar
> PhD Candidate
> Orthopaedic Injury Biomechanics Group
> Department of Mechanical Engineering
> University of British Columbia
>
> Rm 5000 - 818 West 10th Ave.
> Vancouver, BC
> Canada
> V5Z 1M9
>
> Ph: (604) 675-8845
> Fax: (604) 675-8820
> Web: oibg.mech.ubc.ca
>
> _____________________________________
> 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://www.itk.org/mailman/listinfo/insight-users
>
_____________________________________
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://www.itk.org/mailman/listinfo/insight-users



More information about the Community mailing list