ITK registration optimizer scaling, offset and step length

本文探讨了图像旋转参数与缩放参数之间的关系,并提供了一种基于图像边长比例的调整方法。对于100像素宽高为1mm/pixel的图像,其物理尺寸为100mm×100mm×100mm。通过计算图像边界框的对角线长度(约173.2mm),并考虑额外的10倍因子,得出缩放因子约为1.0/1732.0。该方法适用于图像的三维缩放,且建议在使用中心变换时忽略偏移量,直接提供旋转中心、旋转角度和位移参数。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

The recommendation for the scaling of translation parameters
versus rotation parameter is to use a factor proportional to
the diagonal length of the image.

For your case the, you have 100 pixels with 1 mm / pixel,
therefore the physical extent of your image is

        100mm  X  100mm  X 100mm

The diagonal the image bounding box is

          sqrt(3) * 100 mm

which is about

              173.2

and extra factor of 10X is usually useful, so you should
probably try a factor of


     1.0 / ( 10 x 173.2 )  =  1.0 / 1732.0

You could use this same factor for the three components
of the translation or you could estimate independent
factor for each component in the way it is done in the
VolView plugin.

Note that this factors are not expected to be computed
precisely. Their purpose is simply to bring the rotational
and translational parameters to a similar numerical scale.

By default, they are quite disproportionate since rotation
are in radians, therefore in a range about -1:1, while
translations are in millimeters, and for an image of 100mm
you probably can expect translations as large as 50mm.


The difference between Offset and Translation is relevant
only for the "Centered" transforms.  For example, for the
case of the CenteredAffineTransform the full transformation
is given by


           P' = R x ( P - C ) + ( C + T )

where

   C  is the Center of rotation
   P  is the point to be transformed
   P' is the transformed point
   T  is the translation.


This equation can be rewritten as

        P' =   R x P     +     [ C + T - R X C ]

and we call Offset the expression

      Offset = [ C + T - R X C ]

so the transformation is

       P'  =  R x P  + Offset

So, the relationship between Translation and offset is


      Offset =  [ I - R ] x C    +    T


In practice, if you are using Centered transform, you should
not care about the Offset. Instead make sure that you provide
appropriate values for the Center of Rotation and the Translation.
The Offset is computed from these two and the rotation matrix.



Note that the step length is also a critical value.
There is no magic recipe for selecting one. You probably
want to start experimenting with a small value (e.g. 0.01)
and plot the metric evaluations during the registration
process.  If you observe that the metric values are fairly
monotonic, that means that you can safely increment the
step length. Such an increment has the advantage of reducing
the time required to reach an extrema of the cost function
(the image metric in this case).   You could restart the
registration with larger values of the step length, as long
as you don't observe a noisy and/or erratic behavior on the
Metric values.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值