[Insight-users] itk::NormalizedCorrelationImageToImageMetric

Miller, James V (GE, Research) millerjv at crd.ge.com
Tue May 9 13:38:10 EDT 2006


Kathy,

The resample filter transforms one image into the coordinate frame of another image. The
output should be "pixel aligned" with the first image (if the registration succeeded).

You can put an AbsoluteValueDifferenceImageFilter after the resample to merge the two
images together.

Jim

-----Original Message-----
From: insight-users-bounces+millerjv=crd.ge.com at itk.org
[mailto:insight-users-bounces+millerjv=crd.ge.com at itk.org]On Behalf Of
smythek at u.washington.edu
Sent: Monday, May 08, 2006 6:25 PM
To: Jim Miller
Cc: insight-users at itk.org
Subject: Re: [Insight-users]
itk::NormalizedCorrelationImageToImageMetric


Hi Jim,

I tried the registration example with the NormalizedCorrelationImageToImageMetric instead of the MeanSquareImageToImageMetric, and it gave me an optimal transform after one iteration.  This could be correct, but the resample filter only writes out the second image.  I want it to write out both to the same file so I can see the new (aligned) image. I don't understand why the resample filter doesn't write out both images.  How do i get it to do so?

Thank you,

Kathy


On Sun, 7 May 2006, Jim Miller wrote:

> The NormalizedCorrelationImageToImageMetric is just a metric.  You provide
> it with two images and a transform.  The registration framework can be used
> to adjust the parameters of the transformation to identify the optimal
> transformation to align the images.  In this context, the transformation
> relates the physical space (mm, ft, etc.) of the two images not their
> indices.
>
> You have a choice of transformations: rigid, affine, deformable to define
> the relationship between the two image coordinate frames.  You also have a
> choice of optimization methods: gradient descent, lbfgs, amoeba, etc.
>
> You also have the freedom to employ the metric yourself by providing a
> series of transformations.  For instance, you could uniformly sample a set
> of translations to identify which translation gives the best normalized
> correlation value.
>
> Jim
>
> On 5/6/06, k s <smythek at u.washington.edu> wrote:
>> 
>> Hi ITK,
>> 
>> I am a new ITK user and I wanted to stitch together a couple hundred of
>> tiff images using correlation.  My question is: does this normalized
>> correlation filter return the indexes of the best correlation between two
>> images in addition to the value?
>> 
>> Thanks,
>> 
>> Kathy
>> 
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
>> 
>> 
>> 
>


_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list