[Insight-users] Necessary overlapping when computing metric in registration

Karthik Krishnan karthik.krishnan at kitware.com
Fri Jul 31 09:03:10 EDT 2009


Depends on the metric. Please look at the code of the metric in question.

For MeanSq its at least 1 sample, as you suspect.
  Line 110: itkMeanSquaresImageToImageMetric.txx
     if( !this->m_NumberOfPixelsCounted )

itkMattesMutualnformationImageToImageMetric imposes a 25% overlap threshold.
  Line 1109 :   if( nSamples < m_NumberOfSpatialSamples / 4 )

Your threshold overlap is metric dependent. Overall a low overlap -> low
confidence in metric.

For MI, overlap is quite important, since with MI can increase as overlap
reduces, making the optimizer unstable, and driving the registration towards
the 0 overlap point.



-- 
Karthik Krishnan
R&D Engineer,
Kitware Inc.

On Fri, Jul 31, 2009 at 7:42 AM, Gomez Herrero, Alberto <
alberto.gomez-herrero at philips.com> wrote:

>  Hi,
>
>
>
> In the frame of a registration process, I am exploring a metric to get the
> values for each displacement, something similar to what is done in the
> example MeanSquaresImageMetric1.cxx.
>
> My question is the following:
>
>
>
> To compute the metric for a given displacement, the two images have to
> overlap at least partially. What is the minimum overlap? One may think that
> any overlap > 0 should work, but my tests make my think that actually at
> least one full pixel of the moving image must be fully overlapping the fixed
> image, otherwise throws exception. Can anyone confirm this please?
>
>
>
> Thanks,
>
>
>
> Alberto
>
> ------------------------------
> The information contained in this message may be confidential and legally
> protected under applicable law. The message is intended solely for the
> addressee(s). If you are not the intended recipient, you are hereby notified
> that any use, forwarding, dissemination, or reproduction of this message is
> strictly prohibited and may be unlawful. If you are not the intended
> recipient, please contact the sender by return e-mail and destroy all copies
> of the original message.
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.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/20090731/07f161d9/attachment-0001.htm>


More information about the Insight-users mailing list