[ITK] [ITK-users] MattesMutualInformationImageToImageMetric: Joint PDF summed to zero
Bradley Lowekamp
blowekamp at mail.nih.gov
Wed Jul 2 17:50:37 EDT 2014
Hello,
This is likely caused by the images no longer overlapping sufficiently.
You didn't indicate how you modified the example. So it's difficult to specifically help.
Check your transform, parameter, scales, and initalRadius for the optimizer or similar optimizer parameter.
Brad
On Jul 2, 2014, at 5:43 PM, Gabriel A. Giménez <gabrielgimenez85 at gmail.com> wrote:
> Hi everyone, first of all, sorry for my bad English.
>
> I modified the ImageRegistration8 example for use the
> itkOnePlusOneEvolutionaryOptimize and
> itkMattesMutualInformationImageToImageMetric like in the ImageRegistration11
> example.
> Can help me with this error ?
>
> Thanks.
>
> 1 -0.536085 [0, 0, 0, 2.4210718274608496, -15.626697762130291,
> 0.24074437575656304]
> 2 -0.536085 [0, 0, 0, 2.4210718274608496, -15.626697762130291,
> 0.24074437575656304]
> 3 -0.536085 [0, 0, 0, 2.4210718274608496, -15.626697762130291,
> 0.24074437575656304]
> ExceptionObject caught !
>
> itk::ExceptionObject (0xa23c098)
> Location: "itk::MattesMutualInformationImageToImageMetric<TFixedImage,
> TMovingImage>::MeasureType
> itk::MattesMutualInformationImageToImageMetric<TFixedImage,
> TMovingImage>::GetValue(itk::MattesMutualInformationImageToImageMetric<TFixedImage,
> TMovingImage>::ParametersType&) const [with TFixedImage = itk::Image<float,
> 3u>, TMovingImage = itk::Image<float, 3u>,
> itk::MattesMutualInformationImageToImageMetric<TFixedImage,
> TMovingImage>::MeasureType = double,
> itk::MattesMutualInformationImageToImageMetric<TFixedImage,
> TMovingImage>::ParametersType = itk::OptimizerParameters<double>]"
> File:
> /media/datos/FP-UNA/tesis/implementacion/qtCreator/InsightToolkit-4.5.1/Modules/Registration/Common/include/itkMattesMutualInformationImageToImageMetric.hxx
> Line: 546
> Description: itk::ERROR:
> MattesMutualInformationImageToImageMetric(0xa22f070): Joint PDF summed to
> zero
> Image (0xa23bc10)
> RTTI typeinfo: itk::Image<double, 2u>
> Reference Count: 2
> Modified Time: 437
> Debug: Off
> Object Name:
> Observers:
> none
> Source: (none)
> Source output name: (none)
> Release Data: Off
> Data Released: False
> Global Release Data: Off
> PipelineMTime: 0
> UpdateMTime: 0
> RealTimeStamp: 0 seconds
> LargestPossibleRegion:
> Dimension: 2
> Index: [0, 0]
> Size: [20, 20]
> BufferedRegion:
> Dimension: 2
> Index: [0, 0]
> Size: [20, 20]
> RequestedRegion:
> Dimension: 2
> Index: [0, 0]
> Size: [20, 20]
> Spacing: [15.9375, 15.625]
> Origin: [0, 0]
> Direction:
> 1 0
> 0 1
>
> IndexToPointMatrix:
> 15.9375 0
> 0 15.625
>
> PointToIndexMatrix:
> 0.0627451 0
> 0 0.064
>
> Inverse Direction:
> 1 0
> 0 1
>
> PixelContainer:
> ImportImageContainer (0xa23bd58)
> RTTI typeinfo: itk::ImportImageContainer<unsigned long, double>
> Reference Count: 1
> Modified Time: 438
> Debug: Off
> Object Name:
> Observers:
> none
> Pointer: 0xa4b4880
> Container manages memory: true
> Size: 400
> Capacity: 400
>
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/MattesMutualInformationImageToImageMetric-Joint-PDF-summed-to-zero-tp7585842.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> 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
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
_____________________________________
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