[Insight-developers] Where should I add the regularization term for the cost function in metric?
Xiaoxiao Liu
xiaoxiao.liu at kitware.com
Mon Feb 20 12:01:55 EST 2012
Hi Cheng,
You could find an example of using Mattes MI metric using a
TranslationTransform in
Examples/Registraion/ImageRegistration4.cxx.
The diagram of image registration framework is in Figure 8.8 of the
software guide.
Depends on how you design the regularization term, you might want to create
a new transform or a new metric or a new interpolator.
itkMattesMutualInformationImageToImageMetric::GetValue() gives the value
of the cost function, which covers both the Similarity and the Smoothing
parts.
You can look into the code of itkImagreRegistrationMethod to fully
understand the relationship among metric , optimizer, transforms and
interpolators.
Hope this helps.
-Xiaoxiao
On Mon, Feb 20, 2012 at 7:20 AM, 黄成 <huangcheng1987928 at gmail.com> wrote:
> Hi itk developers,
>
> Recently I am trying to improve a registration problem base on
> "BSpline Transform" and "Matts Mutual Information Metric". And I want to
> add a new regularization term to the cost function. I think in the metric,
> there should be a "similarity" term and a "smoothing" term. If I can find
> the implementation code of these two term, I can just add my own
> regularization term behind. I notice that in the metric, there is a
> function "GetValue()". I'm wondering are both of the "similariy" and
> "smoothing" term calculated in this function? Which part of code is
> implementation for the "smoothing" term?
>
> --
> 黄成
> 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://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-developers
>
>
--
---------------------------------------------
*Xiaoxiao Liu*, Ph.D.
R & D Engineer
Kitware Inc <http://www.kitware.com/>.
Clifton Park, NY
Phone: (518) 881-4924 or (518) 371-3971 x124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20120220/9ea84889/attachment.htm>
More information about the Insight-developers
mailing list