[ITK] [ITK-users] MutualInformationAffine example broken

Yanling Liu vrnova at gmail.com
Wed Jun 1 08:27:31 EDT 2016


Hello,

I downloaded the MutualInformationAffine example from
https://itk.org/Wiki/ITK/Examples/Registration/MutualInformationAffine,
compiled it using ITK 4.9.1 and it reported follow error message:

ExceptionObject caught !

itk::ExceptionObject (0x2030010)
Location: "void itk::MutualInformationImageToImageMetric<TFixedImage,
TMovingImage>::SampleFixedImageDomain(itk::MutualInformationImageToImageMetric<TFixedImage,
TMovingImage>::SpatialSampleContainer&) const [with TFixedImage =
itk::Image<float, 2u>; TMovingImage = itk::Image<float, 2u>;
itk::MutualInformationImageToImageMetric<TFixedImage,
TMovingImage>::SpatialSampleContainer =
std::vector<itk::MutualInformationImageToImageMetric<itk::Image<float, 2u>,
itk::Image<float, 2u> >::SpatialSample,
std::allocator<itk::MutualInformationImageToImageMetric<itk::Image<float,
2u>, itk::Image<float, 2u> >::SpatialSample> >]"
File:
/home/yliu/Imaging/Libraries/ITK/InsightToolkit-4.9.1/install/include/ITK-4.9/itkMutualInformationImageToImageMetric.hxx
Line: 196
Description: itk::ERROR: MutualInformationImageToImageMetric(0x202fd10):
All the sampled point mapped to outside of the moving image

Anyone may help to fix this example? I did not change the source code of
the example at all.

Thanks,

Yanling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160601/fdfe58c7/attachment.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