[ITK-users] Multiresolution Registration error while trying to improve a journal paper

vishal itkhelpacc at gmail.com
Tue Feb 9 02:28:31 EST 2016


hi,
I made some changes to the code i attached previously no i getting this
error:

Starting the registration now...
Exception in the Metric )intialize caught!!
itk::ERROR: NormalizedCorrelationImageToImageMetric(0000000002832510):
Transform
 is not present
-------------------------------------
MultiResolution Level : 0

ExceptionObject caught !

itk::ExceptionObject (000000000027E8A0)
Location: "void __cdecl itk::NormalizedCorrelationImageToImageMetric<class
itk::
Image<float,3>,class itk::Image<float,3> >::GetValueAndDerivative(const
class it
k::OptimizerParameters<double> &,double &,class itk::Array<double> &) const"
File:
c:\itk\insighttoolkit-4.8.2\modules\registration\common\include\itkNormali
zedCorrelationImageToImageMetric.hxx
Line: 332
Description: itk::ERROR:
NormalizedCorrelationImageToImageMetric(000000000283251
0): The gradient image is null, maybe you forgot to call Initialize()

Please find the modified code along with this post... please help me out
with this problem!!
regards
Vishal

code:  RegularStepGradientDescentWithNGC.cxx
<http://itk-users.7.n7.nabble.com/file/n36758/RegularStepGradientDescentWithNGC.cxx>  



--
View this message in context: http://itk-users.7.n7.nabble.com/Multiresolution-Registration-error-while-trying-to-improve-a-journal-paper-tp36739p36758.html
Sent from the ITK - Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list