[Insight-users] Why does LBFGSBOptimizer never invoke the metric components

Yogish Mallya mallyayogish at yahoo.co.in
Thu Feb 16 08:38:19 EST 2012


Hi Chester,
 
Look for 'this->f_->Compute'  in vnl_lbfgsb.cxx file. This code invokes metric value and gradient computation. 
 
Regards
Yogish  




________________________________
From: 黄成 <huangcheng1987928 at gmail.com>
To: insight-users <insight-users at itk.org> 
Sent: Thursday, 16 February 2012 1:33 PM
Subject: [Insight-users] Why does LBFGSBOptimizer never invoke the metric components


Hi ITK users, 

          There is a question which bothers me for a long time. Why does LBFGSBOptimizer never invoke the metric components? For an example, in a registration method, I set a metric component("itkMattesMutualInformationImageToImageMetric", for an example) and set the LBFGSBOptimizer as the optimizer. Then no matter where I insert the break point in the metric, once the registration process starts, it will never stop until the optimization process finishes. It looks like the optimizer process never invoke any method in the metric component. Shouldn't the optimizer should put the value of metric into consideration at each step?

-- 

黄成
Chester Huang 
中國科學院研究生院深圳先進技術研究院
Shenzhen Institutes of Advanced Technology,Chinese Academy of Sciences

Mobile:   13392858763
E-mail:   cheng.huang at siat.ac.cn

Address:Human-Computer Interaction Center ,No.1068,Xueyuan Road,Xili University Town,Nanshan District,Shenzhen City,518055
深圳市南山區西麗鎮深圳大學城學苑大道1068號人机交互中心(518055)

_____________________________________
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.html

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120216/23bc64f8/attachment-0001.htm>


More information about the Insight-users mailing list